Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local chr = plr.Character
- local mouse = plr:GetMouse()
- _G.hotkey = 'x'
- mouse.KeyDown:connect(function(key)
- local player = game.Players.LocalPlayer
- player.Character.Head.Mesh:Destroy()
- player.Character.Head.face:Destroy()
- for remove,hat in pairs(player.Character:GetChildren()) do
- if hat:IsA'Accoutrement' then
- hat:Destroy()
- end
- end
- weld = Instance.new("Weld", player.Character.Head)
- weld.Part1 = player.Character.Torso
- weld.Part0 = player.Character.Head
- wait()
- local weld = Instance.new('Weld')
- weld.Parent = game.Players.LocalPlayer.Character.Torso
- weld.Part0 = weld.Parent
- weld.Part1 = weld.Parent.Parent.HumanoidRootPart
- weld.C0 = CFrame.new(0, 300, 0)
- weld.Parent.Parent.Head.CanCollide = true
- mouse.KeyUp:connect(function(key)
- if key == _G.hotkey then
- local chr = game.Players.LocalPlayer.Character
- chr.Animate.Disabled = false
- chr.Torso["Left Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- chr.Torso["Neck"].C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- end
- end)
- function stopAnimations()
- for _,v in pairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
- v:Stop()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement