View difference between Paste ID: MPrVeJ9n and QMKVhkbt
SHOW: | | - or go back to the newest paste.
1
--void Script bbuilder fe script converter V2
2
3
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
4
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
5
local RealPlayer = Player
6
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
7
8
local Player = game:GetService("Players").LocalPlayer
9
local Character = Player.Character
10
local Head = Character.Head
11
local Torso = Character.Torso
12
local Right_Arm = Character["Right Arm"]
13
local Right_Leg = Character["Right Leg"]
14
local Left_Arm = Character["Left Arm"]
15
local Left_Leg = Character["Left Leg"]
16
local Humanoid = Character.Humanoid
17
local Animation = "Idle"
18
local Damage = 0
19
local Mouse = Player:GetMouse()
20
local LeftShoulder = Torso["Left Shoulder"] 
21
local Left_Hip = Torso["Left Hip"] 
22
local RightShoulder = Torso["Right Shoulder"] 
23
local Right_Hip = Torso["Right Hip"] 
24
local Root = Character.HumanoidRootPart
25
local RootJoint = Root.RootJoint
26
local Attacking = false
27
local RootCFrame = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
28
local WakeMeUp = false
29
local cf = CFrame.new
30
local WalkForward = false
31
local Effects = {}
32
local Color = "White"
33
34
Necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
35
Necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
36
Right_Hip_C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
37
Left_Hip_C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
38
39
Movemment = 1
40
Walk = 0
41
42
43
local Services = {
44
45
SoundService = game:GetService("SoundService");
46
Players = game:GetService("Players");
47
Debris = game:GetService("Debris");
48
Workspace = game:GetService("Workspace");
49
Lighting = game:GetService("Lighting");
50
HttpService = game:GetService("HttpService");
51
InsertService = game:GetService("InsertService");
52
	
53
}
54
55
MaxCooldown1 = 1
56
MaxCooldown2 = 1
57
MaxCooldown3 = 1
58
MaxCooldown4 = 1
59
MaxCooldownE = 1
60
61
Cooldown1 = MaxCooldown1
62
Cooldown2 = MaxCooldown2
63
Cooldown3 = MaxCooldown3
64
Cooldown4 = MaxCooldown4
65
CooldownE = MaxCooldownE
66
67
cf = CFrame.new
68
69
local RootCFrame = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
70
Necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
71
Necko2 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
72
Right_Hip_C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
73
Left_Hip_C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
74
75
Movemment = 1
76
Walk = 0
77
78
Left_Shoulder = Instance.new("Weld", Torso)
79
Left_Shoulder.Part0 = Torso
80
Left_Shoulder.Part1 = Left_Arm
81
Left_Shoulder.Name = "Left Shoulder"
82
Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
83
84
Right_Shoulder = Instance.new("Weld", Torso)
85
Right_Shoulder.Part0 = Torso
86
Right_Shoulder.Part1 = Right_Arm
87
Right_Shoulder.Name = "Right Shoulder"
88
Right_Shoulder.C0 = CFrame.new(1.5,0,0)
89
wait()
90
LeftShoulder.Parent = nil
91
RightShoulder.Parent = nil
92
93
94
wait(0.1)
95
local HealthBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
96
HealthBarGUI.Name = "HealthBarGUI"
97
98
local HealthBarP1 = Instance.new("Frame", HealthBarGUI)
99
HealthBarP1.Name = "HealthBarPart1"
100
HealthBarP1.Size = UDim2.new(0,300,0,40)
101
HealthBarP1.Position = UDim2.new(0,350,0,550)
102
HealthBarP1.Style = "RobloxRound"
103
104
local HealthBarP2 = Instance.new("Frame", HealthBarP1)
105
HealthBarP2.Name = "HealthBarPart2"
106
HealthBarP2.Size = UDim2.new(0,285,0,20)
107
HealthBarP2.Position = UDim2.new(0,0,0,0)
108
109
local HealthBarText = Instance.new("TextLabel", HealthBarP1)
110
HealthBarText.Name = "HealthBarText"
111
HealthBarText.Size = UDim2.new(0,285,0,20)
112
HealthBarText.Position = UDim2.new(0,0,0,0)
113
HealthBarText.BackgroundColor3 = Color3.new(0,1,0)	
114
HealthBarText.TextScaled = true
115
HealthBarText.Text = "MEMES UNTIL DEATH"
116
HealthBarText.TextTransparency = 0
117
HealthBarText.TextStrokeTransparency = 0
118
HealthBarText.BackgroundTransparency = 796896
119
HealthBarText.TextStrokeColor3 = Color3.new(1,1,1)
120
HealthBarText.TextColor3 = Color3.new(0,0,0)
121
HealthBarText.Font = "SciFi"
122
123
local CoolDownGUI = Instance.new("ScreenGui", Player.PlayerGui)
124
CoolDownGUI.Name = "CoolDownGUI"
125
126
local CoolDowns = Instance.new("Frame", CoolDownGUI)
127
CoolDowns.Name = "CoolDowns"
128
CoolDowns.Size = UDim2.new(0,200,0,200)
129
CoolDowns.Position = UDim2.new(0.81,0,0.68,0)
130
CoolDowns.Style = "RobloxRound"
131
132
local CoolDown1Frame = Instance.new("Frame", CoolDowns)
133
CoolDown1Frame.Name = "CoolDown1Frame"
134
CoolDown1Frame.Size = UDim2.new(0,80,0,50)
135
CoolDown1Frame.Position = UDim2.new(0,0,0,0)
136
CoolDown1Frame.BackgroundTransparency = 0.5
137
CoolDown1Frame.BackgroundColor3 = BrickColor.White().Color
138
139
local CoolDown1Bar = Instance.new("Frame", CoolDown1Frame)
140
CoolDown1Bar.Name = "CoolDown1Bar"
141
CoolDown1Bar.Size = UDim2.new(0,80,0,50)
142
CoolDown1Bar.Position = UDim2.new(0,0,0,0)	
143
CoolDown1Bar.BackgroundColor3 = BrickColor.White().Color
144
145
local CoolDown1Text = Instance.new("TextLabel", CoolDown1Frame)
146
CoolDown1Text.Name = "CoolDown1Text"
147
CoolDown1Text.Size = UDim2.new(0,80,0,50)
148
CoolDown1Text.Position = UDim2.new(0,0,0,0)	
149
CoolDown1Text.BackgroundTransparency = 1
150
CoolDown1Text.TextScaled = true
151
CoolDown1Text.Text = "z - PINGU'S ULTIMATE SPAZ"
152
CoolDown1Text.TextStrokeTransparency = 0
153
CoolDown1Text.TextStrokeColor3 = Color3.new(1,1,1)
154
CoolDown1Text.TextColor3 = Color3.new(0,0,0)
155
CoolDown1Text.Font = "SciFi"
156
157
local CoolDown2Frame = Instance.new("Frame", CoolDowns)
158
CoolDown2Frame.Name = "CoolDown2Frame"
159
CoolDown2Frame.Size = UDim2.new(0,80,0,50)
160
CoolDown2Frame.Position = UDim2.new(0.55,0,0,0)
161
CoolDown2Frame.BackgroundTransparency = 0.5
162
CoolDown2Frame.BackgroundColor3 = BrickColor.White().Color
163
164
local CoolDown2Bar = Instance.new("Frame", CoolDown2Frame)
165
CoolDown2Bar.Name = "CoolDown2Bar"
166
CoolDown2Bar.Size = UDim2.new(0,80,0,50)
167
CoolDown2Bar.Position = UDim2.new(0,0,0,0)	
168
CoolDown2Bar.BackgroundColor3 = BrickColor.White().Color
169
170
local CoolDown2Text = Instance.new("TextLabel", CoolDown2Frame)
171
CoolDown2Text.Name = "CoolDown2Text"
172
CoolDown2Text.Size = UDim2.new(0,80,0,50)
173
CoolDown2Text.Position = UDim2.new(0,0,0,0)	
174
CoolDown2Text.BackgroundTransparency = 1
175
CoolDown2Text.TextScaled = true
176
CoolDown2Text.Text = "x - LAUNCH DA PINGU"
177
CoolDown2Text.TextStrokeTransparency = 0
178
CoolDown2Text.TextStrokeColor3 = Color3.new(1,1,1)
179
CoolDown2Text.TextColor3 = Color3.new(0,0,0)
180
CoolDown2Text.Font = "SciFi"
181
182
local CoolDown3Frame = Instance.new("Frame", CoolDowns)
183
CoolDown3Frame.Name = "CoolDown3Frame"
184
CoolDown3Frame.Size = UDim2.new(0,80,0,50)
185
CoolDown3Frame.Position = UDim2.new(0,0,0.4,0)
186
CoolDown3Frame.BackgroundTransparency = 0.5
187
CoolDown3Frame.BackgroundColor3 = BrickColor.White().Color
188
189
local CoolDown3Bar = Instance.new("Frame", CoolDown3Frame)
190
CoolDown3Bar.Name = "CoolDown3Bar"
191
CoolDown3Bar.Size = UDim2.new(0,80,0,50)
192
CoolDown3Bar.Position = UDim2.new(0,0,0,0)	
193
CoolDown3Bar.BackgroundColor3 = BrickColor.White().Color
194
195
local CoolDown3Text = Instance.new("TextLabel", CoolDown3Frame)
196
CoolDown3Text.Name = "CoolDown3Text"
197
CoolDown3Text.Size = UDim2.new(0,80,0,50)
198
CoolDown3Text.Position = UDim2.new(0,0,0,0)	
199
CoolDown3Text.BackgroundTransparency = 1
200
CoolDown3Text.TextScaled = true
201
CoolDown3Text.Text = "c - SPLODE THEM HATERS"
202
CoolDown3Text.TextStrokeTransparency = 0
203
CoolDown3Text.TextStrokeColor3 = Color3.new(1,1,1)
204
CoolDown3Text.TextColor3 = Color3.new(0,0,0)
205
CoolDown3Text.Font = "SciFi"
206
207
208
local CoolDown4Frame = Instance.new("Frame", CoolDowns)
209
CoolDown4Frame.Name = "CoolDown4Frame"
210
CoolDown4Frame.Size = UDim2.new(0,80,0,50)
211
CoolDown4Frame.Position = UDim2.new(0.55,0,0.4,0)
212
CoolDown4Frame.BackgroundTransparency = 0.5
213
CoolDown4Frame.BackgroundColor3 = BrickColor.White().Color
214
215
local CoolDown4Bar = Instance.new("Frame", CoolDown4Frame)
216
CoolDown4Bar.Name = "CoolDown4Bar"
217
CoolDown4Bar.Size = UDim2.new(0,80,0,50)
218
CoolDown4Bar.Position = UDim2.new(0,0,0,0)	
219
CoolDown4Bar.BackgroundColor3 = BrickColor.White().Color
220
221
local CoolDown4Text = Instance.new("TextLabel", CoolDown4Frame)
222
CoolDown4Text.Name = "CoolDown4Text"
223
CoolDown4Text.Size = UDim2.new(0,80,0,50)
224
CoolDown4Text.Position = UDim2.new(0,0,0,0)	
225
CoolDown4Text.BackgroundTransparency = 1
226
CoolDown4Text.TextScaled = true
227
CoolDown4Text.Text = "v - JOIN MY DISCORD"
228
CoolDown4Text.TextStrokeTransparency = 0
229
CoolDown4Text.TextStrokeColor3 = Color3.new(1,1,1)
230
CoolDown4Text.TextColor3 = Color3.new(0,0,0)
231
CoolDown4Text.Font = "SciFi"
232
233
local CoolDownEFrame = Instance.new("Frame", CoolDowns)
234
CoolDownEFrame.Name = "CoolDownEFrame"
235
CoolDownEFrame.Size = UDim2.new(0,180,0,50)
236
CoolDownEFrame.Position = UDim2.new(0,0,0.74,0)
237
CoolDownEFrame.BackgroundTransparency = 0.5
238
CoolDownEFrame.BackgroundColor3 = BrickColor.White().Color
239
240
local CoolDownEBar = Instance.new("Frame", CoolDownEFrame)
241
CoolDownEBar.Name = "CoolDownEBar"
242
CoolDownEBar.Size = UDim2.new(0,180,0,50)
243
CoolDownEBar.Position = UDim2.new(0,0,0,0)	
244
CoolDownEBar.BackgroundColor3 = BrickColor.White().Color
245
246
local CoolDownEText = Instance.new("TextLabel", CoolDownEFrame)
247
CoolDownEText.Name = "CoolDownEText"
248
CoolDownEText.Size = UDim2.new(0,180,0,50)
249
CoolDownEText.Position = UDim2.new(0,0,0,0)	
250
CoolDownEText.BackgroundTransparency = 1
251
CoolDownEText.TextScaled = true
252
CoolDownEText.Text = "e - aaaa"
253
CoolDownEText.TextStrokeTransparency = 0
254
CoolDownEText.TextStrokeColor3 = Color3.new(1,1,1)
255
CoolDownEText.TextColor3 = Color3.new(0,0,0)
256
CoolDownEText.Font = "SciFi"
257
258
--[[ transformixu ]]--
259
260
Head.face.Texture = "http://www.roblox.com/asset/?id=1027980912"
261
262
for i,v in pairs(Character:children()) do
263
	
264
if v:IsA("Hat") then
265
	
266
v:Remove()	
267
	
268
end	
269
	
270
end
271
272
273
--[[ perts andi effictiz fucktions ]]--
274
275
function NoOutlines(Part)
276
		Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
277
end
278
279
local CreateVelocity = function(Parent,Velocity,Force)
280
	
281
local BodyVelocity = Instance.new("BodyVelocity", Parent)
282
BodyVelocity.Velocity = Velocity
283
BodyVelocity.MaxForce = Force	
284
285
	
286
	
287
return BodyVelocity	
288
	
289
end
290
291
local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
292
293
local Part = Instance.new("Part", Parent)
294
Part.Name = Name
295
Part.BrickColor = BrickColor.new(Color)
296
Part.Size = Size
297
Part.Material = Material
298
Part.Transparency = Transparency
299
Part.Shape = Shape
300
Part.CanCollide = false
301
NoOutlines(Part)
302
303
return Part
304
305
end
306
307
local MakeSFX = function(Parent, Id, Volume, Pitch)
308
	
309
local SFX = Instance.new("Sound", Parent)
310
SFX.SoundId = "http://www.roblox.com/asset?id=236932924" .. Id
311
SFX.Name = "SFX"
312
SFX:Play()
313
SFX.Volume = Volume
314
SFX.Pitch = Pitch
315
SFX.PlayOnRemove = true
316
SFX:Remove()
317
	
318
end
319
320
321
CircleEffect = function(Position, Parent, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
322
	
323
local Part = Instance.new("Part", Parent)
324
Part.Transparency = Transparency
325
Part.Name = "CircleEffect"
326
Part.Size = Vector3.new()
327
Part.Anchored = true
328
Part.CanCollide = false
329
Part.Position = Position
330
Part.BrickColor = BrickColor.new(Brickcolor)
331
Part.Material = Material
332
NoOutlines(Part)
333
334
local Mesh = Instance.new("SpecialMesh", Part)
335
Mesh.MeshType = "Sphere"
336
Mesh.Scale = Vector3.new(0,0,0)
337
338
Services.Debris:AddItem(Part, Time)
339
340
341
table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
342
343
344
end
345
346
BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
347
	
348
local Part = Instance.new("Part", Parent)
349
Part.Transparency = Transparency
350
Part.Name = "BlockEffect"
351
Part.Size = Vector3.new()
352
Part.Anchored = true
353
Part.Position = Position
354
Part.CanCollide = false
355
Part.BrickColor = BrickColor.new(Brickcolor)
356
Part.Material = Material
357
NoOutlines(Part)
358
359
local Mesh = Instance.new("BlockMesh", Part)
360
Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
361
362
Services.Debris:AddItem(Part, Time)
363
364
table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
365
366
367
end
368
369
--[[ customiz ]]--
370
371
372
if Player:FindFirstChild("Custom") and Player.Custom.Customized.Value == true then
373
	
374
CoolDown1Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color	
375
CoolDown2Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color	
376
CoolDown3Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color	
377
CoolDown4Bar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color	
378
CoolDownEBar.BackgroundColor3 = BrickColor.new(Player.Custom.Co1.Value).Color	
379
Color = Player.Custom.Co1.Value	
380
	
381
end
382
383
384
--[[ soumdiz ]]--
385
386
WakeMeUpInside = Instance.new("Sound", Character)
387
WakeMeUpInside.SoundId = "http://www.roblox.com/asset?id=133616135"
388
WakeMeUpInside.Name = "WAKE ME UP INSIDE!111!"
389
WakeMeUpInside.Looped = true
390
391
Sad = Instance.new("Sound", Character)
392
Sad.SoundId = "http://www.roblox.com/asset?id=768517939"
393
Sad.Name = "Sad"
394
Sad.Looped = true
395
396
JOHNCENAh = Instance.new("Sound", Character)
397
JOHNCENAh.SoundId = "http://www.roblox.com/asset?id=266804326"
398
JOHNCENAh.Name = "JOHNCENAh"
399
400
401
402
--[[ crerp decaratius ]] --
403
function clerp(a,b,t) 
404
local qa = {QuaternionFromCFrame(a)}
405
local qb = {QuaternionFromCFrame(b)} 
406
local ax, ay, az = a.x, a.y, a.z 
407
local bx, by, bz = b.x, b.y, b.z
408
local _t = 1-t
409
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
410
end 
411
 
412
function QuaternionFromCFrame(cf) 
413
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
414
local trace = m00 + m11 + m22 
415
if trace > 0 then 
416
local s = math.sqrt(1 + trace) 
417
local recip = 0.5/s 
418
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
419
else 
420
local i = 0 
421
if m11 > m00 then
422
i = 1
423
end
424
if m22 > (i == 0 and m00 or m11) then 
425
i = 2 
426
end 
427
if i == 0 then 
428
local s = math.sqrt(m00-m11-m22+1) 
429
local recip = 0.5/s 
430
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
431
elseif i == 1 then 
432
local s = math.sqrt(m11-m22-m00+1) 
433
local recip = 0.5/s 
434
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
435
elseif i == 2 then 
436
local s = math.sqrt(m22-m00-m11+1) 
437
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
438
end 
439
end 
440
end
441
 
442
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
443
local xs, ys, zs = x + x, y + y, z + z 
444
local wx, wy, wz = w*xs, w*ys, w*zs 
445
local xx = x*xs 
446
local xy = x*ys 
447
local xz = x*zs 
448
local yy = y*ys 
449
local yz = y*zs 
450
local zz = z*zs 
451
return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
452
end
453
 
454
function QuaternionSlerp(a, b, t) 
455
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
456
local startInterp, finishInterp; 
457
if cosTheta >= 0.0001 then 
458
if (1 - cosTheta) > 0.0001 then 
459
local theta = math.acos(cosTheta) 
460
local invSinTheta = 1/math.sin(theta) 
461
startInterp = math.sin((1-t)*theta)*invSinTheta 
462
finishInterp = math.sin(t*theta)*invSinTheta  
463
else 
464
startInterp = 1-t 
465
finishInterp = t 
466
end 
467
else 
468
if (1+cosTheta) > 0.0001 then 
469
local theta = math.acos(-cosTheta) 
470
local invSinTheta = 1/math.sin(theta) 
471
startInterp = math.sin((t-1)*theta)*invSinTheta 
472
finishInterp = math.sin(t*theta)*invSinTheta 
473
else 
474
startInterp = t-1 
475
finishInterp = t 
476
end 
477
end 
478
return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp 
479
end
480
481
function RayCast(Pos, Dir, Max, Ignore)
482
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
483
end 
484
485
--[[ debeigi fucktion ]]--
486
487
488
489
function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
490
	
491
local HitHumanoid = Hit.Parent.Humanoid
492
493
494
local Damage = math.random(Min, Max)
495
496
497
coroutine.resume(coroutine.create(function()
498
HitHumanoid:TakeDamage(Damage)
499
end))
500
	
501
if Type == "Normal" then
502
	
503
local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
504
Services.Debris:AddItem(Push, 0)	
505
DamageLabel(Hit.Parent, Damage)
506
507
elseif Type == "Ranged" then
508
local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
509
Services.Debris:AddItem(Push, 0)	
510
DamageLabel(Hit.Parent, Damage)
511
512
elseif Type == "Knockdown" then
513
	
514
		
515
local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
516
DamageLabel(Hit.Parent, Damage)
517
Services.Debris:AddItem(Push, 0.3)
518
519
coroutine.resume(coroutine.create(function()
520
	
521
HitHumanoid.PlatformStand = true
522
wait(1)
523
HitHumanoid.PlatformStand = false	
524
	
525
	
526
end))	
527
end
528
529
if HitSFX == "Penetration" then
530
	
531
MakeSFX(Hit, 199149269, 1 , 1)
532
533
elseif HitSFX == "Punch" then
534
	
535
MakeSFX(Hit, 278062209, 1 , 1)
536
	
537
	
538
	
539
	
540
end
541
end
542
543
function DamageLabel(HitCharacter, DamageDealt)
544
	
545
local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Bright yellow", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
546
DamageShowingPart.Position = HitCharacter.Head.Position
547
548
local DamageGui = Instance.new("BillboardGui", DamageShowingPart)
549
DamageGui.Name = "Damage"
550
DamageGui.AlwaysOnTop = true
551
DamageGui.Size = UDim2.new(5, 0, 5, 0)
552
553
local DamageNumber = Instance.new("TextLabel", DamageGui)
554
DamageNumber.Size = UDim2.new(1,0,1,0)
555
DamageNumber.TextStrokeColor3 = BrickColor.White().Color
556
DamageNumber.TextColor3 = BrickColor.Black().Color
557
DamageNumber.TextStrokeTransparency = 0
558
DamageNumber.BackgroundTransparency = 1
559
DamageNumber.Font = "SciFi"
560
DamageNumber.TextScaled = true
561
DamageNumber.Text = DamageDealt
562
	
563
local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
564
BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
565
BodyVelocity.Velocity = Vector3.new(0,2,0)	
566
	
567
Services.Debris:AddItem(DamageShowingPart, 3)
568
	
569
	
570
end 
571
function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
572
for _,WorkspaceChildren in pairs(workspace:children()) do
573
	
574
local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
575
576
if HitHumanoid ~= nil then
577
local Hit = WorkspaceChildren:findFirstChild("Torso")
578
579
if Hit ~= nil then
580
	
581
local Target = Hit.Position - Part.Position
582
583
local Magnitude = Target.magnitude
584
585
if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
586
	
587
local HitBlock = Hit.Parent:FindFirstChild("Block")	
588
	
589
if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
590
591
local HitBlock2 = Hit.Parent.Block.BlockDurability	
592
	
593
if HitBlock2.Value > 15 then
594
	
595
local HitN = math.random(1,5)
596
	
597
HitBlock2.Value = HitBlock2.Value - 15	
598
	
599
	
600
if HitN == 1 then
601
MakeSFX(Hit ,199148971, 0.5, 1)	
602
end
603
604
if HitN == 2 then
605
MakeSFX(Hit ,199149025, 0.5, 1)	
606
end
607
608
if HitN == 3 then
609
MakeSFX(Hit ,199149072, 0.5, 1)	
610
end
611
612
if HitN == 4 then
613
MakeSFX(Hit ,199149109, 0.5, 1)	
614
end
615
616
if HitN == 5 then
617
MakeSFX(Hit ,199149119, 0.5, 1)	
618
end
619
return
620
end	
621
end
622
623
DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
624
625
	
626
627
end
628
end
629
end
630
end
631
end
632
 
633
634
function Bars()
635
	
636
--[[ Cooldowns Bars ]]--	
637
638
if Cooldown1 ~= MaxCooldown1 then
639
	
640
Cooldown1 = Cooldown1 + 1
641
642
end
643
644
if Cooldown1 >= MaxCooldown1 then
645
	
646
Cooldown1 = MaxCooldown1	
647
	
648
end
649
650
651
652
if Cooldown2 ~= MaxCooldown2 then
653
	
654
Cooldown2 = Cooldown2 + 0.1
655
end
656
657
658
if Cooldown2 >= MaxCooldown2 then
659
	
660
Cooldown2 = MaxCooldown2	
661
	
662
end
663
664
665
666
if Cooldown3 ~= MaxCooldown3 then
667
Cooldown3 = Cooldown3 + 0.1
668
end
669
670
if Cooldown3 >= MaxCooldown3 then
671
	
672
Cooldown3 = MaxCooldown3	
673
	
674
end
675
676
677
678
if Cooldown4 ~= MaxCooldown4 then
679
Cooldown4 = Cooldown4 + 0.1
680
end
681
682
if Cooldown4 >= MaxCooldown4 then
683
	
684
Cooldown4 = MaxCooldown4
685
	
686
end
687
688
689
690
if CooldownE ~= MaxCooldownE then
691
CooldownE = CooldownE + 0.1
692
end
693
694
if CooldownE >= MaxCooldownE then
695
	
696
CooldownE = MaxCooldownE
697
	
698
end
699
700
--[[ Health Bar ]]--	
701
702
local YellowZone = Humanoid.MaxHealth / 2	
703
local RedZone = Humanoid.MaxHealth / 4
704
705
if Humanoid.Health <= YellowZone then
706
	
707
HealthBarP2.BackgroundColor3 = BrickColor.new("Gold").Color
708
	
709
end		
710
711
if Humanoid.Health <= RedZone then
712
	
713
HealthBarP2.BackgroundColor3 = BrickColor.new("Bright red").Color
714
	
715
end
716
717
if Humanoid.Health >= YellowZone then
718
719
HealthBarP2.BackgroundColor3 = BrickColor.new("Lime green").Color
720
	
721
end
722
723
724
--[[ Resize All Bars ]]--	
725
726
727
CoolDown1Bar.Size = UDim2.new(Cooldown1 / MaxCooldown1,0,0,50)
728
CoolDown2Bar.Size = UDim2.new(Cooldown2 / MaxCooldown2,0,0,50)
729
CoolDown3Bar.Size = UDim2.new(Cooldown3 / MaxCooldown3,0,0,50)
730
CoolDown4Bar.Size = UDim2.new(Cooldown4 / MaxCooldown4,0,0,50)
731
CoolDownEBar.Size = UDim2.new(CooldownE / MaxCooldownE,0,0,50)
732
HealthBarP2.Size = UDim2.new(Humanoid.Health / Humanoid.MaxHealth,0,0,25)
733
734
end
735
736
--[[ attakis ]]--
737
738
function WAKEMEUPINSIDE()
739
	
740
for i = 1,3 do
741
wait()
742
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(3,0,0)* CFrame.Angles(-0.2,0,0),0.2)
743
Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(10,20,3) * CFrame.Angles(-0.5,0,0),0.3)
744
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(3, 10, 0) * CFrame.Angles(-0.23,0.5,0.2), 0.3)
745
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(3, 0.1, 0) * CFrame.Angles(0.3,0.2,2), 0.3)
746
Right_Hip.C0=clerp(Right_Hip.C0,cf(3,-2,9)*CFrame.Angles(2,1.6,-0.2),0.2)
747
Left_Hip.C0=clerp(Left_Hip.C0,cf(-0,-0,5)*CFrame.Angles(5,-1.6,0.2),0.2)
748
end
749
750
ValidateDamage(Torso, 20, 1, 5, "Normal", "Punch", 50)
751
	
752
for i = 1,3 do
753
wait()
754
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(3,30,0)* CFrame.Angles(-0.3452,0,0),0.2)
755
Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(12,56,5) * CFrame.Angles(-0.5,0,30),0.3)
756
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(10, 30, 5) * CFrame.Angles(-0.23,0.5,0.2), 0.3)
757
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(34, 1, 32) * CFrame.Angles(0.3,0.2,22), 0.3)
758
Right_Hip.C0=clerp(Right_Hip.C0,cf(5,-3,3)*CFrame.Angles(2,1.6,-0.342),0.2)
759
Left_Hip.C0=clerp(Left_Hip.C0,cf(-53,-0,25)*CFrame.Angles(5,-41.6,0.52),0.2)
760
end
761
ValidateDamage(Torso, 50, 1, 5, "Normal", "Punch", 50)
762
	
763
for i = 1,3 do
764
wait()
765
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(-3,-30,0)* CFrame.Angles(0.3452,-0,-0),0.2)
766
Torso.Neck.C0 = clerp(Torso.Neck.C0,cf(-12,-56,5) * CFrame.Angles(0.5,-0,-30),0.3)
767
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(-10, -30, -5) * CFrame.Angles(0.23,-0.5,-0.2), 0.3)
768
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-34, -1, -32) * CFrame.Angles(-0.3,-0.2,-22), 0.3)
769
Right_Hip.C0=clerp(Right_Hip.C0,cf(-5,3,-3)*CFrame.Angles(-2,-1.6,0.342),0.2)
770
Left_Hip.C0=clerp(Left_Hip.C0,cf(53,0,-25)*CFrame.Angles(-5,41.6,-0.52),0.2)
771
end
772
ValidateDamage(Torso, 50, 1, 5, "Normal", "Punch", 50)
773
	
774
end
775
776
function MemeLaunch()
777
	
778
memis = {294841732,474498947,474494834,519973850,291736664,513363123,94349155,379915109,331385631,387197836,304460548,196819764}	
779
	
780
local meme = Instance.new("Part",game.Workspace)	
781
meme.Anchored = true
782
meme.Position = Torso.Position + Vector3.new(0,5,0)
783
meme.Rotation = Torso.Rotation + Vector3.new(0,-1,0)
784
meme.Size = Vector3.new(5, 5, 0.2)
785
meme.Transparency = 1
786
787
788
meme.Touched:connect(function(hit)
789
	
790
791
ValidateDamage(meme, 10, 1, 1, "Knockdown", "Punch", 130)	
792
793
794
end)
795
796
797
game:GetService("Debris"):AddItem(meme, 30)
798
799
local memedecal = Instance.new("Decal", meme)
800
memedecal.Texture = "http://www.roblox.com/asset?id=" .. memis[math.random(1, #memis)]
801
802
803
local memedecal2 = memedecal:Clone()
804
memedecal2.Parent = meme
805
memedecal2.Face = "Back"
806
807
808
	
809
for i = 1,30 do
810
811
wait()
812
813
	
814
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
815
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
816
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.1), 0.3)
817
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.1), 0.3)
818
Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
819
Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
820
	
821
	
822
end
823
824
meme.Anchored = false
825
826
meme.CFrame = CFrame.new(meme.Position, Mouse.Hit.p)	
827
local memevilocity = CreateVelocity(meme,meme.CFrame.lookVector * 250,Vector3.new(math.huge,math.huge,math.huge))
828
829
830
for i = 1,30 do
831
832
wait()
833
834
ValidateDamage(meme, 1, 1, 33, "Knockdown", "Punch", 5)
835
	
836
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(0.8,0,0),0.2)
837
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
838
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.1), 0.3)
839
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.1), 0.3)
840
Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,0.8),0.2)
841
Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,-0.8),0.2)
842
	
843
	
844
end	
845
846
Attacking = false
847
end
848
849
function JOHNCENA()
850
	
851
JOHNCENAh:Play()
852
853
Humanoid.WalkSpeed = 0	
854
Humanoid.JumpPower = 0	
855
856
857
for i = 1,60 do
858
859
wait()
860
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,10)* CFrame.Angles(1.6,1.6,1.6),0.8)
861
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
862
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.5), 0.3)
863
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.3), 0.3)
864
Right_Hip.C0=clerp(Right_Hip.C0,cf(0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
865
Left_Hip.C0=clerp(Left_Hip.C0,cf(-0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
866
	
867
	
868
end	
869
870
for i = 1,6 do
871
872
wait()
873
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,-2)* CFrame.Angles(1.6,1.6,1.6),0.8)
874
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1),0.3)
875
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,-0.5), 0.3)
876
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.3, 0.5, -0.5) * CFrame.Angles(1.6,0,0.3), 0.3)
877
Right_Hip.C0=clerp(Right_Hip.C0,cf(0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
878
Left_Hip.C0=clerp(Left_Hip.C0,cf(-0.5,-1,0.5)*CFrame.Angles(0,0,0),0.2)
879
	
880
	
881
end	
882
883
local Explosion = Instance.new("Explosion")
884
Explosion.Parent = game.workspace.Terrain
885
Explosion.Position = Right_Arm.Position
886
Explosion.Name = "Boom!"
887
Explosion.BlastRadius = 0
888
Explosion.BlastPressure = 0
889
Explosion.DestroyJointRadiusPercent = 0
890
Explosion.ExplosionType = "NoCraters"
891
892
local dmgreference = Instance.new("Part", Services.Workspace)
893
dmgreference.CFrame = Torso.CFrame
894
dmgreference.Transparency = 1
895
dmgreference.Size = Vector3.new()
896
dmgreference.CanCollide = false
897
898
899
900
ValidateDamage(dmgreference, 1000, 10, 20, "Knockdown", "Penetration", 100)
901
		
902
Humanoid.WalkSpeed = 16	
903
Humanoid.JumpPower = 50	
904
	
905
	Attacking = false
906
907
908
end
909
910
function allahuekber()	
911
Attacking = true
912
913
Sad:Remove()
914
MakeSFX(Character,433848566, 1, 1)
915
916
Humanoid.WalkSpeed = 0
917
Humanoid.JumpPower = 0
918
wait(5)
919
MakeSFX(Character, 134854740, 1 , 0.4)
920
BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
921
BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
922
BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
923
BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
924
BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
925
BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
926
BlockEffect(Torso.Position, Services.Workspace, 1,1,1, 10,10,10, 5, Color, "Neon", 0.5)
927
ValidateDamage(Torso, 1000, 77, 89, "Knockdown", "Penetration", 0)
928
wait(5)
929
Character:BreakJoints()
930
931
end
932
933
Mouse.KeyDown:connect(function(kei)
934
if not Attacking then
935
	
936
if kei == "z" then
937
938
	
939
WakeMeUp = true
940
941
if JOHNCENAh.IsPlaying == false then
942
WakeMeUpInside:Resume()
943
end
944
945
while WakeMeUp do
946
WakeMeUp = true	
947
Attacking = true
948
WAKEMEUPINSIDE()
949
end
950
951
	
952
end
953
if kei == "x" then
954
955
Attacking = true
956
957
958
MemeLaunch()	
959
		
960
961
end
962
963
if kei == "c" and JOHNCENAh.IsPlaying == false then
964
965
Attacking = true
966
967
968
JOHNCENA()	
969
		
970
end
971
972
if kei == "v" then
973
974
allahuekber()	
975
	
976
end
977
end
978
end)
979
980
Mouse.KeyUp:connect(function(kei)
981
	
982
	
983
if kei == "z" and WakeMeUp then
984
Attacking = false
985
WakeMeUp = false
986
WakeMeUpInside:Pause()
987
	
988
	
989
end	
990
	
991
end)
992
993
Humanoid.Died:connect(function ()
994
	
995
Sad:Play()	
996
	
997
end)
998
999
--[[ crerp animaxius ]]--
1000
while true do
1001
1002
wait()
1003
1004
Bars()
1005
1006
local Torvel = (Root.Velocity*Vector3.new(1,0,1)).magnitude 
1007
local Velderp = Root.Velocity.y
1008
HitFloor,PosFloor = RayCast(Root.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,4,Character)	
1009
1010
if Torvel < 1 and HitFloor ~= nil and Attacking == false then
1011
Anim = "Idle"
1012
1013
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
1014
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
1015
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
1016
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1017
Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
1018
Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
1019
1020
end
1021
1022
1023
if 2 < Torvel and Torvel < 22 and HitFloor ~= nil and Attacking == false then
1024
Anim = "Walking"
1025
WalkForward = true
1026
      Walk = Walk + 1
1027
              if 15 - 5 * Movemment <= Walk then
1028
                Walk = 0
1029
                if WalkForward == true then
1030
                  WalkForward = false
1031
                else
1032
                  if WalkForward == false then
1033
                    WalkForward = true
1034
                  end
1035
                end
1036
              end
1037
1038
if Attacking == false then
1039
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
1040
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
1041
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 0.5, 0.6) * CFrame.Angles(-1.6,0,0.2), 0.3)
1042
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 0.5, 0.6) * CFrame.Angles(-1.6,0,-0.2), 0.3)
1043
Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
1044
Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
1045
1046
end
1047
1048
1049
Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0) * CFrame.Angles(0,1.6,0),0.2)
1050
Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0) * CFrame.Angles(0,-1.6,0),0.2) 
1051
end
1052
1053
if Root.Velocity.y > 1 and HitFloor == nil and Attacking == false then 
1054
Anim = "Jump"
1055
1056
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
1057
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
1058
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.2), 0.3)
1059
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.2), 0.3)
1060
Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
1061
Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
1062
1063
	
1064
end
1065
1066
if Root.Velocity.y < -1 and HitFloor == nil and Attacking == false then 
1067
Anim = "Fall"
1068
1069
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*cf(0,0,0)* CFrame.Angles(-0.2,0,0),0.2)
1070
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
1071
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, cf(1.5, 1, 0) * CFrame.Angles(0,0,-3.2), 0.3)
1072
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, cf(-1.5, 1, 0) * CFrame.Angles(0,0,3.2), 0.3)
1073
Right_Hip.C0=clerp(Right_Hip.C0,cf(1,-1,0)*CFrame.Angles(0,1.6,-0.2),0.2)
1074
Left_Hip.C0=clerp(Left_Hip.C0,cf(-1,-1,0)*CFrame.Angles(0,-1.6,0.2),0.2)
1075
1076
end
1077
1078
if #Effects > 0 then
1079
for E = 1, #Effects do
1080
if Effects[E]~=nil then
1081
local Effect = Effects[E]
1082
1083
if Effect ~= nil then
1084
	
1085
local Part = Effect[1]
1086
local Mode = Effect[2]
1087
local Time = Effect[3]
1088
local SizeX = Effect[4]
1089
local SizeY = Effect[5]
1090
local SizeZ = Effect[6]
1091
1092
if Effect[1].Transparency <= 1 then
1093
if Effect[2] == "Block" then
1094
Effect[1].CFrame = Effect[1].CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1095
1096
Mesh = Effect[1]:FindFirstChild("Mesh")
1097
if Mesh ~= nil then
1098
Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
1099
end
1100
1101
elseif Effect[2] == "Circle" then
1102
	
1103
if Effect[1]:FindFirstChild("Mesh") ~= nil then
1104
Mesh=Effect[1].Mesh
1105
Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
1106
end
1107
1108
else
1109
	
1110
Part.Parent=nil
1111
1112
table.remove(Effects, E)
1113
1114
end
1115
end
1116
end
1117
end
1118
end
1119
end
1120
end