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