Dudez789

Untitled

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