Universal Script πŸ“Œ
937 Views
5.8k Executions

Player viewer

Universal Script πŸ“Œ
6 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Open source player viewer. Have rainbow outline. Can view players by just hitting arrows.

View Raw
-- [[ ONIX PLAYER VIEWER ]] --
local Players = game:GetService("Players")
local lp = Players.LocalPlayer
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Camera = workspace.CurrentCamera

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "OnixPlayerViewer"
ScreenGui.Parent = game.CoreGui
ScreenGui.ResetOnSpawn = false

-- [[ DRAGGING LOGIC ]] --
local function makeDraggable(frame)
    local dragging, dragInput, dragStart, startPos
    frame.InputBegan:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
            dragging = true
            dragStart = input.Position
            startPos = frame.Position
            input.Changed:Connect(function()
                if input.UserInputState == Enum.UserInputState.End then dragging = false end
            end)
        end
    end)
    frame.InputChanged:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
            dragInput = input
        end
    end)
    UserInputService.InputChanged:Connect(function(input)
        if input == dragInput and dragging then
            local delta = input.Position - dragStart
            frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
        end
    end)
end

-- [[ MAIN UI ]] --
local Main = Instance.new("Frame")


Comments

9
Log in to join the conversation. Login
OnixChloro's profile picture
OnixChloroUploader6 months ago

Updated the gui bro in the player image players are facing backwards

1
OnixChloro's profile picture
OnixChloroUploader6 months ago

Use it and give me your thoughts

1
OnixChloro's profile picture
OnixChloroUploader6 months ago

I'm trying to upload a script and script blox is telling me to cool down script blox needs to fix this feature

1

[deleted]

Replying to a deleted comment
OnixChloro's profile picture
OnixChloroUploader6 months ago

@9871 my next script is a coolgui styled scripts collection

1

[deleted]

Replying to a deleted comment

[deleted]

Replying to a deleted comment
OnixChloro's profile picture
OnixChloroUploader6 months ago

@9871 thanks I woke up. This is an all in one gui with coolgui style. I just found some good scripts but I forgot to give credits

1
Replying to a deleted comment
OnixChloro's profile picture
OnixChloroUploader6 months ago

@9871 I'm gonna add novoline and chat byp*er soon

1

[deleted]

Replying to a deleted comment
OnixChloro's profile picture
OnixChloroUploader6 months ago

@9871 oh thanks for that I'm gonna update itβ™₯️

1
Replying to a deleted comment
OnixChloro's profile picture
OnixChloroUploader6 months ago

@9871 I'm gonna do some slight update using your script.

1

[deleted]

Replying to a deleted comment
OnixChloro's profile picture
OnixChloroUploader6 months ago

@9871 lol I just remembered some old mod menus and did this gui lol.

1

More universal scripts

See all
Universal Script πŸ“Œ
4.1k
2.5k
Bumped 23 minutes ago
Universal Script πŸ“Œ
32
0
Approved 26 minutes ago
Universal Script πŸ“Œ
25
0
Approved 33 minutes ago
Script hub
51
5
Approved 34 minutes ago
Script hub
2.2M
714.6k
Bumped 43 minutes ago
Key System

Script hub

#5 today

Verified script badgeLumin Hub | #1 | Insta Steal

Universal Script πŸ“Œ
35
2
Approved 46 minutes ago