Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made by error404; limes bday in a while#1653
- -- Youtube channel: https://www.youtube.com/c/chrisplayyt
- -- Thank you for using HipHeight Flying
- local player = game.Players.LocalPlayer
- local character = player.Character
- local mouse = player:GetMouse()
- local UIS = game:GetService("UserInputService")
- local bool = {"false"}
- function credits()
- local ScreenGui = Instance.new("ScreenGui")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local TextLabel_3 = Instance.new("TextLabel")
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- TextLabel.Parent = ScreenGui
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.366145849, 0, 0.220082492, 0)
- TextLabel.Size = UDim2.new(0, 514, 0, 87)
- TextLabel.Font = Enum.Font.SourceSansLight
- TextLabel.Text = "HipHeight Flying made by error404; limes bday in a while"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- TextLabel_2.Parent = ScreenGui
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.Position = UDim2.new(0.373958349, 0, 0.36038515, 0)
- TextLabel_2.Size = UDim2.new(0, 483, 0, 72)
- TextLabel_2.Font = Enum.Font.SourceSansLight
- TextLabel_2.Text = "To go up in hipheight please hold CTRL + Mouse Wheel Up"
- TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14
- TextLabel_2.TextWrapped = true
- TextLabel_3.Parent = ScreenGui
- TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_3.BackgroundTransparency = 1
- TextLabel_3.Position = UDim2.new(0.373958349, 0, 0.485375285, 0)
- TextLabel_3.Size = UDim2.new(0, 483, 0, 72)
- TextLabel_3.Font = Enum.Font.SourceSansLight
- TextLabel_3.Text = "To go down in hipheight please hold CTRL + Mouse Wheel Down"
- TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_3.TextScaled = true
- TextLabel_3.TextSize = 14
- TextLabel_3.TextWrapped = true
- wait(8)
- ScreenGui:Destroy()
- end
- UIS.InputBegan:Connect(function(key, gameproccesed)
- if key.KeyCode == Enum.KeyCode.LeftControl then
- table.remove(bool, 1)
- table.insert(bool, "true")
- end
- end)
- UIS.InputEnded:Connect(function(key, gameproccesed)
- if key.KeyCode == Enum.KeyCode.LeftControl then
- table.remove(bool, 1)
- table.insert(bool, "false")
- end
- end)
- mouse.WheelForward:Connect(function(player)
- if table.concat(bool) == "true" then
- character.Humanoid.HipHeight = character.Humanoid.HipHeight + 1
- character.Humanoid.WalkSpeed = character.Humanoid.WalkSpeed + 1
- end
- end)
- mouse.WheelBackward:Connect(function(player)
- if table.concat(bool) == "true" then
- character.Humanoid.HipHeight = character.Humanoid.HipHeight - 1
- if character.Humanoid.HipHeight == 2 or character.Humanoid.HipHeight < 2 then
- else
- character.Humanoid.WalkSpeed = character.Humanoid.WalkSpeed - 1
- end
- end
- end)
- credits()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement