View difference between Paste ID: imCGtSNR and BuecYVuh
SHOW: | | - or go back to the newest paste.
1
local clonefunction = clonefunction or clonefunction(clonefunction) or function(...) return ... end
2
local genv = clonefunction(getgenv)() or _G or shared
3
local cloneref = cloneref or getgenv().cloneref or clonefunction(cloneref) or function(...) return ... end
4
5
getgenv().customanims = {
6-
	["idle1"] = 86481260083940,
6+
	["idle1"] = 133226513780673,
7-
	["idle2"] = 130346692690001,
7+
	["idle2"] = 86910986368891,
8-
	["walk"] = 140233961550679,
8+
	["walk"] = 84782014405060,
9-
	["run"] = 140233961550679,
9+
	["run"] = 85232146719894,
10-
	["jump"] = 106675315699522,
10+
	["jump"] = 140300561900880,
11-
	["climb"] = 107153131584150,
11+
	["climb"] = 94364927317793,
12-
	["fall"] = 93491041666792, 
12+
	["fall"] = 129591520941189, 
13-
	--["death"] = ,
13+
	["swim"] = 117741052845105,
14-
	["swim"] = 140233961550679,
14+
	["swimidle"] = 133871172755161
15-
	["swimidle"] = 88624296373157,
15+
16-
	["laugh"] = 113442867466734,
16+
17-
--	["sit"] = 116354007367823,
17+
18-
	["wave"] = 123289543081081,
18+
19-
	["dance"] = 89676212115777,
19+
20-
	["dance2"] = 89676212115777,
20+
21-
	["dance3"] = 119093668447341
21+
22
23
local function StopAnim()
24
	Animate.Disabled = false
25
	local animtrack = hum:GetPlayingAnimationTracks()
26
	for i, track in pairs(animtrack) do
27
		track:Stop()
28
	end
29
end
30
31
Animate.Disabled = true 
32
StopAnim()
33
34
Animate.idle.Animation1.AnimationId = "http://www.roblox.com/asset/?id=" .. getgenv().customanims["idle1"]
35
Animate.idle.Animation2.AnimationId = "http://www.roblox.com/asset/?id=" .. getgenv().customanims["idle2"]
36
Animate.walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. getgenv().customanims["walk"]
37
Animate.run.RunAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. getgenv().customanims["run"]
38
Animate.jump.JumpAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. getgenv().customanims["jump"]
39
Animate.climb.ClimbAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. getgenv().customanims["climb"]
40
Animate.fall.FallAnim.AnimationId = "http://www.roblox.com/asset/?id=" .. getgenv().customanims["fall"]
41
Animate.swim.Swim.AnimationId = "http://www.roblox.com/asset/?id=" .. getgenv().customanims["swim"]
42
Animate.swimidle.SwimIdle.AnimationId = "http://www.roblox.com/asset/?id=" .. getgenv().customanims["swimidle"]
43
44
hum:ChangeState(3)
45
Animate.Disabled = false
46