Universal Script πŸ“Œ
947 Views
8.5k Executions

Player viewer

Universal Script πŸ“Œ
7 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
OnixChloroUploader7 months ago

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

1
OnixChloro's profile picture
OnixChloroUploader7 months ago

Use it and give me your thoughts

1
OnixChloro's profile picture
OnixChloroUploader7 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
OnixChloroUploader7 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
OnixChloroUploader7 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
OnixChloroUploader7 months ago

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

1

[deleted]

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

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

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

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

1

[deleted]

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

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

1

More universal scripts

See all
Script hub
3.0M
18.5M
Bumped 5 hours ago

Script hub

Hall of Fame #1

KeylessVerified script badgeYARHM Hub KEYLESS 2026

Script hub
119.5k
194.0k
Bumped 10 hours ago
Key System
Script hub
180.9k
1.8M
Bumped 10 hours ago
Key System
Universal Script πŸ“Œ
1.2k
2.6k
Bumped 11 hours ago
Script hub
60.2k
244.4k
Bumped 11 hours ago
Key System