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