View difference between Paste ID: sNux7sdQ and smzXQgvv
SHOW: | | - or go back to the newest paste.
1
-- _____ _____ _   _ _____   _____ _____ ______ ___________ _____ 
2
--/  ___|_   _| \ | |  __ \ /  ___/  __ \| ___ \_   _| ___ \_   _|
3
--\ `--.  | | |  \| | |  \/ \ `--.| /  \/| |_/ / | | | |_/ / | |  
4
-- `--. \ | | | . ` | | __   `--. \ |    |    /  | | |  __/  | |  
5
--/\__/ /_| |_| |\  | |_\ \ /\__/ / \__/\| |\ \ _| |_| |     | |  
6
--\____/ \___/\_| \_/\____/ \____/ \____/\_| \_|\___/\_|     \_/  
7
                                                                
8
9
10
11
--Script made by YouthfulPat501
12
wait(1)
13
14
sound = Instance.new('Sound')
15
16-
sound.Parent = game.Workspace.YOURUSERNAME.Head
16+
sound.Parent = game.Workspace.projor22.Head
17
18-
sound.SoundId = "rbxassetid://3807239428"--The song ID
18+
sound.SoundId = "rbxassetid://250408242"--The song ID
19
20
sound.Volume = 10
21
22-
game.Workspace.YOURUSERNAME.Head.face.Texture = "http://www.roblox.com/asset/?id=162300397"--Face texture
22+
23
24
game.Workspace.projor22.Head.face.Texture = "http://www.roblox.com/asset/?id=162300397"--Face texture
25
26
A = Instance.new("Animation")
27-
local char = game.Workspace.YOURUSERNAME --You
27+
28
29
local char = game.Workspace.projor22--You
30
local hum = char:WaitForChild("Humanoid") --Your humanoid
31
local animation = hum:LoadAnimation(A) --Finds the animation inside the script and loads it in the npc's humanoid
32
 
33
if char ~= nil then --This just checks if You are in the game
34
    animation:Play() --Plays the animation
35
end
36
 
37
--I recommend using looped animations for the best experience