View difference between Paste ID: dXsSbMzu and A9X1XTAg
SHOW: | | - or go back to the newest paste.
1-
--[[Baby Nefl created by doremon0258]]--
1+
2-
--[[Based off Nefl from Strife, sorta.]]--
2+
3
PlayerGui=Player.PlayerGui
4
Backpack=Player.Backpack 
5
Torso=Character.Torso 
6
Head=Character.Head 
7
Humanoid=Character.Humanoid
8
m=Instance.new('Model',Character)
9
LeftArm=Character["Left Arm"] 
10
LeftLeg=Character["Left Leg"] 
11
RightArm=Character["Right Arm"] 
12
RightLeg=Character["Right Leg"] 
13
LS=Torso["Left Shoulder"] 
14
LH=Torso["Left Hip"] 
15
RS=Torso["Right Shoulder"] 
16
RH=Torso["Right Hip"] 
17
Face = Head.face
18
Neck=Torso.Neck
19
it=Instance.new
20
attacktype=1
21
vt=Vector3.new
22
cf=CFrame.new
23
euler=CFrame.fromEulerAnglesXYZ
24
angles=CFrame.Angles
25
cloaked=false
26
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
27
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
28
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
29
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
30
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
31
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
32
RootPart=Character.HumanoidRootPart
33
RootJoint=RootPart.RootJoint
34
RootCF=euler(-1.57,0,3.14)
35
attack = false 
36
attackdebounce = false 
37
deb=false
38
equipped=true
39
hand=false
40
MMouse=nil
41
combo=0
42
mana=0
43
trispeed=.2
44
attackmode='none'
45
local idle=0
46
local Anim="Idle"
47
local Effects={}
48
local gun=false
49
local shoot=false
50
player=nil 
51
mana=0
52
sphere=true
53
aura=false
54
blinking=true
55
rest=false
56
57
game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
58
        if jump == "Jump" then
59
                Humanoid.Jump = false
60
        end
61
end)
62
63
Humanoid.MaxHealth = 50000
64
wait(0.1)
65
Humanoid.Health = 50000
66
67
print("Giant Snowman loaded.")
68
print("This script was made by doremon0258")
69
70
RootPart.Transparency = 1
71
72
Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
73
74
Humanoid:findFirstChild("Animator"):Destroy()
75
76
Torso.Transparency = 1
77
Head.Transparency = 1
78
LeftLeg.Transparency = 1
79
RightLeg.Transparency = 1
80
LeftArm.Transparency = 1
81
RightArm.Transparency = 1
82
83
mouse=Player:GetMouse()
84
--save shoulders 
85
RSH, LSH=nil, nil 
86
--welds 
87
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
88
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
89
LH=Torso["Left Hip"]
90
RH=Torso["Right Hip"]
91
TorsoColor=Torso.BrickColor
92
function NoOutline(Part)
93
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
94
end
95
player=Player 
96
ch=Character
97
RSH=ch.Torso["Right Shoulder"] 
98
LSH=ch.Torso["Left Shoulder"] 
99
-- 
100
RSH.Parent=nil 
101
LSH.Parent=nil 
102
-- 
103
RW.Name="Right Shoulder"
104
RW.Part0=ch.Torso 
105
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
106
RW.C1=cf(0, 0.5, 0) 
107
RW.Part1=ch["Right Arm"] 
108
RW.Parent=ch.Torso 
109
-- 
110
LW.Name="Left Shoulder"
111
LW.Part0=ch.Torso 
112
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
113
LW.C1=cf(0, 0.5, 0) 
114
LW.Part1=ch["Left Arm"] 
115
LW.Parent=ch.Torso 
116
117
	Player=game:GetService('Players').LocalPlayer
118
	Character=Player.Character
119
	Mouse=Player:GetMouse()
120
	m=Instance.new('Model',Character)
121
122
music = Instance.new("Sound", Character)
123
music.SoundId = "http://www.roblox.com/asset/?id=340106355"
124
music.Volume = 0
125
music.Looped = true
126
wait(0.1)
127
music:Play()
128
129
music2 = Instance.new("Sound", Character)
130
music2.SoundId = "http://www.roblox.com/asset/?id=340106807"
131
music2.Volume = 0.5
132
music2.Looped = true
133
134
rawr = Instance.new("Sound", Character)
135
rawr.SoundId = "http://www.roblox.com/asset/?id=297472596"
136
rawr.Volume = 0.5
137
rawr.Looped = false
138
139
Beast = Instance.new("Model",Character)
140
Beast.Name = "The Beast from The Depths"
141
142
torsop=Instance.new("Part",Character)
143
torsop.FormFactor="Custom"
144
torsop.Size=Vector3.new(.2,.2,.2)
145
torsop.Transparency=0
146
torsop.CanCollide=false
147
torsop.BrickColor = BrickColor.new("Pastel light blue")
148
torsop.Material="Sand"
149
torsop.TopSurface="Smooth"
150
torsop.BottomSurface="Smooth"
151
torsop.RightSurface="Smooth"
152
torsop.LeftSurface="Smooth"
153
torsopw=Instance.new("Weld",Character)
154
torsopw.Part0=Character.Torso
155
torsopw.Part1=torsop
156
torsopw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
157
158
torso = Instance.new("SpecialMesh",torsop)
159
torso.MeshType = "Sphere"
160
torso.Scale = Vector3.new(45,45,45)
161
162
ghostp=Instance.new("Part",Character)
163
ghostp.FormFactor="Custom"
164
ghostp.Size=Vector3.new(0.2,0.2,0.2)
165
ghostp.Transparency=1
166
ghostp.CanCollide=false
167
ghostp.BrickColor = BrickColor.new("Institutional white")
168
ghostp.Material="Neon"
169
ghostp.TopSurface="Smooth"
170
ghostp.BottomSurface="Smooth"
171
ghostp.RightSurface="Smooth"
172
ghostp.LeftSurface="Smooth"
173
ghostw=Instance.new("Weld",Character)
174
ghostw.Part0=Character.Torso
175
ghostw.Part1=ghostp
176
ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
177
178
ghostmesh = Instance.new("FileMesh",ghostp)
179
ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
180
ghostmesh.Scale = Vector3.new(5,5,5)
181
182
ghostp2=Instance.new("Part",Character)
183
ghostp2.FormFactor="Custom"
184
ghostp2.Size=Vector3.new(0.2,0.2,0.2)
185
ghostp2.Transparency=1
186
ghostp2.CanCollide=false
187
ghostp2.BrickColor = BrickColor.new("Institutional white")
188
ghostp2.Material="Neon"
189
ghostp2.TopSurface="Smooth"
190
ghostp2.BottomSurface="Smooth"
191
ghostp2.RightSurface="Smooth"
192
ghostp2.LeftSurface="Smooth"
193
ghostw2=Instance.new("Weld",Character)
194
ghostw2.Part0=Character.Torso
195
ghostw2.Part1=ghostp2
196
ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
197
198
ghostmesh2 = Instance.new("FileMesh",ghostp2)
199
ghostmesh2.MeshId = "http://www.roblox.com/asset/?id=168892432"
200
ghostmesh2.Scale = Vector3.new(10,10,10)
201
202
ghostp3=Instance.new("Part",Character)
203
ghostp3.FormFactor="Custom"
204
ghostp3.Size=Vector3.new(0.2,0.2,0.2)
205
ghostp3.Transparency=1
206
ghostp3.CanCollide=false
207
ghostp3.BrickColor = BrickColor.new("Institutional white")
208
ghostp3.Material="Neon"
209
ghostp3.TopSurface="Smooth"
210
ghostp3.BottomSurface="Smooth"
211
ghostp3.RightSurface="Smooth"
212
ghostp2.LeftSurface="Smooth"
213
ghostw3=Instance.new("Weld",Character)
214
ghostw3.Part0=Character.Torso
215
ghostw3.Part1=ghostp3
216
ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
217
218
ghostmesh3 = Instance.new("FileMesh",ghostp3)
219
ghostmesh3.MeshId = "http://www.roblox.com/asset/?id=168892432"
220
ghostmesh3.Scale = Vector3.new(15,15,15)
221
222
ghostp4=Instance.new("Part",Character)
223
ghostp4.FormFactor="Custom"
224
ghostp4.Size=Vector3.new(0.2,0.2,0.2)
225
ghostp4.Transparency=1
226
ghostp4.CanCollide=false
227
ghostp4.BrickColor = BrickColor.new("Institutional white")
228
ghostp4.Material="Neon"
229
ghostp4.TopSurface="Smooth"
230
ghostp4.BottomSurface="Smooth"
231
ghostp4.RightSurface="Smooth"
232
ghostp4.LeftSurface="Smooth"
233
ghostw4=Instance.new("Weld",Character)
234
ghostw4.Part0=Character.Torso
235
ghostw4.Part1=ghostp4
236
ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
237
238
ghostmesh4 = Instance.new("FileMesh",ghostp4)
239
ghostmesh4.MeshId = "http://www.roblox.com/asset/?id=168892432"
240
ghostmesh4.Scale = Vector3.new(20,20,20)
241
242
ghostp5=Instance.new("Part",Character)
243
ghostp5.FormFactor="Custom"
244
ghostp5.Size=Vector3.new(0.2,0.2,0.2)
245
ghostp5.Transparency=1
246
ghostp5.CanCollide=false
247
ghostp5.BrickColor = BrickColor.new("Institutional white")
248
ghostp5.Material="Neon"
249
ghostp5.TopSurface="Smooth"
250
ghostp5.BottomSurface="Smooth"
251
ghostp5.RightSurface="Smooth"
252
ghostp5.LeftSurface="Smooth"
253
ghost5w=Instance.new("Weld",Character)
254
ghost5w.Part0=Character.Torso
255
ghost5w.Part1=ghostp5
256
ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
257
258
ghostmesh = Instance.new("FileMesh",ghostp5)
259
ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
260
ghostmesh.Scale = Vector3.new(2.5,2.5,2.5)
261
262
ghostp6=Instance.new("Part",Character)
263
ghostp6.FormFactor="Custom"
264
ghostp6.Size=Vector3.new(0.2,0.2,0.2)
265
ghostp6.Transparency=1
266
ghostp6.CanCollide=false
267
ghostp6.BrickColor = BrickColor.new("Institutional white")
268
ghostp6.Material="Neon"
269
ghostp6.TopSurface="Smooth"
270
ghostp6.BottomSurface="Smooth"
271
ghostp6.RightSurface="Smooth"
272
ghostp6.LeftSurface="Smooth"
273
ghost6w=Instance.new("Weld",Character)
274
ghost6w.Part0=Character.Torso
275
ghost6w.Part1=ghostp6
276
ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
277
278
ghostmesh = Instance.new("FileMesh",ghostp6)
279
ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
280
ghostmesh.Scale = Vector3.new(7.5,7.5,7.5)
281
282
ghostp7=Instance.new("Part",Character)
283
ghostp7.FormFactor="Custom"
284
ghostp7.Size=Vector3.new(0.2,0.2,0.2)
285
ghostp7.Transparency=1
286
ghostp7.CanCollide=false
287
ghostp7.BrickColor = BrickColor.new("Institutional white")
288
ghostp7.Material="Neon"
289
ghostp7.TopSurface="Smooth"
290
ghostp7.BottomSurface="Smooth"
291
ghostp7.RightSurface="Smooth"
292
ghostp7.LeftSurface="Smooth"
293
ghost7w=Instance.new("Weld",Character)
294
ghost7w.Part0=Character.Torso
295
ghost7w.Part1=ghostp7
296
ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
297
298
ghostmesh = Instance.new("FileMesh",ghostp7)
299
ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
300
ghostmesh.Scale = Vector3.new(12.5,12.5,12.5)
301
302
ghostp8=Instance.new("Part",Character)
303
ghostp8.FormFactor="Custom"
304
ghostp8.Size=Vector3.new(0.2,0.2,0.2)
305
ghostp8.Transparency=1
306
ghostp8.CanCollide=false
307
ghostp8.BrickColor = BrickColor.new("Institutional white")
308
ghostp8.Material="Neon"
309
ghostp8.TopSurface="Smooth"
310
ghostp8.BottomSurface="Smooth"
311
ghostp8.RightSurface="Smooth"
312
ghostp8.LeftSurface="Smooth"
313
ghost8w=Instance.new("Weld",Character)
314
ghost8w.Part0=Character.Torso
315
ghost8w.Part1=ghostp8
316
ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
317
318
ghostmesh = Instance.new("FileMesh",ghostp8)
319
ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
320
ghostmesh.Scale = Vector3.new(17.5,17.5,17.5)
321
322
eyeoutline=Instance.new("Part",Character)
323
eyeoutline.FormFactor="Custom"
324
eyeoutline.Size=Vector3.new(.2,.2,.2)
325
eyeoutline.Transparency=0
326
eyeoutline.CanCollide=false
327
eyeoutline.BrickColor = BrickColor.new("Really black")
328
eyeoutline.Material="SmoothPlastic"
329
eyeoutline.TopSurface="Smooth"
330
eyeoutline.BottomSurface="Smooth"
331
eyeoutline.RightSurface="Smooth"
332
eyeoutline.LeftSurface="Smooth"
333
eyeoutlinew=Instance.new("Weld",Character)
334
eyeoutlinew.Part0=Character.Torso
335
eyeoutlinew.Part1=eyeoutline
336
eyeoutlinew.C0=CFrame.new(-1.5,0,-4.1)*CFrame.Angles(0,math.rad(20),math.rad(0))
337
338
eyemesh = Instance.new("SpecialMesh",eyeoutline)
339
eyemesh.MeshType = "Sphere"
340
eyemesh.Scale = Vector3.new(8.5,8.5,2)
341
342
eyep=Instance.new("Part",Character)
343
eyep.FormFactor="Custom"
344
eyep.Size=Vector3.new(.2,.2,.2)
345
eyep.Transparency=0
346
eyep.CanCollide=false
347
eyep.BrickColor = BrickColor.new("Cyan")
348
eyep.Material="Neon"
349
eyep.TopSurface="Smooth"
350
eyep.BottomSurface="Smooth"
351
eyep.RightSurface="Smooth"
352
eyep.LeftSurface="Smooth"
353
eyepw=Instance.new("Weld",Character)
354
eyepw.Part0=eyeoutline
355
eyepw.Part1=eyep
356
eyepw.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
357
358
eyepmesh = Instance.new("SpecialMesh",eyep)
359
eyepmesh.MeshType = "Sphere"
360
eyepmesh.Scale = Vector3.new(7.5,7.5,2)
361
362
eyeoutline2=Instance.new("Part",Character)
363
eyeoutline2.FormFactor="Custom"
364
eyeoutline2.Size=Vector3.new(.2,.2,.2)
365
eyeoutline2.Transparency=0
366
eyeoutline2.CanCollide=false
367
eyeoutline2.BrickColor = BrickColor.new("Really black")
368
eyeoutline2.Material="SmoothPlastic"
369
eyeoutline2.TopSurface="Smooth"
370
eyeoutline2.BottomSurface="Smooth"
371
eyeoutline2.RightSurface="Smooth"
372
eyeoutline2.LeftSurface="Smooth"
373
eyeoutline2w=Instance.new("Weld",Character)
374
eyeoutline2w.Part0=Character.Torso
375
eyeoutline2w.Part1=eyeoutline2
376
eyeoutline2w.C0=CFrame.new(1.5,0,-4.1)*CFrame.Angles(0,math.rad(-20),math.rad(0))
377
378
eyemesh = Instance.new("SpecialMesh",eyeoutline2)
379
eyemesh.MeshType = "Sphere"
380
eyemesh.Scale = Vector3.new(8.5,8.5,2)
381
382
eyep2=Instance.new("Part",Character)
383
eyep2.FormFactor="Custom"
384
eyep2.Size=Vector3.new(.2,.2,.2)
385
eyep2.Transparency=0
386
eyep2.CanCollide=false
387
eyep2.BrickColor = BrickColor.new("Cyan")
388
eyep2.Material="Neon"
389
eyep2.TopSurface="Smooth"
390
eyep2.BottomSurface="Smooth"
391
eyep2.RightSurface="Smooth"
392
eyep2.LeftSurface="Smooth"
393
eyep2w=Instance.new("Weld",Character)
394
eyep2w.Part0=eyeoutline2
395
eyep2w.Part1=eyep2
396
eyep2w.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
397
398
eyep2mesh = Instance.new("SpecialMesh",eyep2)
399
eyep2mesh.MeshType = "Sphere"
400
eyep2mesh.Scale = Vector3.new(7.5,7.5,2)
401
402
local spotlight = Instance.new("SpotLight", eyep)
403
spotlight.Shadows = true
404
spotlight.Color = Color3.new(0, 0.666667, 1)
405
spotlight.Range = 24
406
spotlight.Angle = 60
407
spotlight.Brightness = 100
408
409
local spotlight2 = Instance.new("SpotLight", eyep2)
410
spotlight2.Shadows = true
411
spotlight2.Color = Color3.new(0, 0.666667, 1)
412
spotlight2.Range = 24
413
spotlight2.Angle = 60
414
spotlight2.Brightness = 100
415
416
local particleemitter = Instance.new("ParticleEmitter", Torso)
417
particleemitter.VelocitySpread = 180
418
particleemitter.Lifetime = NumberRange.new(1)
419
particleemitter.Speed = NumberRange.new(10)
420
particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
421
particleemitter.RotSpeed = NumberRange.new(-180, 180)
422
particleemitter.Rotation = NumberRange.new(-360, 360)
423
particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
424
particleemitter.LightEmission = 1
425
particleemitter.Texture = "http://www.roblox.com/asset/?id=320043786"
426
particleemitter.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
427
428
emitterp=Instance.new("Part",Character)
429
emitterp.FormFactor="Custom"
430
emitterp.Size=Vector3.new(5,.2,5)
431
emitterp.Transparency=1
432
emitterp.CanCollide=false
433
emitterp.BrickColor = BrickColor.new("Cyan")
434
emitterp.Material="Neon"
435
emitterp.TopSurface="Smooth"
436
emitterp.BottomSurface="Smooth"
437
emitterp.RightSurface="Smooth"
438
emitterp.LeftSurface="Smooth"
439
emitterpw=Instance.new("Weld",Character)
440
emitterpw.Part0=Character.Torso
441
emitterpw.Part1=emitterp
442
emitterpw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
443
444
local emitter = Instance.new("ParticleEmitter", emitterp)
445
emitter.EmissionDirection = "Bottom"
446
emitter.VelocitySpread = 30
447
emitter.Lifetime = NumberRange.new(1)
448
emitter.Speed = NumberRange.new(10)
449
emitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2, 0), NumberSequenceKeypoint.new(1, 2, 0)})
450
emitter.RotSpeed = NumberRange.new(-180, 180)
451
emitter.Rate = 1000
452
emitter.Rotation = NumberRange.new(-360, 360)
453
emitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
454
emitter.LightEmission = 1
455
emitter.Texture = "http://www.roblox.com/asset/?id=31727915"
456
emitter.Color = ColorSequence.new(Color3.new(0.596078, 0.847059, 1), Color3.new(0.596078, 0.847059, 1))
457
458
local eyeeffect = Instance.new("ParticleEmitter", eyep)
459
eyeeffect.Lifetime = NumberRange.new(1)
460
eyeeffect.Speed = NumberRange.new(0)
461
eyeeffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
462
eyeeffect.RotSpeed = NumberRange.new(1080)
463
eyeeffect.Rate = 25
464
eyeeffect.Rotation = NumberRange.new(-360, 360)
465
eyeeffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
466
eyeeffect.LightEmission = 0.5
467
eyeeffect.Texture = "http://www.roblox.com/asset/?id=242292288"
468
eyeeffect.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
469
eyeeffect.LockedToPart = true
470
eyeeffect.Enabled = false
471
472
local eyeeffect2 = Instance.new("ParticleEmitter", eyep2)
473
eyeeffect2.Lifetime = NumberRange.new(1)
474
eyeeffect2.Speed = NumberRange.new(0)
475
eyeeffect2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
476
eyeeffect2.RotSpeed = NumberRange.new(1080)
477
eyeeffect2.Rate = 25
478
eyeeffect2.Rotation = NumberRange.new(-360, 360)
479
eyeeffect2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
480
eyeeffect2.LightEmission = 0.5
481
eyeeffect2.Texture = "http://www.roblox.com/asset/?id=242292288"
482
eyeeffect2.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
483
eyeeffect2.LockedToPart = true
484
eyeeffect2.Enabled = false
485
486
coroutine.resume(coroutine.create(function(Part,Weld)
487
while Part.Parent~=nil do
488
wait(5)
489
for i=0,1,0.2 do
490
wait()
491
spotlight.Angle = 60-60*i
492
eyepmesh.Scale = Vector3.new(7.5,7.5-7.4*i,2)
493
end
494
for i=0,1,0.2 do
495
wait()
496
spotlight.Angle = 0+60*i
497
eyepmesh.Scale = Vector3.new(7.5,0.1+7.4*i,2)
498
end
499
spotlight.Angle = 60
500
end
501
end),eyep,eyepw)
502
503
coroutine.resume(coroutine.create(function(Part,Weld)
504
while Part.Parent~=nil do
505
wait(5)
506
for i=0,1,0.2 do
507
wait()
508
spotlight2.Angle = 60-60*i
509
eyep2mesh.Scale = Vector3.new(7.5,7.5-7.4*i,2)
510
end
511
for i=0,1,0.2 do
512
wait()
513
spotlight2.Angle = 0+60*i
514
eyep2mesh.Scale = Vector3.new(7.5,0.1+7.4*i,2)
515
end
516
spotlight2.Angle = 60
517
end
518
end),eyep2,eyep2w)
519
--------------------------------------------------------------
520
Arm = Instance.new("Model",Character)
521
Arm.Name = "Arm 1"
522
523
arm1p=Instance.new("Part",Character)
524
arm1p.FormFactor="Custom"
525
arm1p.Size=Vector3.new(.2,.2,.2)
526
arm1p.Transparency=0
527
arm1p.CanCollide=false
528
arm1p.BrickColor = BrickColor.new("Pastel light blue")
529
arm1p.Material="Sand"
530
arm1p.TopSurface="Smooth"
531
arm1p.BottomSurface="Smooth"
532
arm1p.RightSurface="Smooth"
533
arm1p.LeftSurface="Smooth"
534
arm1pw=Instance.new("Weld",Character)
535
arm1pw.Part0=Character["Right Arm"]
536
arm1pw.Part1=arm1p
537
arm1pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
538
539
arm1pmesh = Instance.new("SpecialMesh",arm1p)
540
arm1pmesh.MeshType = "Sphere"
541
arm1pmesh.Scale = Vector3.new(40,20,40)
542
543
local particleemitter2 = Instance.new("ParticleEmitter", arm1p)
544
particleemitter2.VelocitySpread = 180
545
particleemitter2.Lifetime = NumberRange.new(1)
546
particleemitter2.Speed = NumberRange.new(10)
547
particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
548
particleemitter2.RotSpeed = NumberRange.new(-180, 180)
549
particleemitter2.Rotation = NumberRange.new(-360, 360)
550
particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
551
particleemitter2.LightEmission = 1
552
particleemitter2.Texture = "http://www.roblox.com/asset/?id=320043786"
553
particleemitter2.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
554
particleemitter2.Enabled = false
555
556
arm1p2=Instance.new("Part",Character)
557
arm1p2.FormFactor="Custom"
558
arm1p2.Size=Vector3.new(.2,.2,.2)
559
arm1p2.Transparency=0
560
arm1p2.CanCollide=false
561
arm1p2.BrickColor = BrickColor.new("Pastel light blue")
562
arm1p2.Material="Sand"
563
arm1p2.TopSurface="Smooth"
564
arm1p2.BottomSurface="Smooth"
565
arm1p2.RightSurface="Smooth"
566
arm1p2.LeftSurface="Smooth"
567
arm1p2w=Instance.new("Weld",Character)
568
arm1p2w.Part0=arm1p
569
arm1p2w.Part1=arm1p2
570
arm1p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
571
572
arm1p2mesh = Instance.new("SpecialMesh",arm1p2)
573
arm1p2mesh.MeshType = "Cylinder"
574
arm1p2mesh.Scale = Vector3.new(30,20,30)
575
576
local particleemitter3 = Instance.new("ParticleEmitter", arm1p2)
577
particleemitter3.VelocitySpread = 180
578
particleemitter3.Lifetime = NumberRange.new(1)
579
particleemitter3.Speed = NumberRange.new(10)
580
particleemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
581
particleemitter3.RotSpeed = NumberRange.new(-180, 180)
582
particleemitter3.Rotation = NumberRange.new(-360, 360)
583
particleemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
584
particleemitter3.LightEmission = 1
585
particleemitter3.Texture = "http://www.roblox.com/asset/?id=320043786"
586
particleemitter3.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
587
particleemitter3.Enabled = false
588
589
arm1p3=Instance.new("Part",Character)
590
arm1p3.FormFactor="Custom"
591
arm1p3.Size=Vector3.new(.2,.2,.2)
592
arm1p3.Transparency=0
593
arm1p3.CanCollide=false
594
arm1p3.BrickColor = BrickColor.new("Pastel light blue")
595
arm1p3.Material="Sand"
596
arm1p3.TopSurface="Smooth"
597
arm1p3.BottomSurface="Smooth"
598
arm1p3.RightSurface="Smooth"
599
arm1p3.LeftSurface="Smooth"
600
arm1p3w=Instance.new("Weld",Character)
601
arm1p3w.Part0=arm1p2
602
arm1p3w.Part1=arm1p3
603
arm1p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
604
605
arm1p3mesh = Instance.new("SpecialMesh",arm1p3)
606
arm1p3mesh.MeshType = "Sphere"
607
arm1p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
608
609
local particleemitter4 = Instance.new("ParticleEmitter", arm1p3)
610
particleemitter4.VelocitySpread = 180
611
particleemitter4.Lifetime = NumberRange.new(1)
612
particleemitter4.Speed = NumberRange.new(10)
613
particleemitter4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
614
particleemitter4.RotSpeed = NumberRange.new(-180, 180)
615
particleemitter4.Rotation = NumberRange.new(-360, 360)
616
particleemitter4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
617
particleemitter4.LightEmission = 1
618
particleemitter4.Texture = "http://www.roblox.com/asset/?id=320043786"
619
particleemitter4.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
620
particleemitter4.Enabled = false
621
622
arm1p4=Instance.new("Part",Character)
623
arm1p4.FormFactor="Custom"
624
arm1p4.Size=Vector3.new(.2,.2,.2)
625
arm1p4.Transparency=0
626
arm1p4.CanCollide=false
627
arm1p4.BrickColor = BrickColor.new("Pastel light blue")
628
arm1p4.Material="Sand"
629
arm1p4.TopSurface="Smooth"
630
arm1p4.BottomSurface="Smooth"
631
arm1p4.RightSurface="Smooth"
632
arm1p4.LeftSurface="Smooth"
633
arm1p4w=Instance.new("Weld",Character)
634
arm1p4w.Part0=arm1p3
635
arm1p4w.Part1=arm1p4
636
arm1p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
637
638
arm1p4mesh = Instance.new("SpecialMesh",arm1p4)
639
arm1p4mesh.MeshType = "Cylinder"
640
arm1p4mesh.Scale = Vector3.new(30,20,30)
641
642
local particleemitter5 = Instance.new("ParticleEmitter", arm1p4)
643
particleemitter5.VelocitySpread = 180
644
particleemitter5.Lifetime = NumberRange.new(1)
645
particleemitter5.Speed = NumberRange.new(10)
646
particleemitter5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
647
particleemitter5.RotSpeed = NumberRange.new(-180, 180)
648
particleemitter5.Rotation = NumberRange.new(-360, 360)
649
particleemitter5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
650
particleemitter5.LightEmission = 1
651
particleemitter5.Texture = "http://www.roblox.com/asset/?id=320043786"
652
particleemitter5.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
653
particleemitter5.Enabled = false
654
655
arm1p5=Instance.new("Part",Character)
656
arm1p5.FormFactor="Custom"
657
arm1p5.Size=Vector3.new(.2,.2,.2)
658
arm1p5.Transparency=0
659
arm1p5.CanCollide=false
660
arm1p5.BrickColor = BrickColor.new("Pastel light blue")
661
arm1p5.Material="Sand"
662
arm1p5.TopSurface="Smooth"
663
arm1p5.BottomSurface="Smooth"
664
arm1p5.RightSurface="Smooth"
665
arm1p5.LeftSurface="Smooth"
666
arm1p5w=Instance.new("Weld",Character)
667
arm1p5w.Part0=arm1p4
668
arm1p5w.Part1=arm1p5
669
arm1p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
670
671
arm1p5mesh = Instance.new("SpecialMesh",arm1p5)
672
arm1p5mesh.MeshType = "Sphere"
673
arm1p5mesh.Scale = Vector3.new(30,30,30)
674
675
local particleemitter6 = Instance.new("ParticleEmitter", arm1p5)
676
particleemitter6.VelocitySpread = 180
677
particleemitter6.Lifetime = NumberRange.new(1)
678
particleemitter6.Speed = NumberRange.new(10)
679
particleemitter6.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
680
particleemitter6.RotSpeed = NumberRange.new(-180, 180)
681
particleemitter6.Rotation = NumberRange.new(-360, 360)
682
particleemitter6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
683
particleemitter6.LightEmission = 1
684
particleemitter6.Texture = "http://www.roblox.com/asset/?id=320043786"
685
particleemitter6.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
686
particleemitter6.Enabled = false
687
688
arm1p6=Instance.new("Part",Character)
689
arm1p6.FormFactor="Custom"
690
arm1p6.Size=Vector3.new(.2,.2,.2)
691
arm1p6.Transparency=0
692
arm1p6.CanCollide=false
693
arm1p6.BrickColor = BrickColor.new("Pastel light blue")
694
arm1p6.Material="Sand"
695
arm1p6.TopSurface="Smooth"
696
arm1p6.BottomSurface="Smooth"
697
arm1p6.RightSurface="Smooth"
698
arm1p6.LeftSurface="Smooth"
699
arm1p6w=Instance.new("Weld",Character)
700
arm1p6w.Part0=arm1p5
701
arm1p6w.Part1=arm1p6
702
arm1p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
703
704
arm1p6mesh = Instance.new("FileMesh",arm1p6)
705
arm1p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
706
arm1p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
707
708
arm1p7=Instance.new("Part",Character)
709
arm1p7.FormFactor="Custom"
710
arm1p7.Size=Vector3.new(.2,.2,.2)
711
arm1p7.Transparency=0
712
arm1p7.CanCollide=false
713
arm1p7.BrickColor = BrickColor.new("Pastel light blue")
714
arm1p7.Material="Sand"
715
arm1p7.TopSurface="Smooth"
716
arm1p7.BottomSurface="Smooth"
717
arm1p7.RightSurface="Smooth"
718
arm1p7.LeftSurface="Smooth"
719
arm1p7w=Instance.new("Weld",Character)
720
arm1p7w.Part0=arm1p
721
arm1p7w.Part1=arm1p7
722
arm1p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
723
724
arm1p7mesh = Instance.new("FileMesh",arm1p7)
725
arm1p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
726
arm1p7mesh.Scale = Vector3.new(5,10,5)
727
728
arm1hitbox=Instance.new("Part",Character)
729
arm1hitbox.FormFactor="Custom"
730
arm1hitbox.Size=Vector3.new(5,5,5)
731
arm1hitbox.Transparency=1
732
arm1hitbox.CanCollide=false
733
arm1hitbox.BrickColor = BrickColor.new("Pastel light blue")
734
arm1hitbox.Material="Sand"
735
arm1hitbox.TopSurface="Smooth"
736
arm1hitbox.BottomSurface="Smooth"
737
arm1hitbox.RightSurface="Smooth"
738
arm1hitbox.LeftSurface="Smooth"
739
arm1hitboxw=Instance.new("Weld",Character)
740
arm1hitboxw.Part0=arm1p6
741
arm1hitboxw.Part1=arm1hitbox
742
arm1hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
743
--------------------------------------------------------------
744
Arm2 = Instance.new("Model",Character)
745
Arm2.Name = "Arm 2"
746
747
arm2p=Instance.new("Part",Character)
748
arm2p.FormFactor="Custom"
749
arm2p.Size=Vector3.new(.2,.2,.2)
750
arm2p.Transparency=0
751
arm2p.CanCollide=false
752
arm2p.BrickColor = BrickColor.new("Pastel light blue")
753
arm2p.Material="Sand"
754
arm2p.TopSurface="Smooth"
755
arm2p.BottomSurface="Smooth"
756
arm2p.RightSurface="Smooth"
757
arm2p.LeftSurface="Smooth"
758
arm2pw=Instance.new("Weld",Character)
759
arm2pw.Part0=Character["Left Arm"]
760
arm2pw.Part1=arm2p
761
arm2pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(-90))
762
763
arm2pmesh = Instance.new("SpecialMesh",arm2p)
764
arm2pmesh.MeshType = "Sphere"
765
arm2pmesh.Scale = Vector3.new(40,20,40)
766
767
local particleemitter7 = Instance.new("ParticleEmitter", arm2p)
768
particleemitter7.VelocitySpread = 180
769
particleemitter7.Lifetime = NumberRange.new(1)
770
particleemitter7.Speed = NumberRange.new(10)
771
particleemitter7.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
772
particleemitter7.RotSpeed = NumberRange.new(-180, 180)
773
particleemitter7.Rotation = NumberRange.new(-360, 360)
774
particleemitter7.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
775
particleemitter7.LightEmission = 1
776
particleemitter7.Texture = "http://www.roblox.com/asset/?id=320043786"
777
particleemitter7.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
778
particleemitter7.Enabled = false
779
780
arm2p2=Instance.new("Part",Character)
781
arm2p2.FormFactor="Custom"
782
arm2p2.Size=Vector3.new(.2,.2,.2)
783
arm2p2.Transparency=0
784
arm2p2.CanCollide=false
785
arm2p2.BrickColor = BrickColor.new("Pastel light blue")
786
arm2p2.Material="Sand"
787
arm2p2.TopSurface="Smooth"
788
arm2p2.BottomSurface="Smooth"
789
arm2p2.RightSurface="Smooth"
790
arm2p2.LeftSurface="Smooth"
791
arm2p2w=Instance.new("Weld",Character)
792
arm2p2w.Part0=arm2p
793
arm2p2w.Part1=arm2p2
794
arm2p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
795
796
arm2p2mesh = Instance.new("SpecialMesh",arm2p2)
797
arm2p2mesh.MeshType = "Cylinder"
798
arm2p2mesh.Scale = Vector3.new(30,20,30)
799
800
local particleemitter8 = Instance.new("ParticleEmitter", arm2p2)
801
particleemitter8.VelocitySpread = 180
802
particleemitter8.Lifetime = NumberRange.new(1)
803
particleemitter8.Speed = NumberRange.new(10)
804
particleemitter8.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
805
particleemitter8.RotSpeed = NumberRange.new(-180, 180)
806
particleemitter8.Rotation = NumberRange.new(-360, 360)
807
particleemitter8.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
808
particleemitter8.LightEmission = 1
809
particleemitter8.Texture = "http://www.roblox.com/asset/?id=320043786"
810
particleemitter8.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
811
particleemitter8.Enabled = false
812
813
arm2p3=Instance.new("Part",Character)
814
arm2p3.FormFactor="Custom"
815
arm2p3.Size=Vector3.new(.2,.2,.2)
816
arm2p3.Transparency=0
817
arm2p3.CanCollide=false
818
arm2p3.BrickColor = BrickColor.new("Pastel light blue")
819
arm2p3.Material="Sand"
820
arm2p3.TopSurface="Smooth"
821
arm2p3.BottomSurface="Smooth"
822
arm2p3.RightSurface="Smooth"
823
arm2p3.LeftSurface="Smooth"
824
arm2p3w=Instance.new("Weld",Character)
825
arm2p3w.Part0=arm2p2
826
arm2p3w.Part1=arm2p3
827
arm2p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
828
829
arm2p3mesh = Instance.new("SpecialMesh",arm2p3)
830
arm2p3mesh.MeshType = "Sphere"
831
arm2p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
832
833
local particleemitter9 = Instance.new("ParticleEmitter", arm2p3)
834
particleemitter9.VelocitySpread = 180
835
particleemitter9.Lifetime = NumberRange.new(1)
836
particleemitter9.Speed = NumberRange.new(10)
837
particleemitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
838
particleemitter9.RotSpeed = NumberRange.new(-180, 180)
839
particleemitter9.Rotation = NumberRange.new(-360, 360)
840
particleemitter9.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
841
particleemitter9.LightEmission = 1
842
particleemitter9.Texture = "http://www.roblox.com/asset/?id=320043786"
843
particleemitter9.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
844
particleemitter9.Enabled = false
845
846
arm2p4=Instance.new("Part",Character)
847
arm2p4.FormFactor="Custom"
848
arm2p4.Size=Vector3.new(.2,.2,.2)
849
arm2p4.Transparency=0
850
arm2p4.CanCollide=false
851
arm2p4.BrickColor = BrickColor.new("Pastel light blue")
852
arm2p4.Material="Sand"
853
arm2p4.TopSurface="Smooth"
854
arm2p4.BottomSurface="Smooth"
855
arm2p4.RightSurface="Smooth"
856
arm2p4.LeftSurface="Smooth"
857
arm2p4w=Instance.new("Weld",Character)
858
arm2p4w.Part0=arm2p3
859
arm2p4w.Part1=arm2p4
860
arm2p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
861
862
arm2p4mesh = Instance.new("SpecialMesh",arm2p4)
863
arm2p4mesh.MeshType = "Cylinder"
864
arm2p4mesh.Scale = Vector3.new(30,20,30)
865
866
local particleemitter10 = Instance.new("ParticleEmitter", arm2p4)
867
particleemitter10.VelocitySpread = 180
868
particleemitter10.Lifetime = NumberRange.new(1)
869
particleemitter10.Speed = NumberRange.new(10)
870
particleemitter10.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
871
particleemitter10.RotSpeed = NumberRange.new(-180, 180)
872
particleemitter10.Rotation = NumberRange.new(-360, 360)
873
particleemitter10.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
874
particleemitter10.LightEmission = 1
875
particleemitter10.Texture = "http://www.roblox.com/asset/?id=320043786"
876
particleemitter10.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
877
particleemitter10.Enabled = false
878
879
arm2p5=Instance.new("Part",Character)
880
arm2p5.FormFactor="Custom"
881
arm2p5.Size=Vector3.new(.2,.2,.2)
882
arm2p5.Transparency=0
883
arm2p5.CanCollide=false
884
arm2p5.BrickColor = BrickColor.new("Pastel light blue")
885
arm2p5.Material="Sand"
886
arm2p5.TopSurface="Smooth"
887
arm2p5.BottomSurface="Smooth"
888
arm2p5.RightSurface="Smooth"
889
arm2p5.LeftSurface="Smooth"
890
arm2p5w=Instance.new("Weld",Character)
891
arm2p5w.Part0=arm2p4
892
arm2p5w.Part1=arm2p5
893
arm2p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
894
895
arm2p5mesh = Instance.new("SpecialMesh",arm2p5)
896
arm2p5mesh.MeshType = "Sphere"
897
arm2p5mesh.Scale = Vector3.new(30,30,30)
898
899
local particleemitter11 = Instance.new("ParticleEmitter", arm2p5)
900
particleemitter11.VelocitySpread = 180
901
particleemitter11.Lifetime = NumberRange.new(1)
902
particleemitter11.Speed = NumberRange.new(10)
903
particleemitter11.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
904
particleemitter11.RotSpeed = NumberRange.new(-180, 180)
905
particleemitter11.Rotation = NumberRange.new(-360, 360)
906
particleemitter11.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
907
particleemitter11.LightEmission = 1
908
particleemitter11.Texture = "http://www.roblox.com/asset/?id=320043786"
909
particleemitter11.Color = ColorSequence.new(Color3.new(0, 0.666667, 1), Color3.new(0, 0.666667, 1))
910
particleemitter11.Enabled = false
911
912
arm2p6=Instance.new("Part",Character)
913
arm2p6.FormFactor="Custom"
914
arm2p6.Size=Vector3.new(.2,.2,.2)
915
arm2p6.Transparency=0
916
arm2p6.CanCollide=false
917
arm2p6.BrickColor = BrickColor.new("Pastel light blue")
918
arm2p6.Material="Sand"
919
arm2p6.TopSurface="Smooth"
920
arm2p6.BottomSurface="Smooth"
921
arm2p6.RightSurface="Smooth"
922
arm2p6.LeftSurface="Smooth"
923
arm2p6w=Instance.new("Weld",Character)
924
arm2p6w.Part0=arm2p5
925
arm2p6w.Part1=arm2p6
926
arm2p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
927
928
arm2p6mesh = Instance.new("FileMesh",arm2p6)
929
arm2p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
930
arm2p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
931
932
arm2p7=Instance.new("Part",Character)
933
arm2p7.FormFactor="Custom"
934
arm2p7.Size=Vector3.new(.2,.2,.2)
935
arm2p7.Transparency=0
936
arm2p7.CanCollide=false
937
arm2p7.BrickColor = BrickColor.new("Pastel light blue")
938
arm2p7.Material="Sand"
939
arm2p7.TopSurface="Smooth"
940
arm2p7.BottomSurface="Smooth"
941
arm2p7.RightSurface="Smooth"
942
arm2p7.LeftSurface="Smooth"
943
arm2p7w=Instance.new("Weld",Character)
944
arm2p7w.Part0=arm2p
945
arm2p7w.Part1=arm2p7
946
arm2p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
947
948
arm2p7mesh = Instance.new("FileMesh",arm2p7)
949
arm2p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
950
arm2p7mesh.Scale = Vector3.new(5,10,5)
951
952
arm2hitbox=Instance.new("Part",Character)
953
arm2hitbox.FormFactor="Custom"
954
arm2hitbox.Size=Vector3.new(5,5,5)
955
arm2hitbox.Transparency=1
956
arm2hitbox.CanCollide=false
957
arm2hitbox.BrickColor = BrickColor.new("Pastel light blue")
958
arm2hitbox.Material="Sand"
959
arm2hitbox.TopSurface="Smooth"
960
arm2hitbox.BottomSurface="Smooth"
961
arm2hitbox.RightSurface="Smooth"
962
arm2hitbox.LeftSurface="Smooth"
963
arm2hitboxw=Instance.new("Weld",Character)
964
arm2hitboxw.Part0=arm2p6
965
arm2hitboxw.Part1=arm2hitbox
966
arm2hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
967
--------------------------------------------------------------
968
969
	local function weldBetween(a, b)
970
	    local weldd = Instance.new("ManualWeld")
971
	    weldd.Part0 = a
972
	    weldd.Part1 = b
973
	    weldd.C0 = CFrame.new()
974
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
975
	    weldd.Parent = a
976
	    return weldd
977
	end
978
	
979
	function swait(num)
980
    if num==0 or num==nil then
981
    game:service'RunService'.Stepped:wait(0)
982
    else
983
    for i=0,num do
984
    game:service'RunService'.Stepped:wait(0)
985
    end
986
    end
987
	    end
988
	
989
	function nooutline(part)
990
		part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
991
	end
992
	
993
	function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
994
		local fp=it("Part")
995
		fp.formFactor=formfactor
996
		fp.Parent=parent
997
		fp.Reflectance=reflectance
998
		fp.Transparency=transparency
999
		fp.CanCollide=false
1000
		fp.Locked=true
1001
		fp.BrickColor=BrickColor.new(tostring(brickcolor))
1002
		fp.Name=name
1003
		fp.Size=size
1004
		fp.Position=Character.Torso.Position
1005
		nooutline(fp)
1006
		fp.Material=material
1007
		fp:BreakJoints()
1008
		return fp
1009
	end
1010
	
1011
	function mesh(Mesh,part,meshtype,meshid,offset,scale)
1012
		local mesh=it(Mesh)
1013
		mesh.Parent=part
1014
		if Mesh=="SpecialMesh" then
1015
			mesh.MeshType=meshtype
1016
			mesh.MeshId=meshid
1017
		end
1018
		mesh.Offset=offset
1019
		mesh.Scale=scale
1020
		return mesh
1021
	end
1022
	
1023
	function weld(parent,part0,part1,c0,c1)
1024
		local weld=it("Weld")
1025
		weld.Parent=parent
1026
		weld.Part0=part0
1027
		weld.Part1=part1
1028
		weld.C0=c0
1029
		weld.C1=c1
1030
		return weld
1031
	end
1032
	
1033
	
1034
local function CFrameFromTopBack(at, top, back)
1035
local right = top:Cross(back)
1036
return CFrame.new(at.x, at.y, at.z,
1037
right.x, top.x, back.x,
1038
right.y, top.y, back.y,
1039
right.z, top.z, back.z)
1040
end
1041
1042
function Triangle(a, b, c)
1043
local edg1 = (c-a):Dot((b-a).unit)
1044
local edg2 = (a-b):Dot((c-b).unit)
1045
local edg3 = (b-c):Dot((a-c).unit)
1046
if edg1 <= (b-a).magnitude and edg1 >= 0 then
1047
a, b, c = a, b, c
1048
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
1049
a, b, c = b, c, a
1050
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
1051
a, b, c = c, a, b
1052
else
1053
assert(false, "unreachable")
1054
end
1055
 
1056
local len1 = (c-a):Dot((b-a).unit)
1057
local len2 = (b-a).magnitude - len1
1058
local width = (a + (b-a).unit*len1 - c).magnitude
1059
 
1060
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
1061
 
1062
local list = {}
1063
1064
local TrailColor = ("Dark grey")
1065
 
1066
if len1 > 0.01 then
1067
local w1 = Instance.new('WedgePart', m)
1068
game:GetService("Debris"):AddItem(w1,5)
1069
w1.Material = "SmoothPlastic"
1070
w1.FormFactor = 'Custom'
1071
w1.BrickColor = BrickColor.new(TrailColor)
1072
w1.Transparency = 0
1073
w1.Reflectance = 0
1074
w1.Material = "SmoothPlastic"
1075
w1.CanCollide = false
1076
NoOutline(w1)
1077
local sz = Vector3.new(0.2, width, len1)
1078
w1.Size = sz
1079
local sp = Instance.new("SpecialMesh",w1)
1080
sp.MeshType = "Wedge"
1081
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
1082
w1:BreakJoints()
1083
w1.Anchored = true
1084
w1.Parent = workspace
1085
w1.Transparency = 0.7
1086
table.insert(Effects,{w1,"Disappear",.01})
1087
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
1088
table.insert(list,w1)
1089
end
1090
 
1091
if len2 > 0.01 then
1092
local w2 = Instance.new('WedgePart', m)
1093
game:GetService("Debris"):AddItem(w2,5)
1094
w2.Material = "SmoothPlastic"
1095
w2.FormFactor = 'Custom'
1096
w2.BrickColor = BrickColor.new(TrailColor)
1097
w2.Transparency = 0
1098
w2.Reflectance = 0
1099
w2.Material = "SmoothPlastic"
1100
w2.CanCollide = false
1101
NoOutline(w2)
1102
local sz = Vector3.new(0.2, width, len2)
1103
w2.Size = sz
1104
local sp = Instance.new("SpecialMesh",w2)
1105
sp.MeshType = "Wedge"
1106
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
1107
w2:BreakJoints()
1108
w2.Anchored = true
1109
w2.Parent = workspace
1110
w2.Transparency = 0.7
1111
table.insert(Effects,{w2,"Disappear",.01})
1112
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
1113
table.insert(list,w2)
1114
end
1115
return unpack(list)
1116
end
1117
	
1118
	
1119
so = function(id,par,vol,pit) 
1120
coroutine.resume(coroutine.create(function()
1121
local sou = Instance.new("Sound",par or workspace)
1122
sou.Volume=vol
1123
sou.Pitch=pit or 1
1124
sou.SoundId=id
1125
swait() 
1126
sou:play() 
1127
game:GetService("Debris"):AddItem(sou,6)
1128
end))
1129
end
1130
 
1131
function clerp(a,b,t) 
1132
local qa = {QuaternionFromCFrame(a)}
1133
local qb = {QuaternionFromCFrame(b)} 
1134
local ax, ay, az = a.x, a.y, a.z 
1135
local bx, by, bz = b.x, b.y, b.z
1136
local _t = 1-t
1137
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
1138
end 
1139
 
1140
function QuaternionFromCFrame(cf) 
1141
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
1142
local trace = m00 + m11 + m22 
1143
if trace > 0 then 
1144
local s = math.sqrt(1 + trace) 
1145
local recip = 0.5/s 
1146
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
1147
else 
1148
local i = 0 
1149
if m11 > m00 then
1150
i = 1
1151
end
1152
if m22 > (i == 0 and m00 or m11) then 
1153
i = 2 
1154
end 
1155
if i == 0 then 
1156
local s = math.sqrt(m00-m11-m22+1) 
1157
local recip = 0.5/s 
1158
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
1159
elseif i == 1 then 
1160
local s = math.sqrt(m11-m22-m00+1) 
1161
local recip = 0.5/s 
1162
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
1163
elseif i == 2 then 
1164
local s = math.sqrt(m22-m00-m11+1) 
1165
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
1166
end 
1167
end 
1168
end
1169
 
1170
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
1171
local xs, ys, zs = x + x, y + y, z + z 
1172
local wx, wy, wz = w*xs, w*ys, w*zs 
1173
local xx = x*xs 
1174
local xy = x*ys 
1175
local xz = x*zs 
1176
local yy = y*ys 
1177
local yz = y*zs 
1178
local zz = z*zs 
1179
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)) 
1180
end
1181
 
1182
function QuaternionSlerp(a, b, t) 
1183
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
1184
local startInterp, finishInterp; 
1185
if cosTheta >= 0.0001 then 
1186
if (1 - cosTheta) > 0.0001 then 
1187
local theta = math.acos(cosTheta) 
1188
local invSinTheta = 1/math.sin(theta) 
1189
startInterp = math.sin((1-t)*theta)*invSinTheta 
1190
finishInterp = math.sin(t*theta)*invSinTheta  
1191
else 
1192
startInterp = 1-t 
1193
finishInterp = t 
1194
end 
1195
else 
1196
if (1+cosTheta) > 0.0001 then 
1197
local theta = math.acos(-cosTheta) 
1198
local invSinTheta = 1/math.sin(theta) 
1199
startInterp = math.sin((t-1)*theta)*invSinTheta 
1200
finishInterp = math.sin(t*theta)*invSinTheta 
1201
else 
1202
startInterp = t-1 
1203
finishInterp = t 
1204
end 
1205
end 
1206
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 
1207
end
1208
1209
--Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1210
1211
1212
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
1213
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
1214
end 
1215
1216
Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
1217
        if hit.Parent==nil then
1218
                return
1219
        end
1220
        h=hit.Parent:FindFirstChild("Humanoid")
1221
        for _,v in pairs(hit.Parent:children()) do
1222
        if v:IsA("Humanoid") then
1223
        h=v
1224
        end
1225
        end
1226
        if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
1227
        h=hit.Parent.Parent:FindFirstChild("Humanoid")
1228
        end
1229
        if hit.Parent.className=="Hat" then
1230
        hit=hit.Parent.Parent:findFirstChild("Head")
1231
        end
1232
        if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
1233
        if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
1234
        --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
1235
                        return
1236
                end]]
1237
--                        hs(hit,1.2) 
1238
                        c=Instance.new("ObjectValue")
1239
                        c.Name="creator"
1240
                        c.Value=game:service("Players").LocalPlayer
1241
                        c.Parent=h
1242
                        game:GetService("Debris"):AddItem(c,.5)
1243
                Damage=math.random(minim,maxim)
1244
--                h:TakeDamage(Damage)
1245
                blocked=false
1246
                block=hit.Parent:findFirstChild("Block")
1247
                if block~=nil then
1248
                print(block.className)
1249
                if block.className=="NumberValue" then
1250
                if block.Value>0 then
1251
                blocked=true
1252
                if decreaseblock==nil then
1253
                block.Value=block.Value-1
1254
                end
1255
                end
1256
                end
1257
                if block.className=="IntValue" then
1258
                if block.Value>0 then
1259
                blocked=true
1260
                if decreaseblock~=nil then
1261
                block.Value=block.Value-1
1262
                end
1263
                end
1264
                end
1265
                end
1266
                if blocked==false then
1267
--                h:TakeDamage(Damage)
1268
                h.Health=h.Health-Damage
1269
                showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
1270
                else
1271
                h.Health=h.Health-(Damage/2)
1272
                showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
1273
                end
1274
                if Type=="Knockdown" then
1275
                hum=hit.Parent.Humanoid
1276
hum.PlatformStand=true
1277
coroutine.resume(coroutine.create(function(HHumanoid)
1278
swait(1)
1279
HHumanoid.PlatformStand=false
1280
end),hum)
1281
                local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
1282
--hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
1283
local bodvol=Instance.new("BodyVelocity")
1284
bodvol.velocity=angle*knockback
1285
bodvol.P=5000
1286
bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
1287
bodvol.Parent=hit
1288
rl=Instance.new("BodyAngularVelocity")
1289
rl.P=3000
1290
rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
1291
rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
1292
rl.Parent=hit
1293
game:GetService("Debris"):AddItem(bodvol,.5)
1294
game:GetService("Debris"):AddItem(rl,.5)
1295
                elseif Type=="Normal" then
1296
                so("http://www.roblox.com/asset/?id=220834019",hit,1,math.random(80,120)/100) 
1297
                vp=Instance.new("BodyVelocity")
1298
                vp.P=500
1299
                vp.maxForce=Vector3.new(math.huge,0,math.huge)
1300
--                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
1301
                if KnockbackType==1 then
1302
                vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
1303
                elseif KnockbackType==2 then
1304
                vp.velocity=Property.CFrame.lookVector*knockback
1305
                end
1306
                if knockback>0 then
1307
                        vp.Parent=hit.Parent.Torso
1308
                end
1309
                game:GetService("Debris"):AddItem(vp,.5)
1310
                elseif Type=="Up" then
1311
                local bodyVelocity=Instance.new("BodyVelocity")
1312
                bodyVelocity.velocity=vt(0,60,0)
1313
                bodyVelocity.P=5000
1314
                bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
1315
                bodyVelocity.Parent=hit
1316
                game:GetService("Debris"):AddItem(bodyVelocity,1)
1317
                rl=Instance.new("BodyAngularVelocity")
1318
                rl.P=3000
1319
                rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
1320
                rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
1321
                rl.Parent=hit
1322
                game:GetService("Debris"):AddItem(rl,.5)
1323
                elseif Type=="Snare" then
1324
                bp=Instance.new("BodyPosition")
1325
                bp.P=2000
1326
                bp.D=100
1327
                bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1328
                bp.position=hit.Parent.Torso.Position
1329
                bp.Parent=hit.Parent.Torso
1330
                game:GetService("Debris"):AddItem(bp,1)
1331
                elseif Type=="Target" then
1332
                if Targetting==false then
1333
                ZTarget=hit.Parent.Torso
1334
                coroutine.resume(coroutine.create(function(Part) 
1335
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
1336
                swait(5)
1337
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
1338
                end),ZTarget)
1339
                TargHum=ZTarget.Parent:findFirstChild("Humanoid")
1340
                targetgui=Instance.new("BillboardGui")
1341
                targetgui.Parent=ZTarget
1342
                targetgui.Size=UDim2.new(10,100,10,100)
1343
                targ=Instance.new("ImageLabel")
1344
                targ.Parent=targetgui
1345
                targ.BackgroundTransparency=1
1346
                targ.Image="rbxassetid://4834067"
1347
                targ.Size=UDim2.new(1,0,1,0)
1348
                cam.CameraType="Scriptable"
1349
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
1350
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
1351
                workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
1352
                Targetting=true
1353
                RocketTarget=ZTarget
1354
                for i=1,Property do
1355
                --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
1356
                if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
1357
                swait()
1358
                end
1359
                --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
1360
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
1361
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
1362
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
1363
                end
1364
                Targetting=false
1365
                RocketTarget=nil
1366
                targetgui.Parent=nil
1367
                cam.CameraType="Custom"
1368
                end
1369
                end
1370
                        debounce=Instance.new("BoolValue")
1371
                        debounce.Name="DebounceHit"
1372
                        debounce.Parent=hit.Parent
1373
                        debounce.Value=true
1374
                        game:GetService("Debris"):AddItem(debounce,Delay)
1375
                        c=Instance.new("ObjectValue")
1376
                        c.Name="creator"
1377
                        c.Value=Player
1378
                        c.Parent=h
1379
                        game:GetService("Debris"):AddItem(c,.5)
1380
                CRIT=false
1381
                hitDeb=true
1382
                AttackPos=6
1383
        end
1384
end
1385
 
1386
showDamage=function(Char,Dealt,du,Color)
1387
        m=Instance.new("Model")
1388
        m.Name=tostring(Dealt)
1389
        h=Instance.new("Humanoid")
1390
        h.Health=0
1391
        h.MaxHealth=0
1392
        h.Parent=m
1393
        c=Instance.new("Part")
1394
        c.Transparency=0
1395
        c.BrickColor=BrickColor.new("Bright red")
1396
        c.Name="Head"
1397
        c.TopSurface=0
1398
        c.BottomSurface=0
1399
        c.formFactor="Plate"
1400
        c.Size=Vector3.new(1,.4,1)
1401
        ms=Instance.new("CylinderMesh")
1402
        ms.Scale=Vector3.new(.8,.8,.8)
1403
        if CRIT==true then
1404
                ms.Scale=Vector3.new(1,1.25,1)
1405
        end
1406
        ms.Parent=c
1407
        c.Reflectance=0
1408
        Instance.new("BodyGyro").Parent=c
1409
        c.Parent=m
1410
        if Char:findFirstChild("Head")~=nil then
1411
        c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
1412
        elseif Char.Parent:findFirstChild("Head")~=nil then
1413
        c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
1414
        end
1415
        f=Instance.new("BodyPosition")
1416
        f.P=2000
1417
        f.D=100
1418
        f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1419
        f.position=c.Position+Vector3.new(0,3,0)
1420
        f.Parent=c
1421
        game:GetService("Debris"):AddItem(m,.5+du)
1422
        c.CanCollide=false
1423
        m.Parent=workspace
1424
        c.CanCollide=false
1425
end
1426
1427
function Shockwave2(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
1428
	local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1429
	prt.Anchored = true
1430
	prt.CFrame = cframe
1431
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
1432
	coroutine.resume(coroutine.create(function() 
1433
		for i = 0, 1, delay do
1434
			swait()
1435
			prt.Transparency = i
1436
			msh.Scale = msh.Scale + vt(x2, y2, z2)
1437
		end
1438
		prt.Parent = nil
1439
	end))
1440
end
1441
1442
function attackone()
1443
attack=true
1444
for i=0,1,0.04 do
1445
swait()
1446
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1)
1447
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
1448
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
1449
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
1450
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
1451
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
1452
arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
1453
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,4)*angles(math.rad(60),math.rad(90),math.rad(-90)),0.2)
1454
arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1455
arm1p4w.C0=clerp(arm1p4w.C0,cf(1.5,3,0)*angles(math.rad(0),math.rad(0),math.rad(-120)),0.2)
1456
arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1457
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1458
arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
1459
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
1460
arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1461
arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
1462
arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1463
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
1464
end
1465
so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,1) 
1466
con1=arm1hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end) 
1467
for i=0,1,0.2 do
1468
swait()
1469
Shockwave(BrickColor.new("Institutional white"),cf(arm1hitbox.Position),1,1,1,1,1,1,0.075)
1470
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
1471
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
1472
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
1473
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
1474
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
1475
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
1476
arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
1477
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
1478
arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1479
arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1480
arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1481
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1482
arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
1483
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
1484
arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1485
arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
1486
arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1487
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
1488
end
1489
for i=0,1,0.04 do
1490
swait()
1491
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
1492
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
1493
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
1494
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
1495
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
1496
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
1497
arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
1498
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
1499
arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1500
arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1501
arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1502
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1503
arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
1504
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
1505
arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1506
arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
1507
arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1508
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
1509
end
1510
con1:disconnect()
1511
attack=false
1512
end
1513
1514
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
1515
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
1516
end
1517
1518
function attacktwo()
1519
attack=true
1520
for i=0,1,0.04 do
1521
swait()
1522
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
1523
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
1524
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
1525
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
1526
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
1527
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
1528
arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
1529
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
1530
arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1531
arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
1532
arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1533
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1534
arm2pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(0),math.rad(120),math.rad(-90)),0.2)
1535
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
1536
arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1537
arm2p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(0),math.rad(0),math.rad(-75)),0.2)
1538
arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1539
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
1540
end
1541
so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,0.8) 
1542
con1=arm2hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end) 
1543
for i=0,1,0.2 do
1544
swait()
1545
Shockwave(BrickColor.new("Institutional white"),cf(arm2hitbox.Position),1,1,1,1,1,1,0.075)
1546
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
1547
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
1548
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
1549
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
1550
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
1551
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
1552
arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
1553
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
1554
arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1555
arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
1556
arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1557
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1558
arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-30),math.rad(0),math.rad(-90)),0.3)
1559
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
1560
arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1561
arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
1562
arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1563
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
1564
end
1565
Humanoid.WalkSpeed = 0
1566
local hit,pos=rayCast(arm2hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
1567
if hit~=nil then
1568
swait()
1569
print("touched")
1570
local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
1571
ref.Anchored=true
1572
ref.CFrame=cf(pos)
1573
game:GetService("Debris"):AddItem(ref,3)
1574
so("http://www.roblox.com/asset/?id=199145477",arm2hitbox,1,math.random(60,140)/100)
1575
Shockwave2(BrickColor.new("Pastel light blue"),cf(pos),0.1,0.1,0.1,1,1,1,0.05)
1576
end
1577
for i=0,1,0.04 do
1578
swait()
1579
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
1580
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
1581
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
1582
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
1583
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
1584
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
1585
arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
1586
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
1587
arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1588
arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
1589
arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1590
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
1591
arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-20),math.rad(0),math.rad(-90)),0.3)
1592
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
1593
arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1594
arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
1595
arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1596
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
1597
end
1598
Humanoid.WalkSpeed = 64
1599
con1:disconnect()
1600
attack=false
1601
end
1602
1603
lasereye=1
1604
1605
mouse.Button1Down:connect(function()
1606
if attack==false and attacktype==1 and sphere==false then
1607
attackone()
1608
attacktype=2
1609
elseif attack==false and attacktype==2 and sphere==false then
1610
attacktwo()
1611
attacktype=1
1612
end
1613
if attack==false and used==false and sphere==true and rest==false and lasereye==1 then
1614
lasereye=2
1615
LaserBlaster()
1616
elseif attack==false and used==false and sphere==true and rest==false and lasereye==2 then
1617
lasereye=1
1618
LaserBlaster2()
1619
end
1620
end)
1621
1622
function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1623
	local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1624
	prt.Anchored = true
1625
	prt.CFrame = cframe
1626
	prt.Material = "Neon"
1627
	local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
1628
	game:GetService("Debris"):AddItem(prt, 2)
1629
	coroutine.resume(coroutine.create(function(Part, Mesh) 
1630
		for i = 0, 1, delay do
1631
			swait()
1632
			Part.CFrame = Part.CFrame
1633
			Part.Transparency = i
1634
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1635
		end
1636
		Part.Parent = nil
1637
	end), prt, msh)
1638
end
1639
1640
function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1641
	local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1642
	prt.Anchored = true
1643
	prt.CFrame = cframe
1644
	prt.Material = "Neon"
1645
	local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
1646
	game:GetService("Debris"):AddItem(prt, 2)
1647
	coroutine.resume(coroutine.create(function(Part, Mesh) 
1648
		for i = 0, 1, delay do
1649
			swait()
1650
			Part.CFrame = Part.CFrame
1651
			Part.Transparency = i
1652
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1653
		end
1654
		Part.Parent = nil
1655
	end), prt, msh)
1656
end
1657
1658
MMouse=mouse 
1659
LaserTarget=RootPart
1660
used=false
1661
1662
function LaserBlaster()
1663
used=true
1664
so("http://www.roblox.com/asset/?id=167122623",eyep,1,math.random(60,80)/100)
1665
local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
1666
local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
1667
local mag=(eyep.Position-pos).magnitude 
1668
Laser(BrickColor.new("Cyan"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
1669
if hit~=nil then
1670
local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
1671
ref.Anchored=true
1672
ref.CFrame=cf(pos)
1673
game:GetService("Debris"):AddItem(ref,1)
1674
so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
1675
Shockwave(BrickColor.new("Cyan"),cf(pos),1,1,1,1,1,1,0.075)
1676
Damagefunc(hit,20,40,0,"Normal",RootPart,0)
1677
end
1678
for i=0,1,0.2 do
1679
swait()
1680
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
1681
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
1682
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1683
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1684
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
1685
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
1686
arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1687
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1688
arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1689
arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1690
arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1691
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1692
arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1693
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1694
arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1695
arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1696
arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1697
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1698
end
1699
wait(0.25)
1700
used=false
1701
end
1702
1703
function LaserBlaster2()
1704
used=true
1705
so("http://www.roblox.com/asset/?id=167122623",eyep2,1,math.random(60,80)/100)
1706
local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
1707
local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
1708
local mag=(eyep2.Position-pos).magnitude 
1709
Laser(BrickColor.new("Cyan"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
1710
if hit~=nil then
1711
local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
1712
ref.Anchored=true
1713
ref.CFrame=cf(pos)
1714
game:GetService("Debris"):AddItem(ref,1)
1715
so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
1716
Shockwave(BrickColor.new("Cyan"),cf(pos),1,1,1,1,1,1,0.075)
1717
Damagefunc(hit,20,40,0,"Normal",RootPart,0)
1718
end
1719
for i=0,1,0.2 do
1720
swait()
1721
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
1722
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
1723
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1724
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1725
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
1726
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
1727
arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1728
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1729
arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1730
arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1731
arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1732
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1733
arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1734
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1735
arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1736
arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1737
arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1738
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1739
end
1740
wait(0.25)
1741
used=false
1742
end
1743
1744
used2=false
1745
1746
function GiantLaserBlaster()
1747
used2=true
1748
so("http://www.roblox.com/asset/?id=137463716",eyep,1,math.random(60,80)/100) 
1749
eyeeffect.Enabled = true
1750
wait(1.6)
1751
eyeeffect.Enabled = false
1752
so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
1753
so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
1754
so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
1755
so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
1756
local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
1757
local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
1758
local mag=(eyep.Position-pos).magnitude 
1759
Laser(BrickColor.new("Cyan"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05)
1760
if hit~=nil then
1761
local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
1762
ref.Anchored=true
1763
ref.CFrame=cf(pos)
1764
game:GetService("Debris"):AddItem(ref,1)
1765
so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
1766
Shockwave(BrickColor.new("Cyan"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
1767
Damagefunc(hit,40,80,0,"Normal",RootPart,0)
1768
end
1769
for i=0,1,0.1 do
1770
swait()
1771
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
1772
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
1773
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1774
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1775
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
1776
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
1777
arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1778
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1779
arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1780
arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1781
arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1782
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1783
arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1784
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1785
arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1786
arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1787
arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1788
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1789
end
1790
wait(3)
1791
used2=false
1792
end
1793
1794
function GiantLaserBlaster2()
1795
used2=true
1796
so("http://www.roblox.com/asset/?id=137463716",eyep2,1,math.random(60,80)/100) 
1797
eyeeffect2.Enabled = true
1798
wait(1.6)
1799
eyeeffect2.Enabled = false
1800
so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
1801
so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
1802
so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
1803
so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
1804
local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
1805
local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
1806
local mag=(eyep2.Position-pos).magnitude 
1807
Laser(BrickColor.new("Cyan"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05)
1808
if hit~=nil then
1809
local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
1810
ref.Anchored=true
1811
ref.CFrame=cf(pos)
1812
game:GetService("Debris"):AddItem(ref,1)
1813
so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
1814
Shockwave(BrickColor.new("Cyan"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
1815
Damagefunc(hit,40,80,0,"Normal",RootPart,0)
1816
end
1817
for i=0,1,0.1 do
1818
swait()
1819
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
1820
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
1821
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1822
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1823
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
1824
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
1825
arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1826
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1827
arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1828
arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1829
arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1830
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1831
arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1832
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1833
arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1834
arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1835
arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1836
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
1837
end
1838
wait(3)
1839
used2=false
1840
end
1841
1842
function Hibernation()
1843
	if rest==false then
1844
	print("You are now resting.")
1845
	rest=true
1846
	attack=true
1847
	emitter.Enabled = false
1848
	particleemitter.Enabled = false
1849
	for i=0,1,0.15 do
1850
	wait()
1851
	Humanoid.CameraOffset = Vector3.new(0, 12.5-12.5*i, 0)
1852
	music.Volume = 0.5-0.5*i
1853
	--eyep2mesh.Scale = Vector3.new(8.5,8.5-8.4*i,2)
1854
	--eyepmesh.Scale = Vector3.new(8.5,8.5-8.4*i,2)
1855
	end
1856
	music.Volume = 0
1857
	Humanoid.CameraOffset = Vector3.new(0, 0, 0)
1858
	attack=false
1859
	Humanoid.WalkSpeed = 0
1860
	elseif rest==true then
1861
	print("You are now awake.")
1862
	rest=false
1863
	attack=true
1864
	for i=0,1,0.15 do
1865
	wait()
1866
	Humanoid.CameraOffset = Vector3.new(0, 0+12.5*i, 0)
1867
	music.Volume = 0+0.5*i
1868
	--eyep2mesh.Scale = Vector3.new(8.5,0.1+8.4*i,2)
1869
	--eyepmesh.Scale = Vector3.new(8.5,0.1+8.4*i,2)
1870
	end
1871
	emitter.Enabled = true
1872
	particleemitter.Enabled = true
1873
	Humanoid.WalkSpeed = 16
1874
	music.Volume = 0.5
1875
	Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
1876
	attack=false
1877
	end
1878
end
1879
1880
ragemodedelay=false
1881
1882
function RageMode()
1883
	if sphere==true then
1884
	music:Stop()
1885
	music2:Play()
1886
	rawr:Play()
1887
	particleemitter2.Enabled=true
1888
	particleemitter3.Enabled=true
1889
	particleemitter4.Enabled=true
1890
	particleemitter5.Enabled=true
1891
	particleemitter6.Enabled=true
1892
	particleemitter7.Enabled=true
1893
	particleemitter8.Enabled=true
1894
	particleemitter9.Enabled=true
1895
	particleemitter10.Enabled=true
1896
	particleemitter11.Enabled=true
1897
	Humanoid.WalkSpeed = 64
1898
	Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),4,4,4,6,6,6,0.025)
1899
	so("http://www.roblox.com/asset/?id=340722848",Character,0.5,1.2) 
1900
	sphere=false
1901
	elseif sphere==false then
1902
	music2:Stop()
1903
	music:Play()
1904
	particleemitter2.Enabled=false
1905
	particleemitter3.Enabled=false
1906
	particleemitter4.Enabled=false
1907
	particleemitter5.Enabled=false
1908
	particleemitter6.Enabled=false
1909
	particleemitter7.Enabled=false
1910
	particleemitter8.Enabled=false
1911
	particleemitter9.Enabled=false
1912
	particleemitter10.Enabled=false
1913
	particleemitter11.Enabled=false
1914
	Humanoid.WalkSpeed = 16
1915
	Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),4,4,4,6,6,6,0.025)
1916
	so("http://www.roblox.com/asset/?id=340722848",Character,0.5,0.8) 
1917
	sphere=true
1918
	end
1919
end
1920
1921
--use3=false
1922
1923
function TheWind()
1924
	if aura==false then
1925
	Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),16,16,16,10,10,10,0.025)
1926
	so("http://www.roblox.com/asset/?id=340722848",Torso,1,1.1) 
1927
	ghostp.Transparency = 0.8
1928
	ghostp2.Transparency = 0.85
1929
	ghostp3.Transparency = 0.9
1930
	ghostp4.Transparency = 0.95
1931
	ghostp5.Transparency = 0.75
1932
	ghostp6.Transparency = 0.825
1933
	ghostp7.Transparency = 0.875
1934
	ghostp8.Transparency = 0.925
1935
	aura=true
1936
	elseif aura==true then
1937
	Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),16,16,16,10,10,10,0.025)
1938
	so("http://www.roblox.com/asset/?id=340722848",Torso,1,0.9) 
1939
	ghostp.Transparency = 1
1940
	ghostp2.Transparency = 1
1941
	ghostp3.Transparency = 1
1942
	ghostp4.Transparency = 1
1943
	ghostp5.Transparency = 1
1944
	ghostp6.Transparency = 1
1945
	ghostp7.Transparency = 1
1946
	ghostp8.Transparency = 1
1947
	aura=false
1948
	end
1949
	while aura==true do
1950
	for i=0,1,0.05 do
1951
	wait()
1952
	ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(45+360*i),math.rad(0))
1953
	ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(90+360*i),math.rad(0))
1954
	ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(135+360*i),math.rad(0))
1955
	ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(180+360*i),math.rad(0))
1956
	ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(225+360*i),math.rad(0))
1957
	ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(270+360*i),math.rad(0))
1958
	ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(315+360*i),math.rad(0))
1959
	ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(360+360*i),math.rad(0))
1960
	end
1961
	end
1962
end
1963
1964
giantlasereye=1
1965
1966
function ShootingTheEyes()
1967
if giantlasereye==1 then
1968
GiantLaserBlaster()
1969
giantlasereye=2
1970
elseif giantlasereye==2 then
1971
GiantLaserBlaster2()
1972
giantlasereye=1
1973
end
1974
end
1975
1976
mouse.KeyDown:connect(function(k)
1977
	k=k:lower()
1978
	if k=='r' and attack==false and sphere==true and aura==false then
1979
	Hibernation()
1980
	end
1981
	if k=='f' and used2==false and sphere==true and rest==false then
1982
	ShootingTheEyes()
1983
	end
1984
	if k=='q' and rest==false and ragemodedelay==false then
1985
	RageMode()
1986
	ragemodedelay=true
1987
	wait(3)
1988
	ragemodedelay=false
1989
	end
1990
	if k=='e' and rest==false then
1991
	TheWind()
1992
	end
1993
end)
1994
1995
local sine = 0
1996
local change = 1
1997
local val = 0
1998
1999
while true do
2000
swait()
2001
sine = sine + change
2002
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
2003
local velderp=RootPart.Velocity.y
2004
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
2005
if equipped==true or equipped==false then
2006
if attack==false then
2007
idle=idle+1
2008
else
2009
idle=0
2010
end
2011
if idle>=500 then
2012
if attack==false then
2013
--Sheath()
2014
end
2015
end
2016
if RootPart.Velocity.y > 1 and hitfloor==nil then 
2017
Anim="Jump"
2018
if attack==false and sphere==false then
2019
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/60))*angles(math.rad(-30),math.rad(0),math.rad(0)),.1)
2020
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2021
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(80-10*math.cos(sine/60))), 0.3)
2022
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-80+10*math.cos(sine/60))), 0.3)
2023
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
2024
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
2025
arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
2026
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
2027
arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2028
arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
2029
arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2030
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2031
arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
2032
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
2033
arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2034
arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
2035
arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2036
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
2037
else
2038
if attack==false and sphere==true then
2039
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
2040
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2041
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2042
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2043
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
2044
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
2045
arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2046
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2047
arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2048
arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2049
arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2050
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2051
arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2052
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2053
arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2054
arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2055
arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2056
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2057
end
2058
end
2059
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
2060
Anim="Fall"
2061
if attack==false and sphere==false then
2062
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/60))*angles(math.rad(30),math.rad(0),math.rad(0)),.1)
2063
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2064
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120-10*math.cos(sine/60))), 0.3)
2065
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120+10*math.cos(sine/60))), 0.3)
2066
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
2067
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
2068
arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
2069
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
2070
arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2071
arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
2072
arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2073
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2074
arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
2075
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
2076
arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2077
arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
2078
arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2079
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
2080
else
2081
if attack==false and sphere==true then
2082
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(20),math.rad(0),math.rad(0)),.1)
2083
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2084
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2085
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2086
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
2087
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
2088
arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2089
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2090
arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2091
arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2092
arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2093
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2094
arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2095
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2096
arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2097
arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2098
arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2099
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2100
end
2101
end
2102
elseif torvel<1 and hitfloor~=nil then
2103
Anim="Idle"
2104
Humanoid.WalkSpeed = 64
2105
if attack==false and sphere==false and rest==false then
2106
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/30))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
2107
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2108
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15-10*math.cos(sine/30)), math.rad(0), math.rad(100-5*math.cos(sine/30))), 0.3)
2109
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15-10*math.cos(sine/30)), math.rad(0), math.rad(-100+5*math.cos(sine/30))), 0.3)
2110
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
2111
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
2112
arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
2113
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
2114
arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2115
arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
2116
arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2117
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2118
arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
2119
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
2120
arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2121
arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
2122
arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2123
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
2124
else
2125
if attack==false and sphere==true and rest==false then
2126
Humanoid.WalkSpeed = 16
2127
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0+1*math.cos(sine/20),0,12-0.5*math.cos(sine/40))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
2128
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2129
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2130
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2131
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
2132
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
2133
arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2134
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2135
arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2136
arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2137
arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2138
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2139
arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2140
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2141
arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2142
arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2143
arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2144
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2145
else
2146
if attack==false and sphere==true and rest==true then
2147
Humanoid.WalkSpeed = 0
2148
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(2.5+2.5*math.cos(sine/20)),math.rad(30),math.rad(0)),.1)
2149
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2150
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2151
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2152
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
2153
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
2154
arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2155
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2156
arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2157
arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2158
arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2159
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2160
arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2161
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2162
arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2163
arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2164
arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2165
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2166
end
2167
end
2168
end
2169
elseif torvel>2 and torvel<22 and hitfloor~=nil then
2170
Anim="Walk"
2171
if attack==false and sphere==false then
2172
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-1*math.cos(sine/30))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
2173
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2174
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3)
2175
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3)
2176
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
2177
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
2178
arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
2179
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
2180
arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2181
arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
2182
arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2183
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2184
arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
2185
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
2186
arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2187
arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
2188
arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2189
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
2190
else
2191
if attack==false and sphere==true then
2192
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
2193
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2194
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2195
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2196
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
2197
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
2198
arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2199
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2200
arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2201
arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2202
arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2203
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2204
arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2205
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2206
arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2207
arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2208
arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2209
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2210
end
2211
end
2212
elseif torvel>=22 and hitfloor~=nil then
2213
Anim="Run"
2214
if attack==false and sphere==false then
2215
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-1*math.cos(sine/30))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
2216
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2217
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3)
2218
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3)
2219
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
2220
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
2221
arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
2222
arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
2223
arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2224
arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
2225
arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2226
arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2227
arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
2228
arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
2229
arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2230
arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
2231
arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
2232
arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
2233
end
2234
end
2235
end
2236
if #Effects>0 then
2237
--table.insert(Effects,{prt,"Block1",delay})
2238
for e=1,#Effects do
2239
if Effects[e]~=nil then
2240
--for j=1,#Effects[e] do
2241
local Thing=Effects[e]
2242
if Thing~=nil then
2243
local Part=Thing[1]
2244
local Mode=Thing[2]
2245
local Delay=Thing[3]
2246
local IncX=Thing[4]
2247
local IncY=Thing[5]
2248
local IncZ=Thing[6]
2249
if Thing[1].Transparency<=1 then
2250
if Thing[2]=="Block1" then
2251
Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2252
Mesh=Thing[1].Mesh
2253
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
2254
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
2255
elseif Thing[2]=="Cylinder" then
2256
Mesh=Thing[1].Mesh
2257
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
2258
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
2259
elseif Thing[2]=="Blood" then
2260
Mesh=Thing[7]
2261
Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
2262
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
2263
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
2264
elseif Thing[2]=="Elec" then
2265
Mesh=Thing[1].Mesh
2266
Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
2267
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
2268
elseif Thing[2]=="Disappear" then
2269
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
2270
end
2271
else
2272
Part.Parent=nil
2273
table.remove(Effects,e)
2274
end
2275
end
2276
--end
2277
end
2278
end
2279
end
2280
end