Run it
Copy the script and paste it into your executor.
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = .()
screenGui.Name =
screenGui.IgnoreGuiInset =
screenGui.Parent = playerGui
textLabel = .()
textLabel.Size = .(, , , )
textLabel.AnchorPoint = .(, )
textLabel.Position = .(, , , )
textLabel.BackgroundTransparency =
textLabel.TextColor3 = .(, , )
textLabel.TextSize =
textLabel.Font = .Font.SourceSansBold
textLabel.TextXAlignment = .TextXAlignment.Center
textLabel.TextYAlignment = .TextYAlignment.Center
textLabel.Active =
textLabel.Parent = screenGui
dragging =
dragInput
dragStart
startPos
textLabel.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = textLabel.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
textLabel.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
delta = input.Position - dragStart
textLabel.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
)
updateInterval =
elapsedTime =
frameCount =
numDP =
RunService.RenderStepped:((deltaTime)
elapsedTime += deltaTime
frameCount +=
elapsedTime >= updateInterval
fps = frameCount / elapsedTime
ping = .(player:() * )
textLabel.Text = .( .. numDP .. , fps, ping)
elapsedTime =
frameCount =
)
Universal