Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game:GetService("UserInputService").InputBegan:Connect(function(inp)
- if inp.KeyCode == Enum.KeyCode.F3 then
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local Main = Instance.new("ScreenGui")
- local Bar = Instance.new("ImageLabel")
- local UIGradient = Instance.new("UIGradient")
- local Max = Instance.new("TextLabel")
- local Min = Instance.new("TextLabel")
- local Users = Instance.new("Frame")
- local User = Instance.new("Frame")
- local Points = Instance.new("TextLabel")
- local Image = Instance.new("ImageLabel")
- --Properties:
- Main.Name = "Main"
- Main.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Bar.Name = "Bar"
- Bar.Parent = Main
- Bar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Bar.BackgroundTransparency = 1.000
- Bar.Position = UDim2.new(0.959273219, 0, 0.252380937, 0)
- Bar.Size = UDim2.new(0.0281601995, 0, 0.494047612, 0)
- Bar.Image = "rbxassetid://3570695787"
- Bar.ScaleType = Enum.ScaleType.Slice
- Bar.SliceCenter = Rect.new(100, 100, 100, 100)
- Bar.SliceScale = 0.040
- UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(50, 50, 50))}
- UIGradient.Rotation = 90
- UIGradient.Parent = Bar
- Max.Name = "Max"
- Max.Parent = Main
- Max.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Max.BackgroundTransparency = 1.000
- Max.Position = UDim2.new(0.961152971, 0, 0.190476179, 0)
- Max.Size = UDim2.new(0.0243107937, 0, 0.0464285389, 0)
- Max.Text = "13"
- Max.TextColor3 = Color3.fromRGB(255, 255, 255)
- Max.TextScaled = true
- Max.TextWrapped = true
- Min.Name = "Min"
- Min.Parent = Main
- Min.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Min.BackgroundTransparency = 1.000
- Min.Position = UDim2.new(0.961152971, 0, 0.767857134, 0)
- Min.Size = UDim2.new(0.0243107937, 0, 0.0464285389, 0)
- Min.Text = "0"
- Min.TextColor3 = Color3.fromRGB(255, 255, 255)
- Min.TextScaled = true
- Min.TextWrapped = true
- Users.Name = "Users"
- Users.Parent = Main
- Users.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Users.BackgroundTransparency = 1.000
- Users.Position = UDim2.new(0.895990074, 0, 0.252380967, 0)
- Users.Size = UDim2.new(0.0532581471, 0, 0.494047612, 0)
- User.Name = "User"
- User.Parent = Main
- User.AnchorPoint = Vector2.new(0, 1)
- User.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- User.BackgroundTransparency = 1.000
- User.Position = UDim2.new(0, 0, 1, 0)
- User.Size = UDim2.new(1, 0, 0.0915662646, 0)
- User.Visible = false
- Points.Name = "Points"
- Points.Parent = User
- Points.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Points.BackgroundTransparency = 1.000
- Points.Size = UDim2.new(0.5, 0, 1, 0)
- Points.Text = "12"
- Points.TextColor3 = Color3.fromRGB(255, 255, 255)
- Points.TextScaled = true
- Points.TextWrapped = true
- Image.Name = "Image"
- Image.Parent = User
- Image.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Image.BackgroundTransparency = 1.000
- Image.Position = UDim2.new(0.5, 0, 0, 0)
- Image.Size = UDim2.new(0.5, 0, 1, 0)
- Image.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=1&width=420&height=420&format=png"
- -- Scripts:
- local function MCANL_fake_script() -- Main.Main
- local script = Instance.new('LocalScript', Main)
- maxParts = #game:GetService("Workspace").Map:GetChildren()[1].Obby:GetChildren()
- script.Parent.Max.Text = maxParts
- plr = {}
- function move(obj,maxo,value)
- game.TweenService:Create(obj,TweenInfo.new(1,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut), {Position=UDim2.new(0,0,value,0),AnchorPoint=Vector2.new(0,value)}):Play()
- obj.Points.Text = math.abs(value*maxo-maxo)
- end
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Team.Name ~= "Contestants" then continue end
- local a = User:Clone()
- a.Parent = Users
- a.Image.Image = game.Players:GetUserThumbnailAsync(v.UserId,Enum.ThumbnailType.HeadShot,Enum.ThumbnailSize.Size420x420)
- a.Points.Text = 0
- a.Visible = true
- plr[v] = a
- end
- game:GetService("UserInputService").InputBegan:Connect(function(inp)
- if inp.KeyCode == Enum.KeyCode.F2 then
- script.Parent:Destroy()
- end
- end)
- while wait(1) do
- for i,v in pairs(game.Players:GetChildren()) do
- a = plr[v]
- if a then
- move(a,maxParts,math.abs(v.DATA.PartCount.Value/maxParts-1))
- end
- if v.Team.Name == "Winners" then
- a:Destroy()
- plr[v] = nil
- end
- end
- end
- end
- coroutine.wrap(MCANL_fake_script)()
- end
- end)
Add Comment
Please, Sign In to add comment