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