Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By Rufus14 (im Russian)
- wubwub = Instance.new("Sound", game.Players.LocalPlayer.Character)
- wubwub.Volume = 1000
- mouse = game.Players.LocalPlayer:GetMouse()
- squating = false
- function squat(key)
- if key == "q" then
- if not squating then
- squating = true
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
- local rus = math.random(1,2)
- if rus == 1 then
- wubwub.SoundId = "rbxassetid://476177883"
- wubwub.Looped = true
- end
- if rus == 2 then
- wubwub.SoundId = "rbxassetid://476177883"
- wubwub.Looped = true
- end
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v.ClassName == "Pants" then
- v.PantsTemplate = "http://www.roblox.com/asset/?id=696645555"
- end
- if v.ClassName == "Shirt" then
- v.ShirtTemplate = "rbxassetid://555435623"
- end
- end
- pants = Instance.new("Pants", game.Players.LocalPlayer.Character)
- pants.PantsTemplate = "rbxassetid://174588722"
- shirt = Instance.new("Shirt", game.Players.LocalPlayer.Character)
- shirt.ShirtTemplate = "rbxassetid://555435623"
- sky = Instance.new("Sky", game.Lighting)
- sky.SkyboxBk = "http://www.roblox.com/asset/?id=391317526"
- sky.SkyboxFt = "http://www.roblox.com/asset/?id=391317526"
- sky.SkyboxDn = "http://www.roblox.com/asset/?id=391317526"
- sky.SkyboxUp = "http://www.roblox.com/asset/?id=391317526"
- sky.SkyboxRt = "http://www.roblox.com/asset/?id=391317526"
- sky.SkyboxLf = "http://www.roblox.com/asset/?id=391317526"
- wubwub:Play()
- for i = 0,1 , 0.1 do
- wait()
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(-0.01,0,0)
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0.05,0.1) * CFrame.new(0,-0.03,0)
- game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,-0.05,-0.1) * CFrame.new(0,-0.03,0)
- game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.new(0.07,0.1,0) * CFrame.Angles(0,0,-0.03)
- game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.new(-0.07,0.1,0) * CFrame.Angles(0,0,0.03)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,-0.1)
- end
- end
- end
- end
- function notsquat(key)
- if key == "e" then
- if squating then
- wubwub:Stop()
- sky:destroy()
- shirt:destroy()
- pants:destroy()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- for i = 0,1 , 0.1 do
- wait()
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0.01,0,0)
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,-0.05,-0.1) * CFrame.new(0,0.03,0)
- game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0.05,0.1) * CFrame.new(0,0.03,0)
- game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.new(-0.07,-0.1,0) * CFrame.Angles(0,0,0.03)
- game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.new(0.07,-0.1,0) * CFrame.Angles(0,0,-0.03)
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,0,0.1)
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- squating = false
- end
- end
- end
- mouse.KeyDown:connect(squat)
- mouse.KeyDown:connect(notsquat)
Add Comment
Please, Sign In to add comment