Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local chr = plr.Character
- -- Creating parts
- local PropertyGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local HipHeightButton = Instance.new("TextButton")
- local NumberVal = Instance.new("TextBox")
- PropertyGui.Name = "PropertyGui"
- PropertyGui.ResetOnSpawn = false
- PropertyGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Main.Parent = PropertyGui
- Main.Size = UDim2.new(0,217,0,233)
- Main.Position = UDim2.new(0.702554762, 0, 0.446640313, 0)
- Main.Selectable = true
- Main.Active = true
- Main.Draggable = true
- Title.Name = "Title"
- Title.BackgroundTransparency = 1
- Title.TextScaled = true
- Title.Font = "Code"
- Title.Text = "Player Property Gui"
- Title.Parent = Main
- Title.Position = UDim2.new(0,0,0,0)
- Title.Size = UDim2.new(0,217,0,25)
- HipHeightButton.Name = "HipHeight"
- HipHeightButton.BackgroundColor3 = Color3.fromRGB(0,0,0)
- HipHeightButton.Size = UDim2.new(0,200,0,25)
- HipHeightButton.Position = UDim2.new(0.037,0,0.159,0)
- HipHeightButton.Font = "Code"
- HipHeightButton.Text = "HipHeight"
- HipHeightButton.TextColor3 = Color3.fromRGB(255,255,255)
- HipHeightButton.TextScaled = true
- HipHeightButton.Parent = Main
- NumberVal.Name = "Number"
- NumberVal.Position = UDim2.new(0.037,0,0.858,0)
- NumberVal.Size = UDim2.new(0,200,0,25)
- NumberVal.PlaceholderText = "Enter number value here..."
- NumberVal.TextScaled = true
- NumberVal.Text = " "
- NumberVal.Parent = Main
- -- Jump Height
- local JumpHeight = HipHeightButton:Clone()
- JumpHeight.Name = "JumpHeight"
- JumpHeight.Position = UDim2.new(0.037,0,0.3,0)
- JumpHeight.Text = "JumpPower"
- JumpHeight.Parent = Main
- -- Walk Speed
- local WalkSpeed = JumpHeight:Clone()
- WalkSpeed.Name = "WalkSpeed"
- WalkSpeed.Position = UDim2.new(0.032,0,0.446,0)
- WalkSpeed.Text = "WalkSpeed"
- WalkSpeed.Parent = Main
- -- Sit
- local Sit = WalkSpeed:Clone()
- Sit.Name = "Sit"
- Sit.Position = UDim2.new(0.037,0,0.588,0)
- Sit.Text = "Sit"
- Sit.Parent = Main
- HipHeightButton.MouseButton1Click:Connect(function()
- chr.Humanoid.HipHeight = tonumber(NumberVal.Text)
- end)
- JumpHeight.MouseButton1Click:Connect(function()
- chr.Humanoid.JumpPower = tonumber(NumberVal.Text)
- end)
- WalkSpeed.MouseButton1Click:Connect(function()
- chr.Humanoid.WalkSpeed = tonumber(NumberVal.Text)
- end)
- Sit.MouseButton1Click:Connect(function()
- chr.Humanoid.Sit = true
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement