Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- 3 time was edited :)
- -- Instances:
- local FPSPingTopBar = Instance.new("ScreenGui")
- local TopbarContainer = Instance.new("Frame")
- local FPSAndPing = Instance.new("Frame")
- local FPS = Instance.new("ImageButton")
- local UICorner = Instance.new("UICorner")
- local TextLabel = Instance.new("TextLabel")
- --Properties:
- FPSPingTopBar.Name = "FPS/Ping TopBar"
- FPSPingTopBar.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- FPSPingTopBar.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- FPSPingTopBar.ResetOnSpawn = false
- TopbarContainer.Name = "TopbarContainer"
- TopbarContainer.Parent = FPSPingTopBar
- TopbarContainer.BackgroundTransparency = 1.000
- TopbarContainer.Size = UDim2.new(1, 0, 0, 36)
- FPSAndPing.Name = "FPS And Ping"
- FPSAndPing.Parent = TopbarContainer
- FPSAndPing.BackgroundTransparency = 1.000
- FPSAndPing.Position = UDim2.new(0, 104, 0, 4)
- FPSAndPing.Size = UDim2.new(0, 80, 0, 32)
- FPS.Name = "FPS"
- FPS.Parent = FPSAndPing
- FPS.Active = false
- FPS.BackgroundTransparency = 1.000
- FPS.BorderSizePixel = 0
- FPS.Position = UDim2.new(0.100000001, 0, -0.03125, 0)
- FPS.Size = UDim2.new(1.08749998, 0, 1, 0)
- FPS.ZIndex = 2
- FPS.Image = "http://www.roblox.com/asset/?id=5540166883"
- FPS.ImageColor3 = Color3.fromRGB(0, 0, 0)
- FPS.ImageTransparency = 0.500
- FPS.ScaleType = Enum.ScaleType.Crop
- UICorner.CornerRadius = UDim.new(0.25, 0)
- UICorner.Parent = FPS
- TextLabel.Parent = FPS
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Position = UDim2.new(0, 0, -0.15625, 0)
- TextLabel.Size = UDim2.new(0, 80, 0, 41)
- TextLabel.Font = Enum.Font.SourceSansBold
- TextLabel.Text = "60 FPS"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 1.000
- TextLabel.TextWrapped = true
- -- Scripts:
- local function TYXEE_fake_script() -- TextLabel.FPSHandler
- local script = Instance.new('LocalScript', TextLabel)
- local textLabel = script.Parent
- local Delay = false
- local Last = tick()
- game:GetService("RunService").RenderStepped:Connect(function()
- local FramePerSec = math.floor(.5+(1/(tick() - Last )))
- if Delay == false then
- Delay = true
- textLabel.Text = FramePerSec.." FPS"
- wait(0.1)
- Delay = false
- end
- Last = tick()
- end)
- end
- coroutine.wrap(TYXEE_fake_script)()
- local function JRUZS_fake_script() -- TextLabel.Rainbower
- local script = Instance.new('LocalScript', TextLabel)
- while wait() do
- script.Parent.TextColor3 = Color3.new(1,0,0)
- for i=1,15 do
- game:GetService("RunService").RenderStepped:wait()
- script.Parent.TextColor3 = Color3.new(script.Parent.TextColor3.r,script.Parent.TextColor3.g+(17/255),script.Parent.TextColor3.b)
- end
- for i=1,15 do
- game:GetService("RunService").RenderStepped:wait()
- script.Parent.TextColor3 = Color3.new(script.Parent.TextColor3.r-(17/255),script.Parent.TextColor3.g,script.Parent.TextColor3.b)
- end
- for i=1,15 do
- game:GetService("RunService").RenderStepped:wait()
- script.Parent.TextColor3 = Color3.new(script.Parent.TextColor3.r,script.Parent.TextColor3.g,script.Parent.TextColor3.b+(17/255))
- end
- for i=1,15 do
- game:GetService("RunService").RenderStepped:wait()
- script.Parent.TextColor3 = Color3.new(script.Parent.TextColor3.r,script.Parent.TextColor3.g-(17/255),script.Parent.TextColor3.b)
- end
- for i=1,15 do
- game:GetService("RunService").RenderStepped:wait()
- script.Parent.TextColor3 = Color3.new(script.Parent.TextColor3.r+(17/255),script.Parent.TextColor3.g,script.Parent.TextColor3.b)
- end
- for i=1,15 do
- game:GetService("RunService").RenderStepped:wait()
- script.Parent.TextColor3 = Color3.new(script.Parent.TextColor3.r,script.Parent.TextColor3.g,script.Parent.TextColor3.b-(17/255))
- end
- end
- end
- coroutine.wrap(JRUZS_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement