View difference between Paste ID: JRnQdppQ and kEvnDxXU
SHOW: | | - or go back to the newest paste.
1-
wait(1)
1+
player = game.Players.LocalPlayer
2-
local Plr = game.Players.LocalPlayer
2+
mouse = player:GetMouse()
3-
local PChar = Plr.Character
3+
4-
local Song = Instance.new("Sound", game.Workspace)
4+
function KeyM(m)
5-
Song.SoundId = "rbxassetid://514558366"
5+
	key = key:lower(m)
6-
Song:Play()
6+
	local hotkey = script.Hotkey
7-
wait(2.6)
7+
	local char = player.Character
8-
game:GetService("Chat"):Chat(PChar:FindFirstChild("Head"), "P")
8+
	if key == hotkey.Value then 
9-
wait(0.2)
9+
		local dance = Instance.new("Animation")
10-
game:GetService("Chat"):Chat(PChar:FindFirstChild("Head"), "P")
10+
		dance.AnimationId = "http://www.roblox.com/asset/?id=922895233" --- type here the animation ID
11-
wait(0.2)
11+
		local animloader = char.Humanoid:LoadAnimation(dance)
12-
game:GetService("Chat"):Chat(PChar:FindFirstChild("Head"), "A")
12+
		animloader:Play()
13-
wait(0.2)
13+
		
14-
game:GetService("Chat"):Chat(PChar:FindFirstChild("Head"), "P")
14+
	end
15-
local AnimationFolder = PChar:FindFirstChild("Animate")
15+
	
16-
if AnimationFolder == nil then
16+
end 
17-
	print("ERROR: Animation Folder not Found!")
17+
mouse.KeyDown:connect(KeyM)