
937 Views
5.8k Executions
Does it work?
No reports yetNo 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.
-- [[ 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")








Updated the gui bro in the player image players are facing backwards
Use it and give me your thoughts
I'm trying to upload a script and script blox is telling me to cool down script blox needs to fix this feature
[deleted]
@9871 my next script is a coolgui styled scripts collection
[deleted]
[deleted]
@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
@9871 I'm gonna add novoline and chat byp*er soon
[deleted]
@9871 oh thanks for that I'm gonna update itβ₯οΈ
@9871 I'm gonna do some slight update using your script.
[deleted]
@9871 lol I just remembered some old mod menus and did this gui lol.