View difference between Paste ID: JzqzRDsT and 4g9Le70y
SHOW: | | - or go back to the newest paste.
1-
--Kidd_Anonymouse#9926
1+
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
4
local RealPlayer = Player
5
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end --Kidd_Anonymouse#9926
6
local player = game.Players.LocalPlayer
7
local char = player.Character
8
local hum = char:FindFirstChildOfClass("Humanoid")
9
local RArm = char["Right Arm"]
10
local LArm = char["Left Arm"]
11
local RLeg = char["Right Leg"]
12
local LLeg = char["Left Leg"]
13
local To = char["Torso"]
14
local He = char["Head"]
15
local HRP = char["HumanoidRootPart"]
16
local mouse = player:GetMouse()
17
local taunting = false
18
local dancing = false
19
dead = false
20
local face = "rbxasset://textures/face.png"
21
hum.WalkSpeed = 10
22
hum.MaxHealth = 5000
23
wait()
24
hum.Health = 500
25
lasthealth = hum.MaxHealth
26
27
28
29
if char:FindFirstChild("Animation") ~= nil then
30
char:FindFirstChild("Animation"):remove()
31
end
32
33
function Lerp(c1,c2,al)
34
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
35
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
36
for i,v in pairs(com1) do 
37
com1[i] = v+(com2[i]-v)*al
38
end
39
return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
40
end
41
42
43
function CreateWeld(P0,P1,Name,x,y,z)
44
local w = Instance.new("Weld",P0)
45
w.Part0 = w.Parent
46
w.Part1 = P1
47
w.Name = Name
48
w.C0 = CFrame.new(x, y, z)
49
return w
50
end
51
52
local RS = CreateWeld(To,RArm,"Right Shoulder",1.5,0,0)
53
local LS = CreateWeld(To,LArm,"Left Shoulder",-1.5,0,0)
54
local RH = CreateWeld(To,RLeg,"Right Hip",.5,-2,0)
55
local LH = CreateWeld(To,LLeg,"Left Hip",-.5,-2,0)
56
local Ne = CreateWeld(To,He,"Neck",0,1.5,0)
57
local RJ = CreateWeld(HRP,To,"RootJoint")
58
59
for i = 5,1,-1 do
60
if To:FindFirstChildOfClass("Motor6D") ~= nil then
61
To:FindFirstChildOfClass("Motor6D"):remove()
62
end
63
end
64
65
--[[
66
for i = 20,1,-1 do 
67
 RS.C0 = Lerp(RS.C0, CFrame.new(1.5,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
68
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
69
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.2)
70
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
71
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2)
72
 RH.C0 = Lerp(RH.C0, CFrame.new(.5,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2)
73
wait()
74
end
75
--]]
76
77
local pose = "Idle"
78
local lastpose = nil
79
80
81
82
83
84
85
86
87
88
hum.Running:connect(function(Speed)
89
if Speed > 1 then
90
pose = "Walking"
91
else
92
pose = "Idle"
93
end
94
print(pose)
95
96
end)
97
98
hum.StateChanged:connect(function(State)
99
if State == Enum.HumanoidStateType.Jumping then
100
pose = "Jumping"
101
elseif State == Enum.HumanoidStateType.Freefall then
102
pose = "Falling"
103
end
104
print(State)
105
end)
106
107
108
-------------------------------------------Start of Attacks & Stuff-------------------------------------------
109
110
function taunt(t)
111
if dead == false then
112
if t.Parent.ClassName == "Model" and t.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
113
	
114
local RS2 = CreateWeld(t.Parent.Torso,t.Parent["Right Arm"],"Right Shoulder",1.5,0,0)
115
local LS2 = CreateWeld(t.Parent.Torso,t.Parent["Left Arm"],"Left Shoulder",-1.5,0,0)
116
local RH2 = CreateWeld(t.Parent.Torso,t.Parent["Right Leg"],"Right Hip",.5,-2,0)
117
local LH2 = CreateWeld(t.Parent.Torso,t.Parent["Left Leg"],"Left Hip",-.5,-2,0)
118
local Ne2 = CreateWeld(t.Parent.Torso,t.Parent["Head"],"Neck",0,1.5,0)
119
local RJ2 = CreateWeld(t.Parent.HumanoidRootPart,t.Parent.Torso,"RootJoint")	
120
121
local URDED = Instance.new("Sound",char.Head)
122
URDED.SoundId = "rbxassetid://991087693"
123
URDED.Volume = 1
124
URDED.PlaybackSpeed = .9
125
URDED.PlayOnRemove = true
126
127
local NO = Instance.new("Sound",char.Head)
128
NO.SoundId = "rbxassetid://679798810"
129
NO.Volume = 1
130
NO.PlaybackSpeed = 1
131
NO.PlayOnRemove = true
132
NO.TimePosition = .15
133
134
local Yus = Instance.new("Sound",char.Head)
135
Yus.SoundId = "rbxassetid://269597232"
136
Yus.Volume = 1
137
Yus.PlaybackSpeed = 1
138
Yus.PlayOnRemove = true
139
140
local Ded = Instance.new("Sound",t.Parent.Head)
141
Ded.SoundId = "rbxassetid://153259684"
142
Ded.Volume = 1
143
Ded.PlaybackSpeed = 1
144
Ded.PlayOnRemove = true
145
146
local DeathIsSTUPID = Instance.new("Sound",t.Parent.Head)
147
DeathIsSTUPID.SoundId = "rbxassetid://203952633"
148
DeathIsSTUPID.Volume = 1
149
DeathIsSTUPID.PlaybackSpeed = 1
150
DeathIsSTUPID.TimePosition = 4.5
151
DeathIsSTUPID.PlayOnRemove = false
152
153
154
local UhNo = Instance.new("Sound",t.Parent.Head)
155
UhNo.SoundId = "rbxassetid://154606531"
156
UhNo.Volume = 1
157
UhNo.PlaybackSpeed = 1
158
UhNo.PlayOnRemove = true
159
160
local DeathScream = Instance.new("Sound",t.Parent.Head)
161
DeathScream.SoundId = "rbxassetid://527970724"
162
DeathScream.Volume = 1
163
DeathScream.PlaybackSpeed = 1
164
DeathScream.PlayOnRemove = true
165
166
hum.WalkSpeed = 0
167
hum.JumpPower = 0
168
169
t.Parent:FindFirstChildOfClass("Humanoid").WalkSpeed = 0.01
170
t.Parent:FindFirstChildOfClass("Humanoid").JumpPower = 0
171
wait(2)
172
t.Parent:FindFirstChildOfClass("Humanoid").WalkToPart = To
173
wait(.1)
174
t.Parent:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
175
176
for i = 20,1,-1 do
177
 RS2.C0 = Lerp(RS2.C0, CFrame.new(1.8,.9,0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(120)), 0.2)
178
 LS2.C0 = Lerp(LS2.C0, CFrame.new(-1.8,.9,0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-120)), 0.2)
179
 Ne2.C0 = Lerp(Ne2.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.2)
180
 RJ2.C0 = Lerp(RJ2.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
181
 LH2.C0 = Lerp(LH2.C0, CFrame.new(-.5,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2)
182
 RH2.C0 = Lerp(RH2.C0, CFrame.new(.5,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2)
183
wait()
184
end
185
DeathIsSTUPID:Play()
186
wait(2.5)
187
DeathIsSTUPID:remove()
188
for i = 20,1,-1 do
189
 RS.C0 = Lerp(RS.C0, CFrame.new(1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
190
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
191
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.2)
192
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
193
 LH.C0 = Lerp(LH.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.2)
194
 RH.C0 = Lerp(RH.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.2)
195
wait()
196
end
197
NO:remove()
198
wait(1)
199
URDED:remove()
200
for i = 20,1,-2 do
201
 RS.C0 = Lerp(RS.C0, CFrame.new(1.5,0.5,-.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.8)
202
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.8)
203
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.8)
204
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
205
 LH.C0 = Lerp(LH.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.8)
206
 RH.C0 = Lerp(RH.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.8)
207
wait()
208
end
209
210
for i = 20,1,-2 do
211
 RS.C0 = Lerp(RS.C0, CFrame.new(.3,0.6,-.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.8)
212
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.8)
213
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(13), math.rad(0), math.rad(8)),0.8)
214
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
215
 LH.C0 = Lerp(LH.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.8)
216
 RH.C0 = Lerp(RH.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.8)
217
wait()
218
end
219
for i = 20,1,-1 do
220
 RS.C0 = Lerp(RS.C0, CFrame.new(1.5,0.6,-.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.2)
221
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
222
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(13), math.rad(0), math.rad(8)),0.2)
223
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
224
 LH.C0 = Lerp(LH.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.2)
225
 RH.C0 = Lerp(RH.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.2)
226
wait()
227
end
228
229
for i = 20,1,-1 do
230
 RS.C0 = Lerp(RS.C0, CFrame.new(1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
231
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
232
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.2)
233
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
234
 LH.C0 = Lerp(LH.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.2)
235
 RH.C0 = Lerp(RH.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.2)
236
wait()
237
end
238
wait(1.5)
239
UhNo:remove()
240
for i = 2,1,-1 do
241
for i = 20,1,-2 do
242
 RS2.C0 = Lerp(RS2.C0, CFrame.new(1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
243
 LS2.C0 = Lerp(LS2.C0, CFrame.new(-1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
244
 Ne2.C0 = Lerp(Ne2.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),0.2)
245
 RJ2.C0 = Lerp(RJ2.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
246
 LH2.C0 = Lerp(LH2.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.2)
247
 RH2.C0 = Lerp(RH2.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.2)
248
wait()
249
end
250
for i = 20,1,-2 do
251
 RS2.C0 = Lerp(RS2.C0, CFrame.new(1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
252
 LS2.C0 = Lerp(LS2.C0, CFrame.new(-1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
253
 Ne2.C0 = Lerp(Ne2.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.2)
254
 RJ2.C0 = Lerp(RJ2.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
255
 LH2.C0 = Lerp(LH2.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.2)
256
 RH2.C0 = Lerp(RH2.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.2)
257
wait()
258
end
259
end
260
261
for i = 20,1,-1 do
262
 RS2.C0 = Lerp(RS2.C0, CFrame.new(1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
263
 LS2.C0 = Lerp(LS2.C0, CFrame.new(-1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
264
 Ne2.C0 = Lerp(Ne2.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.2)
265
 RJ2.C0 = Lerp(RJ2.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
266
 LH2.C0 = Lerp(LH2.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.2)
267
 RH2.C0 = Lerp(RH2.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.2)
268
wait()
269
end
270
wait(0.5)
271
Yus:remove()
272
for i = 2,1,-1 do
273
for i = 20,1,-2 do
274
 RS.C0 = Lerp(RS.C0, CFrame.new(1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
275
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
276
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)),0.2)
277
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
278
 LH.C0 = Lerp(LH.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.2)
279
 RH.C0 = Lerp(RH.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.2)
280
wait()
281
end
282
for i = 20,1,-2 do
283
 RS.C0 = Lerp(RS.C0, CFrame.new(1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
284
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
285
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.2)
286
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
287
 LH.C0 = Lerp(LH.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.2)
288
 RH.C0 = Lerp(RH.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.2)
289
wait()
290
end
291
end
292
293
for i = 20,1,-1 do
294
 RS.C0 = Lerp(RS.C0, CFrame.new(1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
295
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
296
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.2)
297
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.2)
298
 LH.C0 = Lerp(LH.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.2)
299
 RH.C0 = Lerp(RH.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.2)
300
wait()
301
end
302
DeathScream:remove()
303
304
for i = 20,1,-2 do
305
 RS2.C0 = Lerp(RS2.C0, CFrame.new(1.5,0.6,-.7) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.8)
306
 LS2.C0 = Lerp(LS2.C0, CFrame.new(-.5,0.5,-.5) * CFrame.Angles(math.rad(80), math.rad(0), math.rad(90)), 0.8)
307
 Ne2.C0 = Lerp(Ne2.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(13), math.rad(0), math.rad(8)),0.8)
308
 RJ2.C0 = Lerp(RJ2.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(10), math.rad(0), 0), 0.8)
309
 LH2.C0 = Lerp(LH2.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.8)
310
 RH2.C0 = Lerp(RH2.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.8)
311
wait()
312
end
313
wait(.5)
314
Ded:remove()
315
for i = 20,1,-2 do
316
 RS2.C0 = Lerp(RS2.C0, CFrame.new(1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
317
 LS2.C0 = Lerp(LS2.C0, CFrame.new(-1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)
318
 Ne2.C0 = Lerp(Ne2.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.4)
319
 RJ2.C0 = Lerp(RJ2.C0, CFrame.new(0,-2.5,3.5) * CFrame.Angles(math.rad(90), math.rad(0), 0), 0.4)
320
 LH2.C0 = Lerp(LH2.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.4)
321
 RH2.C0 = Lerp(RH2.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.4)
322
wait()
323
end
324
325
wait(1)
326
hum.WalkSpeed = 10
327
hum.JumpPower = 50
328
t.Parent:FindFirstChildOfClass("Humanoid").Health = 0
329
330
331
332
end
333
end
334
taunting = false
335
end
336
337
338
function dance()
339
if dead == false then
340
local moosic = Instance.new("Sound",char.Head)
341
local notimportantthing2 = math.random(1,8)
342
if notimportantthing2 == 1 then
343
moosic.SoundId = "rbxassetid://744874281"
344
elseif notimportantthing2 == 2 then
345
moosic.SoundId = "rbxassetid://171124369"
346
elseif notimportantthing2 == 3 then
347
moosic.SoundId = "rbxassetid://575705300"
348
elseif notimportantthing2 == 4 then
349
moosic.SoundId = "rbxassetid://685408383"
350
elseif notimportantthing2 == 5 then
351
moosic.SoundId = "rbxassetid://202006112"
352
elseif notimportantthing2 == 6 then
353
moosic.SoundId = "rbxassetid://524642625"
354
elseif notimportantthing2 == 7 then
355
moosic.SoundId = "rbxassetid://164281616"
356
elseif notimportantthing2 == 8 then
357
moosic.SoundId = "rbxassetid://288703954"
358
end
359
moosic.Volume = 1
360
moosic.PlaybackSpeed = 1
361
moosic.PlayOnRemove = false
362
moosic.Looped = true
363
moosic:Play()
364
hum.WalkSpeed = 5
365
366
function thing()
367
368
369
local dancevalue = math.random(1,3)
370
local face = "rbxassetid://319908966"
371
char.Head:FindFirstChildOfClass("Decal").Texture = face
372
373
if dancevalue == 1 then
374
for i = 5,1,-1 do	
375
for i = 20,1,-2 do
376
if dancing == true then
377
 RS.C0 = Lerp(RS.C0, CFrame.new(1.5,0.5,-.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.8)
378
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.5,0.5,-.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.8)
379
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.8)
380
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
381
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-2,0.4) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.8)
382
 RH.C0 = Lerp(RH.C0, CFrame.new(.5,-1.6,-.5) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.8)
383
wait()
384
end
385
end
386
387
for i = 20,1,-2 do
388
if dancing == true then
389
 RS.C0 = Lerp(RS.C0, CFrame.new(1.5,0.5,-.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.8)
390
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.5,0.5,-.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.8)
391
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.8)
392
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
393
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-2,0.4) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.8)
394
 RH.C0 = Lerp(RH.C0, CFrame.new(.5,-2,-0.5) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.8)
395
wait()
396
end
397
end
398
399
for i = 20,1,-2 do
400
if dancing == true then
401
 RS.C0 = Lerp(RS.C0, CFrame.new(1.5,0.5,-.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.8)
402
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.5,0.5,-.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.8)
403
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.8)
404
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
405
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-1.5,-0.5) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.8)
406
 RH.C0 = Lerp(RH.C0, CFrame.new(.5,-2,0.4) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.8)
407
wait()
408
end
409
end
410
411
412
for i = 20,1,-2 do
413
if dancing == true then
414
 RS.C0 = Lerp(RS.C0, CFrame.new(1.5,0.5,-.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.8)
415
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.5,0.5,-.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.8)
416
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.8)
417
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
418
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-2,-0.5) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.8)
419
 RH.C0 = Lerp(RH.C0, CFrame.new(.5,-2,0.4) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.8)
420
wait()
421
end
422
end
423
424
425
426
end
427
elseif dancevalue == 2 then
428
429
430
for i = 5,1,-1 do
431
432
for i = 20,1,-1 do
433
if dancing == true then
434
 RS.C0 = Lerp(RS.C0, CFrame.new(.1,0,-.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-50)), 0.4)
435
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.4)
436
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)),0.4)
437
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.4)
438
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-7)), 0.4)
439
 RH.C0 = Lerp(RH.C0, CFrame.new(.6,-2.1,0) * CFrame.Angles(math.rad(0), 0, math.rad(3)), 0.4)
440
wait()
441
end
442
end
443
444
445
446
for i = 20,1,-1 do
447
if dancing == true then
448
 RS.C0 = Lerp(RS.C0, CFrame.new(2,0.8,0) * CFrame.Angles(math.rad(90), math.rad(20), math.rad(89)), 0.4)
449
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.4)
450
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)),0.4)
451
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.4)
452
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-3)), 0.4)
453
 RH.C0 = Lerp(RH.C0, CFrame.new(.6,-2.1,0) * CFrame.Angles(math.rad(0), 0, math.rad(7)), 0.4)
454
wait()
455
end
456
end
457
458
459
460
end
461
elseif dancevalue == 3 then
462
463
464
465
466
467
for i = 5,1,-1 do
468
469
for i = 20,1,-1 do
470
if dancing == true then
471
 RS.C0 = Lerp(RS.C0, CFrame.new(1.5,0,-.5) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-5)), 0.2)
472
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.5,0,.5) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(-5)), 0.2)
473
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)),0.2)
474
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,-0.5,0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(5)), 0.2)
475
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-1,-1) * CFrame.Angles(math.rad(90), 0, math.rad(-5)), 0.2)
476
 RH.C0 = Lerp(RH.C0, CFrame.new(.5,-1.5,-.3) * CFrame.Angles(math.rad(-20), 0, math.rad(-5)), 0.2)
477
wait()
478
end
479
end
480
481
482
for i = 20,1,-5 do
483
if dancing == true then
484
 RS.C0 = Lerp(RS.C0, CFrame.new(1.5,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
485
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
486
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.4)
487
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,-0.2,0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
488
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-1.5,-.3) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.4)
489
 RH.C0 = Lerp(RH.C0, CFrame.new(.5,-1.5,-.3) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.4)
490
wait()
491
end
492
end
493
494
495
496
for i = 20,1,-1 do
497
if dancing == true then
498
 RS.C0 = Lerp(RS.C0, CFrame.new(1.5,0,.5) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(5)), 0.2)
499
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.5,0,-.5) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(5)), 0.2)
500
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)),0.2)
501
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,-0.5,0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-5)), 0.2)
502
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-1.5,-.3) * CFrame.Angles(math.rad(-20), 0, math.rad(5)), 0.2)
503
 RH.C0 = Lerp(RH.C0, CFrame.new(.5,-1,-1) * CFrame.Angles(math.rad(90), 0, math.rad(5)), 0.2)
504
wait()
505
end
506
end
507
508
509
510
511
512
for i = 20,1,-5 do
513
if dancing == true then
514
 RS.C0 = Lerp(RS.C0, CFrame.new(1.5,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
515
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
516
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.4)
517
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,-0.2,0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
518
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-1.5,-.3) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.4)
519
 RH.C0 = Lerp(RH.C0, CFrame.new(.5,-1.5,-.3) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.4)
520
wait()
521
end
522
end
523
524
end
525
526
527
528
529
530
531
elseif dancevalue == 4 then
532
	
533
	
534
535
	
536
for i = 5,1,-1 do
537
538
539
540
541
542
543
544
545
546
for i = 20,1,-1 do
547
if dancing == true then
548
 RS.C0 = Lerp(RS.C0, CFrame.new(1.1,0,0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(25)), 0.2)
549
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.7,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25)), 0.2)
550
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)),0.2)
551
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.2)
552
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(5)), 0.2)
553
 RH.C0 = Lerp(RH.C0, CFrame.new(.6,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.2)
554
wait()
555
end
556
end
557
558
559
for i = 20,1,-1 do
560
if dancing == true then
561
 RS.C0 = Lerp(RS.C0, CFrame.new(1.1,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-25)), 0.2)
562
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.7,0,0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-25)), 0.2)
563
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)),0.2)
564
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.2)
565
 LH.C0 = Lerp(LH.C0, CFrame.new(-.6,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.2)
566
 RH.C0 = Lerp(RH.C0, CFrame.new(.5,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-5)), 0.2)
567
wait()
568
end
569
end
570
571
572
end
573
574
575
576
577
end
578
579
580
581
582
583
end--end of "thing" function
584
585
586
repeat thing() until dancing == false 
587
moosic:remove()
588
589
590
end
591
592
end--end of "dance" function
593
594
595
596
597
-------------------------------------------end of Attacks & Stuff-------------------------------------------
598
599
600
hum.HealthChanged:connect(function()
601
if dead == false then
602
if hum.Health > 10 then
603
if hum.Health < lasthealth then
604
local randomface = math.random(1,3)
605
local s = Instance.new("Sound",char.Head)
606
s.SoundId = "rbxasset://sounds/uuhhh.mp3"
607
s.Volume = 20
608
s.PlayOnRemove = true
609
local notimportantthing = math.random(1,3)
610
if notimportantthing == 1 then
611
s.PlaybackSpeed = .8
612
elseif notimportantthing == 2 then
613
s.PlaybackSpeed = 1
614
elseif notimportantthing == 3 then
615
s.PlaybackSpeed = 1.2
616
end
617
s:remove()
618
619
if randomface == 1 then
620
char.Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://319908799"
621
elseif randomface == 2 then
622
char.Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://323571827"
623
elseif randomface == 3 then
624
char.Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://321234100"
625
end
626
wait(.3)
627
char.Head:FindFirstChildOfClass("Decal").Texture = face
628
629
end
630
631
lasthealth = hum.Health - 2
632
else
633
dead = true
634
taunting = nil
635
dancing = nil
636
hum.Health = 0
637
wait(5)
638
taunting = nil
639
dancing = nil
640
end
641
end
642
end)
643
644
645
646
647
mouse.KeyDown:connect(function(key)
648
if dead == false then
649
if key == "m" then
650
if taunting == false then
651
taunting = true
652
taunt(mouse.Target)
653
end
654
elseif key == "q" then
655
656
if dancing == false and taunting == false then
657
taunting = true
658
dancing = true
659
dance()
660
elseif dancing == true and taunting == true then
661
taunting = false
662
dancing = false
663
hum.WalkSpeed = 10
664
local face = "rbxasset://textures/face.png"
665
char.Head:FindFirstChildOfClass("Decal").Texture = face
666
end
667
end
668
end
669
end)
670
671
while true do
672
if dead == false then
673
if taunting == false then
674
if lastpose ~= pose then
675
	
676
	
677
	------------------------------------------Lastpose ~= pose
678
if pose == "Idle" then
679
	
680
---------------------------------Idle1-------------------------------	
681
for i = 20,1,-1 do
682
if pose == "Idle" then
683
 RS.C0 = Lerp(RS.C0, CFrame.new(1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.05)
684
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.6,0.1,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.05)
685
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.05)
686
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0), math.rad(30), 0), 0.05)
687
 LH.C0 = Lerp(LH.C0, CFrame.new(-.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.05)
688
 RH.C0 = Lerp(RH.C0, CFrame.new(.7,-2,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.05)
689
wait()
690
end
691
end
692
---------------------------------Idle1-------------------------------	
693
694
695
elseif pose == "Walking" then
696
697
698
---------------------------------Walking1-------------------------------	
699
for i = 20,1,-1 do
700
if pose == "Walking" then
701
 RS.C0 = Lerp(RS.C0, CFrame.new(1.5,0,0.45) * CFrame.Angles(math.rad(-25), math.rad(8), math.rad(0)), 0.08)
702
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.5,0,-0.5) * CFrame.Angles(math.rad(20), math.rad(8), math.rad(0)), 0.08)
703
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(5), math.rad(8), math.rad(0)),0.08)
704
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5), math.rad(-8), 0), 0.08)
705
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-1.95,0.6) * CFrame.Angles(math.rad(-25), math.rad(8), math.rad(0)), 0.08)
706
 RH.C0 = Lerp(RH.C0, CFrame.new(.5,-1.95,-1) * CFrame.Angles(math.rad(25), math.rad(8), math.rad(0)), 0.08)
707
wait()
708
end
709
end
710
---------------------------------Walking1-------------------------------	
711
712
elseif pose == "Jumping" then
713
714
715
716
---------------------------------Jumping-------------------------------	
717
--None--
718
---------------------------------Jumping-------------------------------
719
720
721
722
723
724
end
725
lastpose = pose
726
elseif lastpose == pose then
727
	-------------------------------------------Lastpose == pose
728
	
729
	
730
if pose == "Idle" then
731
	
732
---------------------------------Idle2-------------------------------		
733
for i = 20,1,-1 do 
734
if pose == "Idle" then
735
 RS.C0 = Lerp(RS.C0, CFrame.new(1.6,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(7)), 0.05)
736
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.6,0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-7)), 0.05)
737
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.05)
738
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,-0.05,0) * CFrame.Angles(math.rad(0), math.rad(30), 0), 0.05)
739
 LH.C0 = Lerp(LH.C0, CFrame.new(-.7,-1.95,0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.05)
740
 RH.C0 = Lerp(RH.C0, CFrame.new(.7,-1.95,0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.05)
741
wait()
742
end
743
end
744
---------------------------------Idle2-------------------------------	
745
elseif pose == "Walking" then
746
	
747
---------------------------------Walking2-------------------------------	
748
for i = 20,1,-1 do
749
if pose == "Walking" then
750
 RS.C0 = Lerp(RS.C0, CFrame.new(1.5,0,-0.45) * CFrame.Angles(math.rad(20), math.rad(-8), math.rad(0)), 0.08)
751
 LS.C0 = Lerp(LS.C0, CFrame.new(-1.5,0,0.5) * CFrame.Angles(math.rad(-25), math.rad(-8), math.rad(0)), 0.08)
752
 Ne.C0 = Lerp(Ne.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(4), math.rad(-8), math.rad(0)),0.08)
753
 RJ.C0 = Lerp(RJ.C0, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5), math.rad(8), 0), 0.08)
754
 LH.C0 = Lerp(LH.C0, CFrame.new(-.5,-1.95,-1) * CFrame.Angles(math.rad(25), math.rad(-8), math.rad(0)), 0.08)
755
 RH.C0 = Lerp(RH.C0, CFrame.new(.5,-1.95,0.6) * CFrame.Angles(math.rad(-25), math.rad(-8), math.rad(0)), 0.08)
756
wait()
757
end
758
end
759
---------------------------------Walking2-------------------------------	
760
761
end
762
	
763
	
764
lastpose = nil	
765
	
766
end
767
end
768
end
769
wait()
770
end