R

kustom r15 anim

public
rrixh Apr 07, 2024 Never 95
Clone
Lua kustomR15anims_lulaslollipop.m4a 88 lines (67 loc) | 3.55 KB
1
--r15 only Kustom anims skript
2
3
if not game:IsLoaded() then
4
game.Loaded:wait()
5
end
6
7
--local Walk = "http://www.roblox.com/asset/?id=2510202577" -- Rthro
8
--local Walk = "http://www.roblox.com/asset/?id=4211223236" -- new R15
9
--local Walk = "http://www.roblox.com/asset/?id=3489174223" -- new Zombie
10
local Walk = "http://www.roblox.com/asset/?id=507767714" -- R15
11
12
--local Run = "http://www.roblox.com/asset/?id=10921261968" -- Rthro
13
--local Run = "http://www.roblox.com/asset/?id=616163682" -- new Zombie
14
--local Run = "http://www.roblox.com/asset/?id=4211220381" -- new R15
15
--local Run = "http://www.roblox.com/asset/?id=616163682" -- Zombie
16
local Run = "https://www.roblox.com/asset/?id=507767714" -- R15
17
18
--local Jump = "http://www.roblox.com/asset/?id=2510197830" -- Rthro
19
local Jump = "http://www.roblox.com/asset/?id=507765000" -- R15
20
21
--local Idle_A = "http://www.roblox.com/asset/?id=10921258489" -- Rthro
22
--local Idle_A = "http://www.roblox.com/asset/?id=4211217646" -- new R15
23
--local Idle_A = "http://www.roblox.com/asset/?id=10921344533" -- Zombie
24
local Idle_A = "http://www.roblox.com/asset/?id=507766951" -- R15IdleYawn
25
26
--local Idle_B = "http://www.roblox.com/asset/?id=4211218409" -- new R15
27
local Idle_B = "http://www.roblox.com/asset/?id=5230599789" -- Bored Emote
28
29
local Fall = "http://www.roblox.com/asset/?id=507767968"
30
31
local Climb = "http://www.roblox.com/asset/?id=507765644"
32
33
local Swim = "http://www.roblox.com/asset/?id=507784897"
34
35
local SwimIdle = "http://www.roblox.com/asset/?id=507785072"
36
37
local Player = game:GetService("Players").LocalPlayer
38
local Bool = false
39
40
game:GetService("StarterPlayer").AllowCustomAnimations = true -- THANKS PEW
41
42
local function Animate(Character)
43
local Humanoid
44
45
local TimeToWait = 5
46
local Time = os.time()
47
48
repeat
49
if Character and Character:FindFirstChildOfClass("Humanoid") then
50
Humanoid = Character:FindFirstChildOfClass("Humanoid")
51
break
52
end
53
game:GetService("RunService").Heartbeat:wait()
54
until os.time() > Time + TimeToWait - 1
55
56
local Animate = Character and Character:WaitForChild("Animate")
57
58
if not Humanoid then
59
return
60
elseif Humanoid and Humanoid.RigType == Enum.HumanoidRigType.R6 then
61
Bool = true
62
return
63
end
64
65
if not Animate then return end
66
67
pcall(function()
68
Animate:WaitForChild("walk"):WaitForChild("WalkAnim").AnimationId = Walk
69
Animate:WaitForChild("run"):WaitForChild("RunAnim").AnimationId = Run
70
Animate:WaitForChild("jump"):WaitForChild("JumpAnim").AnimationId = Jump
71
Animate:WaitForChild("idle"):WaitForChild("Animation1").AnimationId = Idle_A
72
Animate:WaitForChild("idle"):WaitForChild("Animation2").AnimationId = Idle_B
73
Animate:WaitForChild("idle"):WaitForChild("Animation1"):WaitForChild("Weight").Value = "9"
74
Animate:WaitForChild("idle"):WaitForChild("Animation2"):WaitForChild("Weight").Value = "1"
75
Animate:WaitForChild("fall"):WaitForChild("FallAnim").AnimationId = Fall
76
Animate:WaitForChild("climb"):WaitForChild("ClimbAnim").AnimationId = Climb
77
Animate:WaitForChild("swim"):WaitForChild("Swim").AnimationId = Swim
78
Animate:WaitForChild("swimidle"):WaitForChild("SwimIdle").AnimationId = SwimIdle
79
end)
80
end
81
82
--if not Bool and Player.UserId == 1414978355 or Player.UserId == 3314699734 then
83
Animate(Player.Character or Player.CharacterAdded:wait())
84
85
Player.CharacterAdded:Connect(function(Character)
86
Animate(Character)
87
end)
88
--end