Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Variables
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- -- Settings
- bind = "r" -- has to be lowercase
- bind2 = "t"
- -- Script
- mouse.KeyDown:connect(function(key)
- if key == bind then
- if (game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15) then
- if (game.Players.LocalPlayer.Character:FindFirstChild("UpperTorso")) then
- if (game.Players.LocalPlayer.Character.UpperTorso:FindFirstChild("Waist")) then
- game.Players.LocalPlayer.Character.UpperTorso.Waist:remove()
- end
- end
- end
- end
- end)
- mouse.KeyDown:connect(function(key2)
- if key2 == bind2 then
- if (game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15) then
- if (game.Players.LocalPlayer.Character:FindFirstChild("LowerTorso")) then
- if (game.Players.LocalPlayer.Character.LowerTorso:FindFirstChild("Root")) then
- game.Players.LocalPlayer.Character.LowerTorso.Root:remove()
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement