Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local PlayerHub = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local openMore = Instance.new("TextButton")
- local UICorner = Instance.new("UICorner")
- local MoreOptions = Instance.new("Frame")
- local Des = Instance.new("TextButton")
- local UICorner_2 = Instance.new("UICorner")
- local Cache = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local UICorner_3 = Instance.new("UICorner")
- local yes = Instance.new("TextButton")
- local UICorner_4 = Instance.new("UICorner")
- local no = Instance.new("TextButton")
- local UICorner_5 = Instance.new("UICorner")
- local TextLabel_2 = Instance.new("TextLabel")
- local speed = Instance.new("Frame")
- local speedmanager = Instance.new("TextBox")
- local UICorner_6 = Instance.new("UICorner")
- local TextButton = Instance.new("TextButton")
- local UICorner_7 = Instance.new("UICorner")
- local UICorner_8 = Instance.new("UICorner")
- local WalkSpeed = Instance.new("TextButton")
- local UICorner_9 = Instance.new("UICorner")
- local PlayerOpen = Instance.new("TextButton")
- local UICorner_10 = Instance.new("UICorner")
- local Player = Instance.new("Frame")
- local Root = Instance.new("TextButton")
- local UICorner_11 = Instance.new("UICorner")
- local UICorner_12 = Instance.new("UICorner")
- local Default = Instance.new("Frame")
- local PlayerName = Instance.new("TextLabel")
- local Hello = Instance.new("TextLabel")
- local UICorner_13 = Instance.new("UICorner")
- local UICorner_14 = Instance.new("UICorner")
- --Properties:
- PlayerHub.Name = "PlayerHub"
- PlayerHub.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- PlayerHub.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = PlayerHub
- MainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- MainFrame.Position = UDim2.new(0.748585284, 0, 0.503912389, 0)
- MainFrame.Size = UDim2.new(0, 270, 0, 172)
- openMore.Name = "openMore"
- openMore.Parent = MainFrame
- openMore.BackgroundColor3 = Color3.fromRGB(63, 63, 63)
- openMore.Position = UDim2.new(0.718518496, 0, 0, 0)
- openMore.Size = UDim2.new(0, 76, 0, 26)
- openMore.Font = Enum.Font.SourceSans
- openMore.Text = "More options"
- openMore.TextColor3 = Color3.fromRGB(255, 255, 255)
- openMore.TextScaled = true
- openMore.TextSize = 14.000
- openMore.TextWrapped = true
- UICorner.CornerRadius = UDim.new(0, 5)
- UICorner.Parent = openMore
- MoreOptions.Name = "MoreOptions"
- MoreOptions.Parent = MainFrame
- MoreOptions.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- MoreOptions.BackgroundTransparency = 1.000
- MoreOptions.Position = UDim2.new(0.718518496, 0, -0.25, 0)
- MoreOptions.Size = UDim2.new(0, 76, 0, 43)
- MoreOptions.Visible = false
- Des.Name = "Des"
- Des.Parent = MoreOptions
- Des.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
- Des.Position = UDim2.new(0, 0, 0.348837197, 0)
- Des.Size = UDim2.new(0, 76, 0, 22)
- Des.Font = Enum.Font.SourceSans
- Des.Text = "Destroy GUI"
- Des.TextColor3 = Color3.fromRGB(255, 255, 255)
- Des.TextScaled = true
- Des.TextSize = 14.000
- Des.TextWrapped = true
- UICorner_2.Parent = Des
- Cache.Name = "Cache"
- Cache.Parent = MoreOptions
- Cache.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Cache.BackgroundTransparency = 1.000
- Cache.Position = UDim2.new(-7.71052647, 0, -0.232558146, 0)
- Cache.Size = UDim2.new(0, 168, 0, 100)
- Cache.Visible = false
- TextLabel.Parent = Cache
- TextLabel.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
- TextLabel.Position = UDim2.new(-0.095238097, 0, 0.0299999993, 0)
- TextLabel.Size = UDim2.new(0, 200, 0, 50)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Confirm"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- UICorner_3.Parent = TextLabel
- yes.Name = "yes"
- yes.Parent = Cache
- yes.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- yes.Position = UDim2.new(-0.095238097, 0, 0.680000007, 0)
- yes.Size = UDim2.new(0, 78, 0, 24)
- yes.Font = Enum.Font.SourceSans
- yes.Text = "Yes."
- yes.TextColor3 = Color3.fromRGB(255, 255, 255)
- yes.TextScaled = true
- yes.TextSize = 14.000
- yes.TextWrapped = true
- UICorner_4.Parent = yes
- no.Name = "no"
- no.Parent = Cache
- no.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- no.Position = UDim2.new(0.630952358, 0, 0.680000007, 0)
- no.Size = UDim2.new(0, 78, 0, 24)
- no.Font = Enum.Font.SourceSans
- no.Text = "No."
- no.TextColor3 = Color3.fromRGB(255, 255, 255)
- no.TextScaled = true
- no.TextSize = 14.000
- no.TextWrapped = true
- UICorner_5.Parent = no
- TextLabel_2.Parent = MainFrame
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.Size = UDim2.new(0, 76, 0, 16)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = "Player HUB"
- TextLabel_2.TextColor3 = Color3.fromRGB(104, 104, 104)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14.000
- TextLabel_2.TextWrapped = true
- speed.Name = "speed"
- speed.Parent = MainFrame
- speed.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- speed.Position = UDim2.new(0.316675723, 0, 0.185218632, 0)
- speed.Size = UDim2.new(0, 165, 0, 132)
- speed.Visible = false
- speedmanager.Name = "speedmanager"
- speedmanager.Parent = speed
- speedmanager.BackgroundColor3 = Color3.fromRGB(31, 31, 31)
- speedmanager.Position = UDim2.new(0.104787007, 0, 0.159090906, 0)
- speedmanager.Size = UDim2.new(0, 130, 0, 28)
- speedmanager.Font = Enum.Font.SourceSans
- speedmanager.PlaceholderColor3 = Color3.fromRGB(144, 144, 144)
- speedmanager.PlaceholderText = "Speed here"
- speedmanager.Text = ""
- speedmanager.TextColor3 = Color3.fromRGB(255, 255, 255)
- speedmanager.TextScaled = true
- speedmanager.TextSize = 14.000
- speedmanager.TextWrapped = true
- UICorner_6.Parent = speedmanager
- TextButton.Parent = speed
- TextButton.BackgroundColor3 = Color3.fromRGB(31, 31, 31)
- TextButton.Position = UDim2.new(0.244971454, 0, 0.583333313, 0)
- TextButton.Size = UDim2.new(0, 83, 0, 37)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Submit speed"
- TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.TextScaled = true
- TextButton.TextSize = 14.000
- TextButton.TextWrapped = true
- UICorner_7.Parent = TextButton
- UICorner_8.Parent = speed
- WalkSpeed.Name = "WalkSpeed"
- WalkSpeed.Parent = MainFrame
- WalkSpeed.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
- WalkSpeed.Position = UDim2.new(0.0296296291, 0, 0.191860467, 0)
- WalkSpeed.Size = UDim2.new(0, 68, 0, 20)
- WalkSpeed.Font = Enum.Font.SourceSans
- WalkSpeed.Text = "WalkSpeed"
- WalkSpeed.TextColor3 = Color3.fromRGB(255, 255, 255)
- WalkSpeed.TextScaled = true
- WalkSpeed.TextSize = 14.000
- WalkSpeed.TextWrapped = true
- UICorner_9.CornerRadius = UDim.new(0, 5)
- UICorner_9.Parent = WalkSpeed
- PlayerOpen.Name = "PlayerOpen"
- PlayerOpen.Parent = MainFrame
- PlayerOpen.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
- PlayerOpen.Position = UDim2.new(0.0296296291, 0, 0.377906978, 0)
- PlayerOpen.Size = UDim2.new(0, 68, 0, 20)
- PlayerOpen.Font = Enum.Font.SourceSans
- PlayerOpen.Text = "Player"
- PlayerOpen.TextColor3 = Color3.fromRGB(255, 255, 255)
- PlayerOpen.TextScaled = true
- PlayerOpen.TextSize = 14.000
- PlayerOpen.TextWrapped = true
- UICorner_10.CornerRadius = UDim.new(0, 5)
- UICorner_10.Parent = PlayerOpen
- Player.Name = "Player"
- Player.Parent = MainFrame
- Player.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
- Player.Position = UDim2.new(0.355555564, 0, 0.191860467, 0)
- Player.Size = UDim2.new(0, 151, 0, 121)
- Player.Visible = false
- Root.Name = "Root"
- Root.Parent = Player
- Root.BackgroundColor3 = Color3.fromRGB(76, 76, 76)
- Root.Position = UDim2.new(0.152317882, 0, 0.0991735533, 0)
- Root.Size = UDim2.new(0, 105, 0, 20)
- Root.Font = Enum.Font.SourceSans
- Root.Text = "Anchor RootPart"
- Root.TextColor3 = Color3.fromRGB(255, 255, 255)
- Root.TextScaled = true
- Root.TextSize = 14.000
- Root.TextWrapped = true
- UICorner_11.Parent = Root
- UICorner_12.Parent = Player
- Default.Name = "Default"
- Default.Parent = MainFrame
- Default.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Default.Position = UDim2.new(0.333333343, 0, 0.255813956, 0)
- Default.Size = UDim2.new(0, 165, 0, 119)
- PlayerName.Name = "PlayerName"
- PlayerName.Parent = Default
- PlayerName.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
- PlayerName.Position = UDim2.new(0.484848499, 0, 0.134453788, 0)
- PlayerName.Size = UDim2.new(0, 85, 0, 34)
- PlayerName.Font = Enum.Font.SourceSans
- PlayerName.Text = " "
- PlayerName.TextColor3 = Color3.fromRGB(255, 255, 255)
- PlayerName.TextScaled = true
- PlayerName.TextSize = 14.000
- PlayerName.TextWrapped = true
- Hello.Name = "Hello"
- Hello.Parent = Default
- Hello.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
- Hello.Position = UDim2.new(0.0727272779, 0, 0.134453788, 0)
- Hello.Size = UDim2.new(0, 66, 0, 34)
- Hello.Font = Enum.Font.SourceSans
- Hello.Text = "Hello, "
- Hello.TextColor3 = Color3.fromRGB(255, 255, 255)
- Hello.TextScaled = true
- Hello.TextSize = 14.000
- Hello.TextWrapped = true
- UICorner_13.Parent = Default
- UICorner_14.CornerRadius = UDim.new(0, 5)
- UICorner_14.Parent = MainFrame
- -- Scripts:
- local function RLAYP_fake_script() -- openMore.Script
- local script = Instance.new('Script', openMore)
- script.Parent.MouseButton1Click:Connect(function()
- if script.Parent.Parent.MoreOptions.Visible == false then
- script.Parent.Parent.MoreOptions.Visible = true
- wait(5)
- script.Parent.Parent.MoreOptions.Visible = false
- script.Parent.Parent.MoreOptions.Cache.Visible = false
- else
- script.Parent.Parent.MoreOptions.Visible = false
- end
- end)
- end
- coroutine.wrap(RLAYP_fake_script)()
- local function UBAV_fake_script() -- Des.Script
- local script = Instance.new('Script', Des)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Cache.Visible = true
- end)
- end
- coroutine.wrap(UBAV_fake_script)()
- local function TNBD_fake_script() -- yes.Script
- local script = Instance.new('Script', yes)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Parent.Parent.Parent:Destroy()
- game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false
- game.Players.LocalPlayer.Character.Humanoid.Walkspeed = 16
- end)
- end
- coroutine.wrap(TNBD_fake_script)()
- local function GEOYS_fake_script() -- no.Script
- local script = Instance.new('Script', no)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Visible = false
- end)
- end
- coroutine.wrap(GEOYS_fake_script)()
- local function YFYERB_fake_script() -- TextButton.LocalScript
- local script = Instance.new('LocalScript', TextButton)
- script.Parent.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = script.Parent.Parent.speedmanager.Text
- end)
- end
- coroutine.wrap(YFYERB_fake_script)()
- local function NODAAGE_fake_script() -- MainFrame.LocalScript
- local script = Instance.new('LocalScript', MainFrame)
- local UIS = game:GetService('UserInputService')
- local frame = script.Parent
- local dragToggle = nil
- local dragSpeed = 0.25
- local dragStart = nil
- local startPos = nil
- local function updateInput(input)
- local delta = input.Position - dragStart
- local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
- startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
- end
- frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
- dragToggle = true
- dragStart = input.Position
- startPos = frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragToggle = false
- end
- end)
- end
- end)
- UIS.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- if dragToggle then
- updateInput(input)
- end
- end
- end)
- end
- coroutine.wrap(NODAAGE_fake_script)()
- local function MBTAJBL_fake_script() -- WalkSpeed.Script
- local script = Instance.new('Script', WalkSpeed)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.speed.Visible = true
- script.Parent.Parent.Player.Visible = false
- script.Parent.Parent.Default.Visible = false
- end)
- end
- coroutine.wrap(MBTAJBL_fake_script)()
- local function IRSQHHE_fake_script() -- PlayerOpen.Script
- local script = Instance.new('Script', PlayerOpen)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Player.Visible = true
- script.Parent.Parent.speed.Visible = false
- script.Parent.Parent.Default.Visible = false
- end)
- end
- coroutine.wrap(IRSQHHE_fake_script)()
- local function YAPJ_fake_script() -- Root.LocalScript
- local script = Instance.new('LocalScript', Root)
- script.Parent.MouseButton1Click:Connect(function()
- if game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored == true then
- game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false
- else
- game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
- end
- if game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored == false then
- script.Parent.Text = "Anchor RootPart"
- else
- script.Parent.Text = "UnAnchor RootPart"
- end
- end)
- end
- coroutine.wrap(YAPJ_fake_script)()
- local function OEFKLQ_fake_script() -- Default.LocalScript
- local script = Instance.new('LocalScript', Default)
- local Player = game.Players.LocalPlayer
- script.Parent.PlayerName.Text = Player.Name
- end
- coroutine.wrap(OEFKLQ_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement