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