View difference between Paste ID: L4V7nd0N and SyJgzihb
SHOW: | | - or go back to the newest paste.
1
-- Go to line 2 and change it to your name. LOCAL SCRIPT!!!!!
2-
Player = game.Players.justinmackrow12
2+
Player = game.Players.XxXexe5
3
Char = Player.Character
4
Head = Char.Head
5
Torso = Char.Torso 
6
h = Char.Humanoid
7
8
necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
9
local gairo = Instance.new("BodyGyro") 
10
gairo.Parent = nil 
11
12
if Char:findFirstChild("Weapon",true) ~= nil then 
13
Char:findFirstChild("Weapon",true).Parent = nil 
14
end 
15
16
bets = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"," "}
17
--col = {"Institutional white,"White"}
18
--col = {"Really blue","Institutional white","Insitutional white"}
19
col = {"Institutional white","Institutional white","Really blue"}
20
Anims = {}
21
act = {key = {}}
22
for i=1,#bets do table.insert(act.key,bets) end 
23
act.mousedown = false 
24
act.keydown = false 
25
act.Walking = false
26
act.Jumping = false 
27
act.Anim = ""
28
hitted=false
29
roflcopter=false
30
bodypos=Instance.new("BodyPosition")
31
holdshoot=false
32
Prop = {}
33
34
difficulty=0.05
35
Prop.LegLength = 5
36
Prop.LegWide = 1
37
Prop.BallSize = 0.9
38
39
--[[difficulty=0.1
40
Prop.LegLength = 4
41
Prop.LegWide = 0.8
42
Prop.BallSize = 1
43
44
difficulty=0.01
45
Prop.LegLength = 50
46
Prop.LegWide = 10
47
Prop.BallSize = 10.3
48
49
Prop.LegLength = 150
50
Prop.LegWide = 60
51
Prop.BallSize = 60.3]]
52
53
coroutine.resume(coroutine.create(function()
54
for i=0,50 do
55
wait()
56
h.WalkSpeed=18
57
--h.WalkSpeed=5
58
walksped=h.WalkSpeed
59
h.MaxHealth=math.huge
60
h.Health=math.huge
61
end
62
end))
63
64
Spider = {w = {}}
65
attack = false 
66
attackdebounce = false
67
68
it = Instance.new
69
bc = BrickColor.new
70
v3 = Vector3.new
71
cf = CFrame.new
72
ca = CFrame.Angles
73
pi = math.pi
74
rd = math.rad
75
br = BrickColor.new
76
77
function r(pa,ob)
78
pcall(function() pa[ob]:Remove() end)
79
end 
80
81
function p(pa,sh,x,y,z,c,a,tr,re,bc)
82
local fp = it("Part",pa)
83
fp.formFactor = "Custom"
84
fp.Shape = sh
85
fp.Size = v3(x,y,z)
86
fp.CanCollide = c
87
fp.Anchored = false
88
fp.BrickColor = br(bc)
89
fp.Transparency = tr
90
fp.Reflectance = re
91
fp.BottomSurface = 0
92
fp.TopSurface = 0
93
fp.CFrame = Torso.CFrame + Vector3.new(0,50,0)
94
fp.Velocity = Vector3.new(0,10,0)
95
fp:BreakJoints()
96
return fp 
97
end 
98
99
function weld(pa,p0,p1,x,y,z,a,b,c)
100
local fw = it("Weld",pa)
101
fw.Part0 = p0 fw.Part1 = p1
102
fw.C0 = cf(x,y,z) *ca(a,b,c)
103
return fw
104
end
105
106
function spm(ty,pa,ss)
107
local sp = it("SpecialMesh",pa)
108
sp.MeshType = ty
109
sp.Scale = Vector3.new(ss,ss,ss)
110
end
111
112
113
pcall(function() Torso.Spider:Remove() end)
114
wait(0.1)
115
pack = it("Model",Torso)
116
pack.Name = "Spider"
117
118
Spider.Back = p(pack,"Block",1.2,1.7,0.5,false,false,0,0,col[1])
119
--Right Arm
120
Spider.RAb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.RAb1,Prop.BallSize)
121
Spider.w.RAb1 = weld(Spider.RAb1,Spider.Back,Spider.RAb1,0.5,0.6,0.35,0,0,0) Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
122
Spider.RAa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
123
Spider.w.RAa1 = weld(Spider.RAa1,Spider.RAb1,Spider.RAa1,0,Prop.LegLength/2,0,0,0,0)
124
Spider.RAb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.RAb2,Prop.BallSize)
125
Spider.w.RAb2 = weld(Spider.RAb2,Spider.RAa1,Spider.RAb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
126
Spider.RAa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
127
Spider.w.RAa2 = weld(Spider.RAa2,Spider.RAb2,Spider.RAa2,0,Prop.LegLength/2,0,0,0,0)
128
--Left Arm
129
Spider.LAb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.LAb1,Prop.BallSize)
130
Spider.w.LAb1 = weld(Spider.LAb1,Spider.Back,Spider.LAb1,-0.5,0.6,0.35,0,0,0) Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
131
Spider.LAa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
132
Spider.w.LAa1 = weld(Spider.LAa1,Spider.LAb1,Spider.LAa1,0,Prop.LegLength/2,0,0,0,0)
133
Spider.LAb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.LAb2,Prop.BallSize)
134
Spider.w.LAb2 = weld(Spider.LAb2,Spider.LAa1,Spider.LAb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
135
Spider.LAa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
136
Spider.w.LAa2 = weld(Spider.LAa2,Spider.LAb2,Spider.LAa2,0,Prop.LegLength/2,0,0,0,0)
137
--Upper Right
138
Spider.URb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.URb1,Prop.BallSize)
139
Spider.w.URb1 = weld(Spider.URb1,Spider.Back,Spider.URb1,0.5,-0.6,0.35,0,0,0) Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0)
140
Spider.URa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
141
Spider.w.URa1 = weld(Spider.URa1,Spider.URb1,Spider.URa1,0,Prop.LegLength/2,0,0,0,0)
142
Spider.URb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.URb2,Prop.BallSize)
143
Spider.w.URb2 = weld(Spider.URb2,Spider.URa1,Spider.URb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.URb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0)
144
Spider.URa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
145
Spider.w.URa2 = weld(Spider.URa2,Spider.URb2,Spider.URa2,0,Prop.LegLength/2,0,0,0,0)
146
--Upper Left
147
Spider.ULb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.ULb1,Prop.BallSize)
148
Spider.w.ULb1 = weld(Spider.ULb1,Spider.Back,Spider.ULb1,-0.5,-0.6,0.35,0,0,0) Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0)
149
Spider.ULa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
150
Spider.w.ULa1 = weld(Spider.ULa1,Spider.ULb1,Spider.ULa1,0,Prop.LegLength/2,0,0,0,0)
151
Spider.ULb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.ULb2,Prop.BallSize)
152
Spider.w.ULb2 = weld(Spider.ULb2,Spider.ULa1,Spider.ULb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0)
153
Spider.ULa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
154
Spider.w.ULa2 = weld(Spider.ULa2,Spider.ULb2,Spider.ULa2,0,Prop.LegLength/2,0,0,0,0)
155
--Lower Right
156
Spider.LRb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LRb1,Prop.BallSize)
157
Spider.w.LRb1 = weld(Spider.LRb1,Spider.Back,Spider.LRb1,0.5,-0.6,0.35,0,0,0) Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0)
158
Spider.LRa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
159
Spider.w.LRa1 = weld(Spider.LRa1,Spider.LRb1,Spider.LRa1,0,Prop.LegLength/2,0,0,0,0)
160
Spider.LRb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LRb2,Prop.BallSize)
161
Spider.w.LRb2 = weld(Spider.LRb2,Spider.LRa1,Spider.LRb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100),math.rad(0),0)
162
Spider.LRa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
163
Spider.w.LRa2 = weld(Spider.LRa2,Spider.LRb2,Spider.LRa2,0,Prop.LegLength/2,0,0,0,0)
164
--Lower Left
165
Spider.LLb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LLb1,Prop.BallSize)
166
Spider.w.LLb1 = weld(Spider.LLb1,Spider.Back,Spider.LLb1,-0.5,-0.6,0.35,0,0,0) Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40),0)
167
Spider.LLa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
168
Spider.w.LLa1 = weld(Spider.LLa1,Spider.LLb1,Spider.LLa1,0,Prop.LegLength/2,0,0,0,0)
169
Spider.LLb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LLb2,Prop.BallSize)
170
Spider.w.LLb2 = weld(Spider.LLb2,Spider.LLa1,Spider.LLb2,0,(Prop.LegLength/2),0,0,0,0) Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100),math.rad(0),0)
171
Spider.LLa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
172
Spider.w.LLa2 = weld(Spider.LLa2,Spider.LLb2,Spider.LLa2,0,Prop.LegLength/2,0,0,0,0)
173
174
local prt1 = Instance.new("Part") 
175
prt1.formFactor = 1 
176
prt1.Parent = pack 
177
prt1.CanCollide = false 
178
prt1.BrickColor = br(col[1])
179
prt1.Name = "Part1" 
180
prt1.Size = Vector3.new(1,1,1) 
181
prt1.Position = Torso.Position 
182
local prt2 = Instance.new("Part") 
183
prt2.formFactor = 1 
184
prt2.Parent = pack 
185
prt2.CanCollide = false 
186
prt2.BrickColor = BrickColor.new("Really blue") 
187
prt2.Name = "Part2" 
188
prt2.Reflectance=0.3
189
prt2.Size = Vector3.new(1,2,1) 
190
prt2.Position = Torso.Position 
191
local prt3 = Instance.new("Part") 
192
prt3.formFactor = 1 
193
prt3.Parent = pack 
194
prt3.CanCollide = false 
195
prt3.BrickColor = BrickColor.new("Institutional white") 
196
prt3.Name = "Part3" 
197
prt3.Reflectance=0.6
198
prt3.Size = Vector3.new(1,2,1) 
199
prt3.Position = Torso.Position 
200
local prt4 = Instance.new("Part") 
201
prt4.formFactor = 1 
202
prt4.Parent = pack 
203
prt4.CanCollide = false 
204
prt4.BrickColor = BrickColor.new("Really blue") 
205
prt4.Name = "Part4" 
206
prt4.Reflectance=0.3
207
prt4.Size = Vector3.new(1,1,1) 
208
prt4.Position = Torso.Position 
209
local prt5 = Instance.new("Part") 
210
prt5.formFactor = 1 
211
prt5.Parent = pack 
212
prt5.CanCollide = false 
213
prt5.BrickColor = br(col[1])
214
prt5.Name = "Part5" 
215
prt5.Size = Vector3.new(1,1,1) 
216
prt5.Position = Torso.Position 
217
local prt6 = Instance.new("Part") 
218
prt6.formFactor = 1 
219
prt6.Parent = pack 
220
prt6.CanCollide = false 
221
prt6.BrickColor = br(col[1])
222
prt6.Name = "Part6" 
223
prt6.Size = Vector3.new(1,1,1) 
224
prt6.Position = Torso.Position 
225
local prt7 = Instance.new("Part") 
226
prt7.formFactor = 1 
227
prt7.Parent = pack 
228
prt7.CanCollide = false 
229
prt7.BrickColor = BrickColor.new("Institutional white") 
230
prt7.Name = "Part7" 
231
prt7.Size = Vector3.new(1,1,1) 
232
prt7.Position = Torso.Position 
233
local prt8 = Instance.new("Part") 
234
prt8.formFactor = 1 
235
prt8.Parent = pack 
236
prt8.CanCollide = false 
237
prt8.BrickColor = br(col[1])
238
prt8.Name = "Part8" 
239
prt8.Size = Vector3.new(1,1,1) 
240
prt8.Position = Torso.Position 
241
local prt9 = Instance.new("Part") 
242
prt9.formFactor = 1 
243
prt9.Parent = pack 
244
prt9.CanCollide = false 
245
prt9.BrickColor = br(col[1])
246
prt9.Name = "Part9" 
247
prt9.Size = Vector3.new(1,1,1) 
248
prt9.Position = Torso.Position 
249
local prt10 = Instance.new("Part") 
250
prt10.formFactor = 1 
251
prt10.Parent = pack 
252
prt10.CanCollide = false 
253
prt10.BrickColor = br(col[1])
254
prt10.Name = "Part10" 
255
prt10.Size = Vector3.new(1,1,1) 
256
prt10.Position = Torso.Position 
257
local prt11 = Instance.new("Part") 
258
prt11.formFactor = 1 
259
prt11.Parent = pack 
260
prt11.CanCollide = false 
261
prt11.BrickColor = br(col[1])
262
prt11.Name = "Part11" 
263
prt11.Size = Vector3.new(1,1,1) 
264
prt11.Position = Torso.Position 
265
local prt12 = Instance.new("Part") 
266
prt12.formFactor = 1 
267
prt12.Parent = pack 
268
prt12.CanCollide = false 
269
prt12.BrickColor = br(col[1])
270
prt12.Name = "Part12" 
271
prt12.Size = Vector3.new(1,1,1) 
272
prt12.Position = Torso.Position 
273
274
local msh1 = Instance.new("BlockMesh")
275
msh1.Parent = prt1
276
--msh1.Scale = Vector3.new(0.9,0.8,3)
277
msh1.Scale = Vector3.new(Prop.LegWide/0.9,Prop.LegWide/1,Prop.LegLength/1.3)
278
local msh2 = Instance.new("BlockMesh")
279
msh2.Parent = prt2
280
--msh2.Scale = Vector3.new(0.3,2.5,1)
281
msh2.Scale = Vector3.new(Prop.LegWide/2.5,Prop.LegLength/1.6,Prop.LegWide*1.3)
282
local msh3 = Instance.new("BlockMesh")
283
msh3.Parent = prt3
284
--msh3.Scale = Vector3.new(0.1,2.6,1.5)
285
msh3.Scale = Vector3.new(Prop.LegWide/6,Prop.LegLength/1.6,Prop.LegWide*1.9)
286
local msh4 = Instance.new("SpecialMesh")
287
msh4.Parent = prt4
288
msh4.MeshType = "Wedge"
289
--msh4.Scale = Vector3.new(0.3,2,1)
290
msh4.Scale = Vector3.new(Prop.LegWide/2.5,Prop.LegLength/2,Prop.LegWide*1.3)
291
local msh5 = Instance.new("CylinderMesh")
292
msh5.Parent = prt5
293
--msh5.Scale = Vector3.new(1.5,1,1.5)
294
msh5.Scale = Vector3.new(Prop.LegWide*2,Prop.LegLength/4,Prop.LegWide*2)
295
local msh6 = Instance.new("CylinderMesh")
296
msh6.Parent = prt6
297
--msh6.Scale = Vector3.new(2.5,1.6,2.5)
298
msh6.Scale = Vector3.new(Prop.LegWide*3.1,Prop.LegLength/2.5,Prop.LegWide*3.1)
299
local msh7 = Instance.new("CylinderMesh")
300
msh7.Parent = prt7
301
--msh7.Scale = Vector3.new(1.4,1.7,1.4)
302
msh7.Scale = Vector3.new(Prop.LegWide*1.8,Prop.LegLength/2.3,Prop.LegWide*1.8)
303
local msh8 = Instance.new("BlockMesh")
304
msh8.Parent = prt8
305
--msh8.Scale = Vector3.new(0.5,2,0.5)
306
msh8.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6)
307
local msh9 = Instance.new("BlockMesh")
308
msh9.Parent = prt9
309
--msh9.Scale = Vector3.new(0.5,2,0.5)
310
msh9.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6)
311
local msh10 = Instance.new("BlockMesh")
312
msh10.Parent = prt10
313
--msh10.Scale = Vector3.new(0.5,2,0.5)
314
msh10.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6)
315
local msh11 = Instance.new("BlockMesh")
316
msh11.Parent = prt11
317
--msh11.Scale = Vector3.new(0.5,2,0.5)
318
msh11.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6)
319
local msh12 = Instance.new("BlockMesh")
320
msh12.Parent = prt12
321
--msh12.Scale = Vector3.new(0.5,2,0.5)
322
msh12.Scale = Vector3.new(0,0,0)
323
324
local wld1 = Instance.new("Weld")
325
wld1.Parent = prt1
326
wld1.Part0 = prt1
327
wld1.Part1 = Spider.RAa2
328
--wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.5,0) 
329
wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/6,0) 
330
local wld2 = Instance.new("Weld")
331
wld2.Parent = prt2
332
wld2.Part0 = prt2
333
wld2.Part1 = prt1
334
--wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-3,0) 
335
wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.3,0) 
336
local wld3 = Instance.new("Weld")
337
wld3.Parent = prt3
338
wld3.Part0 = prt3
339
wld3.Part1 = prt1
340
--wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-3,0) 
341
wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.3,0) 
342
local wld4 = Instance.new("Weld")
343
wld4.Parent = prt4
344
wld4.Part0 = prt4
345
wld4.Part1 = prt2
346
wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-4.2,0) 
347
wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.1,0) 
348
local wld5 = Instance.new("Weld")
349
wld5.Parent = prt5
350
wld5.Part0 = prt5
351
wld5.Part1 = Spider.LAa2
352
--wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-2.5,0) 
353
wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.6,0) 
354
local wld6 = Instance.new("Weld")
355
wld6.Parent = prt6
356
wld6.Part0 = prt6
357
wld6.Part1 = prt5
358
--wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.5,0) 
359
wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/2.6,0) 
360
local wld7 = Instance.new("Weld")
361
wld7.Parent = prt7
362
wld7.Part0 = prt7
363
wld7.Part1 = prt6
364
wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) 
365
local wld8 = Instance.new("Weld")
366
wld8.Parent = prt8
367
wld8.Part0 = prt8
368
wld8.Part1 = prt6
369
--wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.5) * CFrame.new(1.5,-1,0) 
370
wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.5) * CFrame.new(Prop.LegWide*2,-Prop.LegLength/4,0) 
371
local wld9 = Instance.new("Weld")
372
wld9.Parent = prt9
373
wld9.Part0 = prt9
374
wld9.Part1 = prt6
375
--wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.5) * CFrame.new(-1.5,-1,0) 
376
wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.5) * CFrame.new(-Prop.LegWide*2,-Prop.LegLength/4,0) 
377
local wld10 = Instance.new("Weld")
378
wld10.Parent = prt10
379
wld10.Part0 = prt10
380
wld10.Part1 = prt6
381
--wld10.C0 = CFrame.fromEulerAnglesXYZ(-0.5,0,0) * CFrame.new(0,-1,-1.5) 
382
wld10.C0 = CFrame.fromEulerAnglesXYZ(-0.5,0,0) * CFrame.new(0,-Prop.LegLength/4,-Prop.LegWide*2) 
383
local wld11 = Instance.new("Weld")
384
wld11.Parent = prt11
385
wld11.Part0 = prt11
386
wld11.Part1 = prt6
387
--wld11.C0 = CFrame.fromEulerAnglesXYZ(0.5,0,0) * CFrame.new(0,-1,1.5) 
388
wld11.C0 = CFrame.fromEulerAnglesXYZ(0.5,0,0) * CFrame.new(0,-Prop.LegLength/4,Prop.LegWide*2) 
389
local wld12 = Instance.new("Weld")
390
wld12.Parent = prt12
391
wld12.Part0 = prt12
392
wld12.Part1 = prt6
393
--wld12.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,0) * CFrame.new(0,0,0) 
394
wld12.C0 = CFrame.fromEulerAnglesXYZ(-1.57,0,0) * CFrame.new(0,0,0) 
395
396
wait()
397
Spider.w.Back = weld(Spider.Back,Torso,Spider.Back,0,0,0.5,0,0,0)
398
wait()
399
Torso.CFrame = Torso.CFrame + Vector3.new(0,10,0)
400
401
function Anim()
402
attack=true
403
for i=0,1,0.1 do
404
wait()
405
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120*i)),math.rad(70-(70*i)),0)
406
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10*i)),math.rad(40+(50*i)),0)
407
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120*i)),math.rad(-70+(70*i)),0)
408
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10*i)),math.rad(-40-(50*i)),0)
409
end
410
bodypos=Instance.new("BodyPosition")
411
bodypos.P=500
412
bodypos.D=100
413
bodypos.maxForce=Vector3.new(0,math.huge,0)
414
bodypos.position=Head.Position+Vector3.new(0,50,0)
415
bodypos.Parent=Head
416
while roflcopter==true do
417
for i = 0,1,0.1 do
418
wait()
419
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120)),math.rad(70-(70)),0)
420
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10)),math.rad(90+(360*i)),0)
421
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120)),math.rad(-70+(70)),0)
422
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10)),math.rad(-90+(360*i)),0)
423
end
424
end
425
bodypos.Parent=nil
426
for i=0,1,0.1 do
427
wait()
428
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120-120*i)),math.rad(70-(70-70*i)),0)
429
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10-10*i)),math.rad(90-(50*i)),0)
430
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120-120*i)),math.rad(-70+(70-70*i)),0)
431
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10-10*i)),math.rad(-90+(50*i)),0)
432
end
433
attack=false
434
end
435
436
function RoflCopter()
437
act.Jumping=true
438
for i=0,1,0.1 do
439
wait()
440
Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0)
441
Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80*i),math.rad(0),0)
442
Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0)
443
Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80*i),math.rad(0),0)
444
Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40),0)
445
Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80*i),math.rad(0),0)
446
Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0)
447
Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80*i),math.rad(0),0)
448
end
449
bodypos.P=500
450
bodypos.D=100
451
bodypos.maxForce=Vector3.new(0,math.huge,0)
452
bodypos.position=Head.Position+Vector3.new(0,10,0)
453
bodypos.Parent=Head
454
while roflcopter==true do
455
derpcon1=Spider.LRa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) 
456
derpcon2=Spider.LLa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) 
457
derpcon3=Spider.URa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) 
458
derpcon4=Spider.ULa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) 
459
for i=0,1,0.1 do
460
wait()
461
Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40+360*i),0)
462
Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80),math.rad(0),0)
463
Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40+360*i),0)
464
Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80),math.rad(0),0)
465
Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40+360*i),0)
466
Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80),math.rad(0),0)
467
Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40+360*i),0)
468
Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80),math.rad(0),0)
469
end
470
derpcon1:disconnect()
471
derpcon2:disconnect()
472
derpcon3:disconnect()
473
derpcon4:disconnect()
474
end
475
bodypos.Parent=nil
476
for i=0,1,0.1 do
477
wait()
478
Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0)
479
Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80-80*i),math.rad(0),0)
480
Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0)
481
Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80+80*i),math.rad(0),0)
482
Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40),0)
483
Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80-80*i),math.rad(0),0)
484
Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0)
485
Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80+80*i),math.rad(0),0)
486
end
487
act.Jumping=false
488
end
489
490
function Shoot()
491
attack=true
492
for i=0,1,0.1 do
493
wait()
494
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
495
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
496
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50*i),math.rad(-70),0)
497
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20*i),math.rad(-40+40*i),0)
498
end
499
gairo.Parent = Head
500
gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge 
501
gairo.P = 20e+003 
502
gairo.cframe = Head.CFrame 
503
for i=0,1,0.1 do
504
wait()
505
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57*i)
506
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
507
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
508
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+20*i),math.rad(-70-20*i),0)
509
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20+80*i),math.rad(-40+40),0)
510
end
511
wait(0.1)
512
for i = 1,3 do
513
DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("White")) 
514
shoottrail2(prt7) 
515
wait(0.5)
516
end
517
for i=0,1,0.1 do
518
wait()
519
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57-1.57*i)
520
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
521
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
522
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+20+30*i),math.rad(-70-20+20*i),0)
523
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20+80-100*i),math.rad(-40+40-40*i),0)
524
end
525
gairo.Parent=nil
526
Torso.Neck.C0=necko
527
attack=false
528
end
529
530
function Shoot2()
531
attack=true
532
for i=0,1,0.1 do
533
wait()
534
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
535
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
536
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60*i),math.rad(-70),0)
537
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15*i),math.rad(-40-60*i),0)
538
end
539
for i=0,0.3,0.1 do
540
wait(0.1)
541
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
542
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
543
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60),math.rad(-70),0)
544
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15+40*i),math.rad(-40-60),0)
545
DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("White")) 
546
shoottrail2(prt7) 
547
end
548
for i=0,1,0.1 do
549
wait() 
550
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
551
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
552
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60+60*i),math.rad(-70),0)
553
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15+20-55*i),math.rad(-40-60+60*i),0)
554
end
555
attack=false
556
end
557
558
function Shoot3()
559
attack=true
560
for i=0,1,0.1 do
561
wait()
562
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
563
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
564
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50*i),math.rad(-70+70*i),math.rad(90*i))
565
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60*i),math.rad(-40+40*i),math.rad(3*i))
566
end
567
for i=0,1,0.1 do
568
wait()
569
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
570
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
571
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+60*i),math.rad(-70+70),math.rad(90))
572
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60+40*i),math.rad(-40+40),math.rad(3))
573
DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black")) 
574
shoottrail2(prt7) 
575
end
576
for i=0,1,0.1 do
577
wait()
578
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
579
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
580
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+60-10*i),math.rad(-70+70-70*i),math.rad(90-90*i))
581
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60+40-100*i),math.rad(-40+40-40*i),math.rad(3-3*i))
582
end
583
attack=false
584
end
585
586
function Shoot4()
587
attack=true
588
for i=0,1,0.1 do
589
wait()
590
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
591
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
592
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60*i),math.rad(-70+70*i),math.rad(0))
593
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(-40+40*i),math.rad(0))
594
end
595
for i=0,1,0.1 do
596
wait()
597
DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("White")) 
598
shoottrail2(prt7) 
599
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
600
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
601
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60),math.rad(-70+70),math.rad(0))
602
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50+50*i),math.rad(-40+40),math.rad(0))
603
end
604
for i=0,1,0.1 do
605
wait()
606
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
607
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
608
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60-60*i),math.rad(-70+70-70*i),math.rad(0))
609
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50+50-100*i),math.rad(-40+40-40*i),math.rad(0))
610
end
611
attack=false
612
end
613
614
function Attack()
615
attack=true
616
for i=0,1,0.1 do
617
wait()
618
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80*i),math.rad(70-70*i),0)
619
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40-40*i),0)
620
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
621
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
622
end
623
ss(1) 
624
con1=prt2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end) 
625
con2=Spider.RAa2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end) 
626
for i=0,1,0.2 do
627
wait()
628
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80+90*i),math.rad(70-70),0)
629
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+70*i),math.rad(40-40),0)
630
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
631
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
632
end
633
wait(0.1) 
634
con1:disconnect()
635
con2:disconnect()
636
for i=0,1,0.1 do
637
wait()
638
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120+10-10*i),math.rad(70-70+70*i),0)
639
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+70-70*i),math.rad(40-40+40*i),0)
640
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
641
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
642
end
643
attack=false
644
end
645
646
function MegaBonk()
647
attack=true
648
for i=0,1,0.1 do
649
wait()
650
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80*i),math.rad(70-70*i),0)
651
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40-40*i),0)
652
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
653
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
654
end
655
wait(0.1) 
656
for i=0,1,0.02 do
657
wait()
658
MMMAGIC(prt4,Prop.BallSize*2,Prop.BallSize*2,Prop.BallSize*2,0,Prop.LegLength/2,0,BrickColor.new("Intitutional white")) 
659
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80-30*i),math.rad(70-70),0)
660
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30*i),math.rad(40-40),0)
661
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
662
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
663
end
664
ss(1.3)
665
con1=prt2.Touched:connect(function(hit) Damagefunc2(hit,Prop.LegLength*10,100) end) 
666
con2=Spider.RAa2.Touched:connect(function(hit) Damagefunc2(hit,Prop.LegLength*10,100) end) 
667
for i=0,1,0.2 do
668
wait()
669
MMMAGIC(prt4,Prop.BallSize*2,Prop.BallSize*2,Prop.BallSize*2,0,Prop.LegLength/2,0,BrickColor.new("Institutional white")) 
670
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80-30+110*i),math.rad(70-70),0)
671
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30+120*i),math.rad(40-40),0)
672
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
673
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
674
end
675
MMMAGIC(prt4,Prop.BallSize*4,Prop.BallSize*4,Prop.BallSize*4,0,Prop.LegLength/2,0,BrickColor.new("Institutional white")) 
676
wait(0.5) 
677
con1:disconnect()
678
con2:disconnect()
679
for i=0,1,0.1 do
680
wait()
681
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-110+110),math.rad(70-70+70*i),0)
682
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30+120-100*i),math.rad(40-40+40*i),0)
683
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
684
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
685
end
686
attack=false
687
end
688
689
function DualAttack()
690
attack=true
691
for i=0,1,0.1 do
692
wait()
693
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30*i),math.rad(70-90*i),0)
694
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40+40*i),0)
695
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
696
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
697
end
698
ss(1)
699
con1=prt2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end) 
700
con2=Spider.RAa2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end) 
701
for i=0,1,0.2 do
702
wait()
703
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30),math.rad(70-90+100*i),0)
704
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(40+40),0)
705
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
706
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
707
end
708
con1:disconnect()
709
con2:disconnect()
710
for i=0,1,0.1 do
711
wait()
712
Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30+30*i),math.rad(70-90+100-10*i),0)
713
Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(40+40-40*i),0)
714
Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
715
Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
716
end
717
attack=false
718
end
719
720
function Stomp()
721
attack=true
722
local vel2 = Instance.new("BodyVelocity")
723
vel2.Parent = Player.Character.Torso
724
vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
725
vel2.velocity = Vector3.new(0,1,0) * 20 
726
wait(0.05)
727
vel2.Parent=nil
728
act.Jumping=true
729
Char.Humanoid.WalkSpeed=0
730
for i=0,1,0.1 do 
731
wait()
732
Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50*i),math.rad(-40),0)
733
Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(0),0)
734
Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0)
735
Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0)
736
Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50*i),math.rad(40),0)
737
Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(0),0)
738
Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0)
739
Spider.w.URb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0)
740
end
741
for i=0,1,0.1 do 
742
wait()
743
Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50),math.rad(-40),0)
744
Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50),math.rad(0),0)
745
Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(-40+40*i),0)
746
Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30*i),math.rad(0),0)
747
Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50),math.rad(40),0)
748
Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50),math.rad(0),0)
749
Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(40-40*i),0)
750
Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30*i),math.rad(0),0)
751
end
752
ss(0.9)
753
con1=Spider.URa1.Touched:connect(function(hit) DBHit(hit,50,Prop.LegLength*2) end) 
754
con2=Spider.URa2.Touched:connect(function(hit) DBHit(hit,50,Prop.LegLength*2) end) 
755
for i=0,1,0.2 do 
756
wait()
757
Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50+50*i),math.rad(-40),0)
758
Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(0),0)
759
Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+50*i),math.rad(-40+40),0)
760
Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30+30*i),math.rad(0),0)
761
Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50+50*i),math.rad(40),0)
762
Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(0),0)
763
Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+50*i),math.rad(40-40),0)
764
Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30+30*i),math.rad(0),0)
765
end
766
wait(0.1) 
767
con1:disconnect()
768
con2:disconnect()
769
for i=0,1,0.1 do 
770
wait()
771
Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50+50),math.rad(-40),0)
772
Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50-50),math.rad(0),0)
773
Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+50),math.rad(-40+40-40*i),0)
774
Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30+30),math.rad(0),0)
775
Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50+50),math.rad(40),0)
776
Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50-50),math.rad(0),0)
777
Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+50),math.rad(40-40+40*i),0)
778
Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30+30),math.rad(0),0)
779
end
780
Char.Humanoid.WalkSpeed=walksped
781
act.Jumping=false
782
attack=false
783
end
784
785
function Jump()
786
attack=true
787
act.Jumping=true
788
for i=0,1,0.1 do 
789
wait()
790
Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50*i),math.rad(-40),0)
791
Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50*i),math.rad(0),0)
792
Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(-40),0)
793
Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50*i),math.rad(0),0)
794
Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50*i),math.rad(40),0)
795
Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50*i),math.rad(0),0)
796
Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(40),0)
797
Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50*i),math.rad(0),0)
798
end
799
for i=0,1,0.2 do 
800
wait()
801
Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50-100*i),math.rad(-40),0)
802
Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50+100*i),math.rad(0),0)
803
Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+100*i),math.rad(-40),0)
804
Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50-100*i),math.rad(0),0)
805
Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50-100*i),math.rad(40),0)
806
Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50+100*i),math.rad(0),0)
807
Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+100*i),math.rad(40),0)
808
Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50-100*i),math.rad(0),0)
809
end
810
local vel2 = Instance.new("BodyVelocity")
811
vel2.Parent = Player.Character.Torso
812
vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
813
vel2.velocity = Vector3.new(0,1,0) * 100 
814
wait(0.1)
815
vel2.Parent=nil
816
for i=0,1,0.1 do 
817
wait()
818
Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50-100+50*i),math.rad(-40),0)
819
Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50+100-50*i),math.rad(0),0)
820
Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+100-50*i),math.rad(-40),0)
821
Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50-100+50*i),math.rad(0),0)
822
Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50-100+50*i),math.rad(40),0)
823
Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50+100-50*i),math.rad(0),0)
824
Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+100-50*i),math.rad(40),0)
825
Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50-100+50*i),math.rad(0),0)
826
end
827
act.Jumping=false
828
attack=false
829
end
830
831
function shoottrail2(pos1) 
832
coroutine.resume(coroutine.create(function()
833
spread2 = 0 
834
range2 = Prop.LegLength*150
835
rangepower = Prop.LegLength*1.5
836
local spreadvector = (Vector3.new(math.random(-spread2,spread2),math.random(-spread2,spread2),math.random(-spread2,spread2)) / 100) * (pos1.Position).magnitude/100
837
--local dir = Head.CFrame.lookVector+spreadvector 
838
local dir = prt12.CFrame.lookVector+spreadvector
839
local hit2,pos = rayCast(pos1.Position,dir,10,pack)
840
local rangepos = range2
841
local function drawtrail(From,To)
842
local effectsmsh = Instance.new("CylinderMesh")
843
effectsmsh.Scale = Vector3.new(1,1,1)
844
effectsmsh.Name = "Mesh"
845
local effectsg = Instance.new("Part")
846
effectsg.formFactor = 3
847
effectsg.CanCollide = false
848
effectsg.Name = "Eff"
849
effectsg.Locked = true
850
effectsg.Anchored = true
851
effectsg.Size = Vector3.new(Prop.LegLength/4,Prop.LegLength/5,Prop.LegLength/4)
852
effectsg.Parent = pack
853
effectsmsh.Parent = effectsg
854
effectsg.BrickColor = BrickColor.new("Institutional white") 
855
effectsg.Reflectance = 0.25
856
local LP = From
857
local point1 = To
858
local mg = (LP - point1).magnitude
859
effectsmsh.Scale = Vector3.new(1,mg*5,1)
860
effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
861
coroutine.resume(coroutine.create(function()
862
for i = 0 , 1 , 0.2 do
863
wait()
864
effectsg.Transparency = 1*i
865
effectsmsh.Scale = Vector3.new(1-1*i,mg*5,1-1*i)
866
end 
867
effectsg.Parent = nil 
868
end))
869
end
870
local newpos = pos1.Position
871
local inc = rangepower
872
repeat
873
wait() 
874
rangepos = rangepos - 10
875
dir = dir 
876
hit2,pos = rayCast(newpos,dir,inc,pack)
877
drawtrail(newpos,pos)
878
newpos = newpos + (dir * inc)
879
if alt==1 then 
880
inc = 10 
881
if inc >= 20 then
882
inc = inc - 10
883
end
884
end 
885
if hit2 ~= nil then
886
rangepos = 0
887
end
888
until rangepos <= 0
889
if hit2 ~= nil then
890
local effectsmsh = Instance.new("SpecialMesh")
891
effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
892
--effectsmsh.Scale = Vector3.new(1,1,2.5)
893
effectsmsh.Scale = Vector3.new(3,3,3)
894
local effectsg = Instance.new("Part")
895
effectsg.formFactor = 3
896
effectsg.CanCollide = false
897
effectsg.Name = "Arrow"
898
effectsg.Locked = true
899
effectsg.Transparency = 1 
900
effectsg.Size = Vector3.new(0.2,0.2,0.2)
901
effectsg.Parent = pack 
902
effectsg.BrickColor = BrickColor.new("Institutional white") 
903
effectsmsh.Parent = effectsg
904
effectsg.CFrame = CFrame.new(newpos,pos) + CFrame.new(newpos,pos).lookVector*2.5*2
905
local efwel = Instance.new("Weld") 
906
efwel.Parent = effectsg 
907
efwel.Part0 = effectsg 
908
efwel.Part1 = hit2 
909
efwel.Parent = nil 
910
effectsg.Anchored = true 
911
local HitPos = effectsg.Position + CFrame.new(newpos,pos).lookVector*0.75
912
--local HitPos = prt1.Position + CFrame.new(newpos,pos).lookVector*0.75
913
--local HitPos = prt1.Position + (prt1.CFrame.lookVector * .5) 
914
local CJ = CFrame.new(HitPos) 
915
local C0 = effectsg.CFrame:inverse() * CJ
916
local C1 = hit2.CFrame:inverse() * CJ 
917
--efwel.C0 = C0
918
--efwel.C1 = C1
919
--efwel.Parent = effectsg 
920
Damg = Prop.LegLength*5
921
coroutine.resume(coroutine.create(function()
922
boomsound(1) 
923
coroutine.resume(coroutine.create(function()
924
local c = game.Workspace:GetChildren();
925
for i = 1, #c do
926
local hum = c:findFirstChild("Humanoid")
927
if hum ~= nil and hum.Health ~= 0 then
928
local head = c:findFirstChild("Head");
929
if head ~= nil then
930
local targ = head.Position - effectsg.Position;
931
local mag = targ.magnitude;
932
if mag <= Prop.LegLength*3 then 
933
wait() 
934
DBHit(head,effectsg,Prop.LegLength) 
935
end 
936
end 
937
end 
938
end
939
end)) 
940
EVENMOARMAGIX(effectsg,Prop.LegLength*3,Prop.LegLength*2,Prop.LegLength*3,0,0,0,0,0,0,BrickColor.new("White")) 
941
for i = 0,5 do 
942
wait() 
943
MMMAGIC(effectsg,Prop.LegLength*3,Prop.LegLength*2,Prop.LegLength*3,0,0,0,BrickColor.new("White")) 
944
end 
945
end))
946
coroutine.resume(coroutine.create(function()
947
wait(3)
948
effectsg.Parent = nil
949
end))
950
if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
951
hum = hit2.Parent.Humanoid
952
attackdebounce = false 
953
Damagefunc1(hit2,Damg,50)
954
elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
955
hum = hit2.Parent.Parent.Humanoid
956
attackdebounce = false 
957
Damagefunc1(hit2,Damg,50)
958
end
959
end
960
end))
961
end
962
963
function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , Ignore Descendants
964
return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
965
end 
966
967
function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color) 
968
local msh1 = Instance.new("BlockMesh") 
969
msh1.Scale = Vector3.new(0.5,0.5,0.5) 
970
S=Instance.new("Part")
971
S.Name="Effect"
972
S.formFactor=0
973
S.Size=Vector3.new(x1,y1,z1)
974
S.BrickColor=color
975
S.Reflectance = 0
976
S.TopSurface=0
977
S.BottomSurface=0
978
S.Transparency=0
979
S.Anchored=true
980
S.CanCollide=false
981
S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
982
S.Parent=pack
983
msh1.Parent = S
984
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
985
end 
986
987
function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color) 
988
local msh1 = Instance.new("BlockMesh") 
989
msh1.Scale = Vector3.new(x1,y1,z1) 
990
S=Instance.new("Part")
991
S.Name="Effect"
992
S.formFactor=0
993
S.Size=Vector3.new(1,1,1)
994
S.BrickColor=color
995
S.Reflectance = 0
996
S.TopSurface=0
997
S.BottomSurface=0
998
S.Transparency=0
999
S.Anchored=true
1000
S.CanCollide=false
1001
S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1002
S.Parent=pack
1003
msh1.Parent = S
1004
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
1005
end 
1006
1007
function MOREMAGIX(part,cframe,x,y,z,color) 
1008
p2=Instance.new("Part")
1009
p2.Name="Blast"
1010
p2.TopSurface=0
1011
p2.BottomSurface=0
1012
p2.CanCollide=false
1013
p2.Anchored=true
1014
p2.BrickColor=color
1015
p2.Size=Vector3.new(x,y,z)
1016
p2.formFactor="Symmetric"
1017
p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
1018
p2.Parent=pack
1019
m=Instance.new("BlockMesh")
1020
m.Parent=p2
1021
m.Name="BlastMesh"
1022
coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
1023
end 
1024
1025
function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) 
1026
local msh1 = Instance.new("SpecialMesh") 
1027
msh1.Scale = Vector3.new(0.5,0.5,0.5) 
1028
msh1.MeshType = "Sphere" 
1029
S=Instance.new("Part")
1030
S.Name="Effect"
1031
S.formFactor=0
1032
S.Size=Vector3.new(x1,y1,z1)
1033
S.BrickColor=color
1034
S.Reflectance = 0
1035
S.TopSurface=0
1036
S.BottomSurface=0
1037
S.Transparency=0
1038
S.Anchored=true
1039
S.CanCollide=false
1040
S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
1041
S.Parent=pack
1042
msh1.Parent = S
1043
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.15,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
1044
end 
1045
1046
print("Y U NU GIVE CREDIT.") 
1047
1048
function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) 
1049
local msh1 = Instance.new("SpecialMesh") 
1050
msh1.Scale = Vector3.new(x1,y1,z1) 
1051
msh1.MeshId = "http://www.roblox.com/asset/?id=20329976" 
1052
S=Instance.new("Part")
1053
S.Name="Effect"
1054
S.formFactor=0
1055
S.Size=Vector3.new(1,1,1)
1056
S.BrickColor=color
1057
S.Reflectance = 0
1058
S.TopSurface=0
1059
S.BottomSurface=0
1060
S.Transparency=0
1061
S.Anchored=true
1062
S.CanCollide=false
1063
S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
1064
S.Parent=pack
1065
msh1.Parent = S
1066
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
1067
end 
1068
1069
function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) 
1070
local msh1 = Instance.new("SpecialMesh") 
1071
msh1.Scale = Vector3.new(x1,y1,z1) 
1072
msh1.MeshId = "http://www.roblox.com/asset/?id=1323306" 
1073
S=Instance.new("Part")
1074
S.Name="Effect"
1075
S.formFactor=0
1076
S.Size=Vector3.new(1,1,1)
1077
S.BrickColor=color
1078
S.Reflectance = 0
1079
S.TopSurface=0
1080
S.BottomSurface=0
1081
S.Transparency=0
1082
S.Anchored=true
1083
S.CanCollide=false
1084
S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
1085
S.Parent=pack
1086
msh1.Parent = S
1087
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.15,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
1088
end 
1089
1090
function DerpMagic(part,x1,y1,z1,x2,y2,z2,color) 
1091
local msh1 = Instance.new("BlockMesh") 
1092
msh1.Scale = Vector3.new(0.5,0.5,0.5) 
1093
S=Instance.new("Part")
1094
S.Name="Effect"
1095
S.formFactor=0
1096
S.Size=Vector3.new(x1,y1,z1)
1097
S.BrickColor=color
1098
S.Reflectance = 0
1099
S.TopSurface=0
1100
S.BottomSurface=0
1101
S.Transparency=0
1102
S.Anchored=true
1103
S.CanCollide=false
1104
S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1105
S.Parent=pack
1106
msh1.Parent = S
1107
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
1108
end 
1109
1110
1111
function ss(pitch) 
1112
1113
local SlashSound = Instance.new("Sound") 
1114
--SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" 
1115
SlashSound.SoundId = "http://roblox.com/asset/?id=10209645" 
1116
SlashSound.Parent = workspace 
1117
SlashSound.Volume = .7 
1118
SlashSound.Pitch = pitch 
1119
SlashSound.PlayOnRemove = true 
1120
coroutine.resume(coroutine.create(function() 
1121
wait(0) 
1122
SlashSound.Parent = nil 
1123
end)) 
1124
end 
1125
function equipsound(pitch) 
1126
1127
local SlashSound = Instance.new("Sound") 
1128
SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav" 
1129
SlashSound.Parent = workspace 
1130
SlashSound.Volume = .5 
1131
SlashSound.Pitch = pitch 
1132
SlashSound.PlayOnRemove = true 
1133
coroutine.resume(coroutine.create(function() 
1134
wait(0) 
1135
SlashSound.Parent = nil 
1136
end)) 
1137
end 
1138
function magicsound(pitch) 
1139
1140
local SlashSound = Instance.new("Sound") 
1141
SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511" 
1142
SlashSound.Parent = workspace 
1143
SlashSound.Volume = .5 
1144
SlashSound.Pitch = pitch 
1145
SlashSound.PlayOnRemove = true 
1146
coroutine.resume(coroutine.create(function() 
1147
wait(0) 
1148
SlashSound.Parent = nil 
1149
end)) 
1150
end 
1151
function critsound(pitch) 
1152
1153
local SlashSound = Instance.new("Sound") 
1154
SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263" 
1155
SlashSound.Parent = workspace 
1156
SlashSound.Volume = .7 
1157
SlashSound.Pitch = pitch 
1158
SlashSound.PlayOnRemove = true 
1159
coroutine.resume(coroutine.create(function() 
1160
wait(0) 
1161
SlashSound.Parent = nil 
1162
end)) 
1163
end 
1164
function spikesound(pitch) 
1165
1166
local SlashSound = Instance.new("Sound") 
1167
SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793" 
1168
SlashSound.Parent = workspace 
1169
SlashSound.Volume = .7 
1170
SlashSound.Pitch = pitch 
1171
SlashSound.PlayOnRemove = true 
1172
coroutine.resume(coroutine.create(function() 
1173
wait(0) 
1174
SlashSound.Parent = nil 
1175
end)) 
1176
end 
1177
function boomsound(pitch) 
1178
1179
local SlashSound = Instance.new("Sound") 
1180
SlashSound.SoundId = "http://www.roblox.com/asset?id=2101148" 
1181
SlashSound.Parent = workspace 
1182
SlashSound.Volume = .7 
1183
SlashSound.Pitch = pitch 
1184
SlashSound.PlayOnRemove = true 
1185
coroutine.resume(coroutine.create(function() 
1186
wait(0) 
1187
SlashSound.Parent = nil 
1188
end)) 
1189
end 
1190
function lasersound(pitch) 
1191
1192
local SlashSound = Instance.new("Sound") 
1193
SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav" 
1194
SlashSound.Parent = workspace 
1195
SlashSound.Volume = .5 
1196
SlashSound.Pitch = pitch 
1197
SlashSound.PlayOnRemove = true 
1198
coroutine.resume(coroutine.create(function() 
1199
wait(0) 
1200
SlashSound.Parent = nil 
1201
end)) 
1202
end 
1203
function omnomnom(pitch) 
1204
1205
local SlashSound = Instance.new("Sound") 
1206
SlashSound.SoundId = "http://www.roblox.com/asset/?id=12544690" 
1207
SlashSound.Parent = workspace 
1208
SlashSound.Volume = .5 
1209
SlashSound.Pitch = pitch 
1210
SlashSound.PlayOnRemove = true 
1211
coroutine.resume(coroutine.create(function() 
1212
wait(0) 
1213
SlashSound.Parent = nil 
1214
end)) 
1215
end 
1216
function boomsound(pitch) 
1217
1218
local SlashSound = Instance.new("Sound") 
1219
SlashSound.SoundId = "http://www.roblox.com/asset?id=2101148" 
1220
SlashSound.Parent = workspace 
1221
SlashSound.Volume = .7 
1222
SlashSound.Pitch = pitch 
1223
SlashSound.PlayOnRemove = true 
1224
coroutine.resume(coroutine.create(function() 
1225
wait(0) 
1226
SlashSound.Parent = nil 
1227
end)) 
1228
end 
1229
1230
function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color) 
1231
local msh1 = Instance.new("BlockMesh") 
1232
msh1.Scale = Vector3.new(0.5,0.5,0.5) 
1233
S=Instance.new("Part")
1234
S.Name="Effect"
1235
S.formFactor=0
1236
S.Size=Vector3.new(x1,y1,z1)
1237
S.BrickColor=color
1238
S.Reflectance = 0
1239
S.TopSurface=0
1240
S.BottomSurface=0
1241
S.Transparency=0
1242
S.Anchored=true
1243
S.CanCollide=false
1244
S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1245
S.Parent=workspace
1246
msh1.Parent = S
1247
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
1248
end 
1249
1250
attackdebounce = false
1251
Damagefunc1=function(hit,Damage,Knockback)
1252
if hit.Parent==nil then
1253
return
1254
end
1255
CPlayer=Bin 
1256
h=hit.Parent:FindFirstChild("Humanoid")
1257
if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
1258
if attackdebounce == false then 
1259
critsound(2) 
1260
attackdebounce = true 
1261
coroutine.resume(coroutine.create(function() 
1262
wait(0.1) 
1263
attackdebounce = false 
1264
end)) 
1265
Damage=Damage
1266
--[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
1267
return
1268
end]]
1269
c=Instance.new("ObjectValue")
1270
c.Name="creator"
1271
c.Value=game.Players.LocalPlayer
1272
c.Parent=h
1273
game:GetService("Debris"):AddItem(c,.5)
1274
-- print(c.Value)
1275
if math.random(0,99)+math.random()<=5 then
1276
CRIT=true
1277
Damage=Damage*150
1278
--[[ Knockback=Knockback*2
1279
r=Instance.new("BodyAngularVelocity")
1280
r.P=3000
1281
r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
1282
r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
1283
r.Parent=hit.Parent.Torso]]
1284
--critsound(2) 
1285
1286
end
1287
Damage=Damage+math.random(50,100)
1288
-- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20))
1289
h:TakeDamage(Damage)
1290
showDamage(hit.Parent,Damage,50)
1291
vp=Instance.new("BodyVelocity")
1292
vp.P=500
1293
vp.maxForce=Vector3.new(math.huge,0,math.huge)
1294
-- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
1295
vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
1296
if Knockback>0 then
1297
vp.Parent=hit.Parent.Torso
1298
end
1299
game:GetService("Debris"):AddItem(vp,.25)
1300
--[[ r=Instance.new("BodyAngularVelocity")
1301
r.P=3000
1302
r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
1303
r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
1304
r.Parent=hit.Parent.Torso]]
1305
game:GetService("Debris"):AddItem(r,.5)
1306
c=Instance.new("ObjectValue")
1307
c.Name="creator"
1308
c.Value=Player
1309
c.Parent=h
1310
game:GetService("Debris"):AddItem(c,.5)
1311
CRIT=false
1312
hitDeb=true
1313
AttackPos=6
1314
end
1315
end 
1316
end
1317
1318
Damagefunc2=function(hit,Damage,Knockback)
1319
if hit.Parent==nil then
1320
return
1321
end
1322
CPlayer=Bin 
1323
h=hit.Parent:FindFirstChild("Humanoid")
1324
if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
1325
if attackdebounce == false then 
1326
critsound(1) 
1327
attackdebounce = true 
1328
coroutine.resume(coroutine.create(function() 
1329
wait(0.1) 
1330
attackdebounce = false 
1331
end)) 
1332
Damage=Damage
1333
--[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
1334
return
1335
end]]
1336
c=Instance.new("ObjectValue")
1337
c.Name="creator"
1338
c.Value=game.Players.LocalPlayer
1339
c.Parent=h
1340
game:GetService("Debris"):AddItem(c,.5)
1341
-- print(c.Value)
1342
if math.random(0,99)+math.random()<=5 then
1343
CRIT=true
1344
Damage=Damage*100
1345
--[[ Knockback=Knockback*2
1346
r=Instance.new("BodyAngularVelocity")
1347
r.P=3000
1348
r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
1349
r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
1350
r.Parent=hit.Parent.Torso]]
1351
--critsound(2) 
1352
1353
end
1354
Damage=Damage+math.random(50,100)
1355
-- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20))
1356
h:TakeDamage(Damage)
1357
showDamage(hit.Parent,Damage,50)
1358
vp=Instance.new("BodyVelocity")
1359
vp.P=500
1360
vp.maxForce=Vector3.new(math.huge,0,math.huge)
1361
-- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
1362
vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
1363
rl=Instance.new("BodyAngularVelocity")
1364
rl.P=3000
1365
rl.maxTorque=Vector3.new(5000,5000,5000)*500000000
1366
rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
1367
rl.Parent=t
1368
game:GetService("Debris"):AddItem(rl,.2)
1369
vl=Instance.new("BodyVelocity")
1370
vl.P=4500
1371
vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1372
vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,10,0)
1373
vl.Parent=t
1374
game:GetService("Debris"):AddItem(vl,.2)
1375
if Knockback>0 then
1376
vp.Parent=hit.Parent.Torso
1377
end
1378
game:GetService("Debris"):AddItem(vp,.25)
1379
--[[ r=Instance.new("BodyAngularVelocity")
1380
r.P=3000
1381
r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
1382
r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
1383
r.Parent=hit.Parent.Torso]]
1384
game:GetService("Debris"):AddItem(r,.5)
1385
c=Instance.new("ObjectValue")
1386
c.Name="creator"
1387
c.Value=Player
1388
c.Parent=h
1389
game:GetService("Debris"):AddItem(c,.5)
1390
CRIT=false
1391
hitDeb=true
1392
AttackPos=6
1393
end
1394
end 
1395
end
1396
1397
slashdamage1=function(hit,Damage,Knockback)
1398
if hit.Parent==nil then
1399
return
1400
end
1401
CPlayer=Bin 
1402
h=hit.Parent:FindFirstChild("Humanoid")
1403
if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
1404
if attackdebounce == false then 
1405
attackdebounce = true 
1406
coroutine.resume(coroutine.create(function() 
1407
wait(0.1) 
1408
attackdebounce = false 
1409
end)) 
1410
Damage=Damage
1411
--[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
1412
return
1413
end]]
1414
c=Instance.new("ObjectValue")
1415
c.Name="creator"
1416
c.Value=game.Players.LocalPlayer
1417
c.Parent=h
1418
game:GetService("Debris"):AddItem(c,.5)
1419
-- print(c.Value)
1420
if math.random(0,99)+math.random()<=5 then
1421
Damage=Damage*50
1422
--[[ Knockback=Knockback*2
1423
r=Instance.new("BodyAngularVelocity")
1424
r.P=3000
1425
r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
1426
r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
1427
r.Parent=hit.Parent.Torso]]
1428
--critsound(2) 
1429
1430
end
1431
Damage=Damage+math.random(65,90)
1432
-- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20))
1433
h:TakeDamage(Damage)
1434
showDamage(hit.Parent,Damage,50)
1435
vp=Instance.new("BodyVelocity")
1436
vp.P=500
1437
vp.maxForce=Vector3.new(math.huge,0,math.huge)
1438
-- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
1439
vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
1440
if Knockback>0 then
1441
vp.Parent=hit.Parent.Torso
1442
end
1443
game:GetService("Debris"):AddItem(vp,.25)
1444
--[[ r=Instance.new("BodyAngularVelocity")
1445
r.P=3000
1446
r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
1447
r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
1448
r.Parent=hit.Parent.Torso]]
1449
game:GetService("Debris"):AddItem(r,.5)
1450
c=Instance.new("ObjectValue")
1451
c.Name="creator"
1452
c.Value=Player
1453
c.Parent=h
1454
game:GetService("Debris"):AddItem(c,.5)
1455
CRIT=false
1456
hitDeb=true
1457
AttackPos=6
1458
end
1459
end 
1460
end
1461
1462
DBHit=function(hit,DB,Dmg) --credits to turdulator for making this function :D
1463
if hit.Parent==nil then
1464
return
1465
end
1466
h=hit.Parent:FindFirstChild("Humanoid")
1467
if h==nil then
1468
h=hit.Parent.Parent:FindFirstChild("Humanoid")
1469
end
1470
t=hit.Parent:FindFirstChild("Torso")
1471
if h~=nil and t~=nil then
1472
--[[ if h.Parent==Character then
1473
return
1474
end]]
1475
critsound(1.5) 
1476
Damage=Dmg+math.random(20,100)
1477
h:TakeDamage(Damage) 
1478
c=Instance.new("ObjectValue")
1479
c.Name="creator"
1480
c.Value=game.Players.LocalPlayer
1481
c.Parent=h
1482
game:GetService("Debris"):AddItem(c,.5)
1483
showDamage(hit.Parent,Damage,59) 
1484
vl=Instance.new("BodyVelocity")
1485
vl.P=4500
1486
vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1487
vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,10,0)
1488
vl.Parent=t
1489
game:GetService("Debris"):AddItem(vl,.2)
1490
rl=Instance.new("BodyAngularVelocity")
1491
rl.P=3000
1492
rl.maxTorque=Vector3.new(5000,5000,5000)*500000000
1493
rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
1494
rl.Parent=t
1495
game:GetService("Debris"):AddItem(rl,.2)
1496
else
1497
if hit.CanCollide==false then
1498
return
1499
end
1500
MagicCom:disconnect()
1501
-- DBExplode(DB)
1502
CRIT=false
1503
end
1504
end
1505
1506
showDamage=function(Char,Dealt,du)
1507
m=Instance.new("Model")
1508
m.Name=tostring(Dealt)
1509
h=Instance.new("Humanoid")
1510
h.Health=math.huge
1511
h.MaxHealth=math.huge
1512
h.Parent=m
1513
c=Instance.new("Part")
1514
c.Transparency=0
1515
c.BrickColor=BrickColor:Red()
1516
c.Name="Head"
1517
c.TopSurface=0
1518
c.BottomSurface=0
1519
c.formFactor="Plate"
1520
c.Size=Vector3.new(1,.4,1)
1521
ms=Instance.new("CylinderMesh")
1522
ms.Bevel=.1
1523
ms.Scale=Vector3.new(.8,.8,.8)
1524
ms.Parent=c
1525
c.Reflectance=0
1526
Instance.new("BodyGyro").Parent=c
1527
c.Parent=m
1528
c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
1529
f=Instance.new("BodyPosition")
1530
f.P=2000
1531
f.D=100
1532
f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1533
f.position=c.Position+Vector3.new(0,3,0)
1534
f.Parent=c
1535
game:GetService("Debris"):AddItem(m,.5+du)
1536
c.CanCollide=false
1537
m.Parent=workspace
1538
c.CanCollide=false
1539
end
1540
1541
Anims.Walking = function()
1542
derpcon1=Spider.LRa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) 
1543
derpcon2=Spider.LLa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) 
1544
derpcon3=Spider.URa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) 
1545
derpcon4=Spider.ULa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end) 
1546
for i=0,1,difficulty do 
1547
if act.Jumping ~= true then 
1548
Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(-40-(40*i)),0)
1549
Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0)
1550
Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(-40-(40*i)),0)
1551
Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0)
1552
wait()
1553
end 
1554
end
1555
coroutine.resume(coroutine.create(function()
1556
for i=0,1,difficulty do 
1557
if act.Jumping ~= true then 
1558
Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(40+(40*i)),0)
1559
Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0)
1560
Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(40+(40*i)),0)
1561
Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0)
1562
wait()
1563
end
1564
end 
1565
for i=1,0,-difficulty do 
1566
if act.Jumping ~= true then 
1567
Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(40+(40*i)),0)
1568
Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0)
1569
Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(40+(40*i)),0)
1570
Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0)
1571
wait()
1572
end 
1573
end 
1574
end))
1575
for i=1,0,-difficulty do 
1576
if act.Jumping ~= true then 
1577
Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(-40-(40*i)),0)
1578
Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0)
1579
Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(-40-(40*i)),0)
1580
Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0)
1581
wait()
1582
end
1583
end 
1584
derpcon1:disconnect()
1585
derpcon2:disconnect()
1586
derpcon3:disconnect()
1587
derpcon4:disconnect()
1588
if act.Jumping ~= true then 
1589
Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0)
1590
Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100),math.rad(0),0)
1591
Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0)
1592
Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0)
1593
end
1594
end 
1595
1596
1597
--[[while true do 
1598
wait()
1599
if act.Walking == true then return end
1600
if Torso.Velocity.magnitude >= 19 then 
1601
act.Walking = true
1602
Anims.Walking()
1603
act.Walking = false 
1604
end 
1605
end ]]
1606
1607
t = it("Tool")
1608
t.Equipped:connect(function(mouse) t:Remove()
1609
Mouse = mouse
1610
1611
mouse.KeyDown:connect(function(k) act.keydown = true 
1612
pcall(function() act.key[k:lower()] = true end)
1613
local kk = k:lower()
1614
if kk == "w" or kk == "a" or kk == "s" or kk == "d" then
1615
if act.Walking == true then return end
1616
while act.key["w"] == true or act.key["a"] == true or act.key["s"] == true or act.key["d"] == true do
1617
act.Walking = true
1618
Anims.Walking()
1619
wait()
1620
end
1621
act.Walking = false 
1622
1623
end
1624
if kk == "q" then 
1625
if roflcopter==false then
1626
roflcopter=true
1627
RoflCopter()
1628
elseif roflcopter==true then
1629
roflcopter=false
1630
end
1631
--[[if roflcopter==false then
1632
roflcopter=true
1633
Anim()
1634
elseif roflcopter==true then
1635
roflcopter=false
1636
end]]
1637
end
1638
if kk == "e" then 
1639
bodypos.position=bodypos.position+Vector3.new(0,10,0)
1640
end
1641
if kk == "r" then 
1642
bodypos.position=bodypos.position-Vector3.new(0,10,0)
1643
end 
1644
if attack == true then return end
1645
if kk == "f" then 
1646
Shoot()
1647
end 
1648
if kk == "g" then 
1649
Shoot2()
1650
end
1651
if kk == "h" then
1652
Shoot3()
1653
end
1654
if kk == "j" then
1655
Shoot4()
1656
end
1657
if kk == "z" then 
1658
Attack()
1659
end
1660
if kk == "x" then
1661
DualAttack()
1662
end
1663
if kk == "c" then 
1664
MegaBonk()
1665
end 
1666
if kk == "v" then
1667
Stomp()
1668
end
1669
if kk == " " then
1670
Jump()
1671
end
1672
end)
1673
1674
mouse.KeyUp:connect(function(k) act.keydown = false 
1675
pcall(function() act.key[k:lower()] = false end)
1676
end) 
1677
1678
1679
end)
1680
1681
wait(0.1)
1682
t.Parent = Char
1683
--lego