Advertisement
TacoLuver123

Roblox SpooderBot script

Aug 17th, 2016
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 116.95 KB | None | 0 0
  1. Player = game.Players.MlgNoscoperStabber ----Put your name where it says "MlgNoscoperStabber"
  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 black,"Black"}
  14. --col = {"Really red","Really black","Black"}
  15. col = {"Really black","Really black","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(-100),math.rad(40),0)
  108. Spider.RAa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  109. Spider.w.RAa2 = weld(Spider.RAa2,Spider.RAb2,Spider.RAa2,0,Prop.LegLength/2,0,0,0,0)
  110. --Left Arm
  111. Spider.LAb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.LAb1,Prop.BallSize)
  112. 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)
  113. Spider.LAa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  114. Spider.w.LAa1 = weld(Spider.LAa1,Spider.LAb1,Spider.LAa1,0,Prop.LegLength/2,0,0,0,0)
  115. Spider.LAb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.LAb2,Prop.BallSize)
  116. 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)
  117. Spider.LAa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  118. Spider.w.LAa2 = weld(Spider.LAa2,Spider.LAb2,Spider.LAa2,0,Prop.LegLength/2,0,0,0,0)
  119. --Upper Right
  120. Spider.URb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.URb1,Prop.BallSize)
  121. 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)
  122. Spider.URa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  123. Spider.w.URa1 = weld(Spider.URa1,Spider.URb1,Spider.URa1,0,Prop.LegLength/2,0,0,0,0)
  124. Spider.URb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.URb2,Prop.BallSize)
  125. 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)
  126. Spider.URa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  127. Spider.w.URa2 = weld(Spider.URa2,Spider.URb2,Spider.URa2,0,Prop.LegLength/2,0,0,0,0)
  128. --Upper Left
  129. Spider.ULb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.ULb1,Prop.BallSize)
  130. 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)
  131. Spider.ULa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  132. Spider.w.ULa1 = weld(Spider.ULa1,Spider.ULb1,Spider.ULa1,0,Prop.LegLength/2,0,0,0,0)
  133. Spider.ULb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.ULb2,Prop.BallSize)
  134. 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)
  135. Spider.ULa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  136. Spider.w.ULa2 = weld(Spider.ULa2,Spider.ULb2,Spider.ULa2,0,Prop.LegLength/2,0,0,0,0)
  137. --Lower Right
  138. Spider.LRb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LRb1,Prop.BallSize)
  139. 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)
  140. Spider.LRa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  141. Spider.w.LRa1 = weld(Spider.LRa1,Spider.LRb1,Spider.LRa1,0,Prop.LegLength/2,0,0,0,0)
  142. Spider.LRb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LRb2,Prop.BallSize)
  143. 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)
  144. Spider.LRa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  145. Spider.w.LRa2 = weld(Spider.LRa2,Spider.LRb2,Spider.LRa2,0,Prop.LegLength/2,0,0,0,0)
  146. --Lower Left
  147. Spider.LLb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LLb1,Prop.BallSize)
  148. 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)
  149. Spider.LLa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  150. Spider.w.LLa1 = weld(Spider.LLa1,Spider.LLb1,Spider.LLa1,0,Prop.LegLength/2,0,0,0,0)
  151. Spider.LLb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LLb2,Prop.BallSize)
  152. 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)
  153. Spider.LLa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  154. Spider.w.LLa2 = weld(Spider.LLa2,Spider.LLb2,Spider.LLa2,0,Prop.LegLength/2,0,0,0,0)
  155. local prt1 = Instance.new("Part")
  156. prt1.formFactor = 1
  157. prt1.Parent = pack
  158. prt1.CanCollide = false
  159. prt1.BrickColor = br(col[1])
  160. prt1.Name = "Part1"
  161. prt1.Size = Vector3.new(1,1,1)
  162. prt1.Position = Torso.Position
  163. local prt2 = Instance.new("Part")
  164. prt2.formFactor = 1
  165. prt2.Parent = pack
  166. prt2.CanCollide = false
  167. prt2.BrickColor = BrickColor.new("Really red")
  168. prt2.Name = "Part2"
  169. prt2.Reflectance=0.3
  170. prt2.Size = Vector3.new(1,2,1)
  171. prt2.Position = Torso.Position
  172. local prt3 = Instance.new("Part")
  173. prt3.formFactor = 1
  174. prt3.Parent = pack
  175. prt3.CanCollide = false
  176. prt3.BrickColor = BrickColor.new("Medium stone grey")
  177. prt3.Name = "Part3"
  178. prt3.Reflectance=0.6
  179. prt3.Size = Vector3.new(1,2,1)
  180. prt3.Position = Torso.Position
  181. local prt4 = Instance.new("Part")
  182. prt4.formFactor = 1
  183. prt4.Parent = pack
  184. prt4.CanCollide = false
  185. prt4.BrickColor = BrickColor.new("Really red")
  186. prt4.Name = "Part4"
  187. prt4.Reflectance=0.3
  188. prt4.Size = Vector3.new(1,1,1)
  189. prt4.Position = Torso.Position
  190. local prt5 = Instance.new("Part")
  191. prt5.formFactor = 1
  192. prt5.Parent = pack
  193. prt5.CanCollide = false
  194. prt5.BrickColor = br(col[1])
  195. prt5.Name = "Part5"
  196. prt5.Size = Vector3.new(1,1,1)
  197. prt5.Position = Torso.Position
  198. local prt6 = Instance.new("Part")
  199. prt6.formFactor = 1
  200. prt6.Parent = pack
  201. prt6.CanCollide = false
  202. prt6.BrickColor = br(col[1])
  203. prt6.Name = "Part6"
  204. prt6.Size = Vector3.new(1,1,1)
  205. prt6.Position = Torso.Position
  206. local prt7 = Instance.new("Part")
  207. prt7.formFactor = 1
  208. prt7.Parent = pack
  209. prt7.CanCollide = false
  210. prt7.BrickColor = BrickColor.new("Really black")
  211. prt7.Name = "Part7"
  212. prt7.Size = Vector3.new(1,1,1)
  213. prt7.Position = Torso.Position
  214. local prt8 = Instance.new("Part")
  215. prt8.formFactor = 1
  216. prt8.Parent = pack
  217. prt8.CanCollide = false
  218. prt8.BrickColor = br(col[1])
  219. prt8.Name = "Part8"
  220. prt8.Size = Vector3.new(1,1,1)
  221. prt8.Position = Torso.Position
  222. local prt9 = Instance.new("Part")
  223. prt9.formFactor = 1
  224. prt9.Parent = pack
  225. prt9.CanCollide = false
  226. prt9.BrickColor = br(col[1])
  227. prt9.Name = "Part9"
  228. prt9.Size = Vector3.new(1,1,1)
  229. prt9.Position = Torso.Position
  230. local prt10 = Instance.new("Part")
  231. prt10.formFactor = 1
  232. prt10.Parent = pack
  233. prt10.CanCollide = false
  234. prt10.BrickColor = br(col[1])
  235. prt10.Name = "Part10"
  236. prt10.Size = Vector3.new(1,1,1)
  237. prt10.Position = Torso.Position
  238. local prt11 = Instance.new("Part")
  239. prt11.formFactor = 1
  240. prt11.Parent = pack
  241. prt11.CanCollide = false
  242. prt11.BrickColor = br(col[1])
  243. prt11.Name = "Part11"
  244. prt11.Size = Vector3.new(1,1,1)
  245. prt11.Position = Torso.Position
  246. local prt12 = Instance.new("Part")
  247. prt12.formFactor = 1
  248. prt12.Parent = pack
  249. prt12.CanCollide = false
  250. prt12.BrickColor = br(col[1])
  251. prt12.Name = "Part12"
  252. prt12.Size = Vector3.new(1,1,1)
  253. prt12.Position = Torso.Position
  254. local msh1 = Instance.new("BlockMesh")
  255. msh1.Parent = prt1
  256. --msh1.Scale = Vector3.new(0.9,0.8,3)
  257. msh1.Scale = Vector3.new(Prop.LegWide/0.9,Prop.LegWide/1,Prop.LegLength/1.3)
  258. local msh2 = Instance.new("BlockMesh")
  259. msh2.Parent = prt2
  260. --msh2.Scale = Vector3.new(0.3,2.5,1)
  261. msh2.Scale = Vector3.new(Prop.LegWide/2.5,Prop.LegLength/1.6,Prop.LegWide*1.3)
  262. local msh3 = Instance.new("BlockMesh")
  263. msh3.Parent = prt3
  264. --msh3.Scale = Vector3.new(0.1,2.6,1.5)
  265. msh3.Scale = Vector3.new(Prop.LegWide/6,Prop.LegLength/1.6,Prop.LegWide*1.9)
  266. local msh4 = Instance.new("SpecialMesh")
  267. msh4.Parent = prt4
  268. msh4.MeshType = "Wedge"
  269. --msh4.Scale = Vector3.new(0.3,2,1)
  270. msh4.Scale = Vector3.new(Prop.LegWide/2.5,Prop.LegLength/2,Prop.LegWide*1.3)
  271. local msh5 = Instance.new("CylinderMesh")
  272. msh5.Parent = prt5
  273. --msh5.Scale = Vector3.new(1.5,1,1.5)
  274. msh5.Scale = Vector3.new(Prop.LegWide*2,Prop.LegLength/4,Prop.LegWide*2)
  275. local msh6 = Instance.new("CylinderMesh")
  276. msh6.Parent = prt6
  277. --msh6.Scale = Vector3.new(2.5,1.6,2.5)
  278. msh6.Scale = Vector3.new(Prop.LegWide*3.1,Prop.LegLength/2.5,Prop.LegWide*3.1)
  279. local msh7 = Instance.new("CylinderMesh")
  280. msh7.Parent = prt7
  281. --msh7.Scale = Vector3.new(1.4,1.7,1.4)
  282. msh7.Scale = Vector3.new(Prop.LegWide*1.8,Prop.LegLength/2.3,Prop.LegWide*1.8)
  283. local msh8 = Instance.new("BlockMesh")
  284. msh8.Parent = prt8
  285. --msh8.Scale = Vector3.new(0.5,2,0.5)
  286. msh8.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6)
  287. local msh9 = Instance.new("BlockMesh")
  288. msh9.Parent = prt9
  289. --msh9.Scale = Vector3.new(0.5,2,0.5)
  290. msh9.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6)
  291. local msh10 = Instance.new("BlockMesh")
  292. msh10.Parent = prt10
  293. --msh10.Scale = Vector3.new(0.5,2,0.5)
  294. msh10.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6)
  295. local msh11 = Instance.new("BlockMesh")
  296. msh11.Parent = prt11
  297. --msh11.Scale = Vector3.new(0.5,2,0.5)
  298. msh11.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6)
  299. local msh12 = Instance.new("BlockMesh")
  300. msh12.Parent = prt12
  301. --msh12.Scale = Vector3.new(0.5,2,0.5)
  302. msh12.Scale = Vector3.new(0,0,0)
  303. local wld1 = Instance.new("Weld")
  304. wld1.Parent = prt1
  305. wld1.Part0 = prt1
  306. wld1.Part1 = Spider.RAa2
  307. --wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.5,0)
  308. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/6,0)
  309. local wld2 = Instance.new("Weld")
  310. wld2.Parent = prt2
  311. wld2.Part0 = prt2
  312. wld2.Part1 = prt1
  313. --wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-3,0)
  314. wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.3,0)
  315. local wld3 = Instance.new("Weld")
  316. wld3.Parent = prt3
  317. wld3.Part0 = prt3
  318. wld3.Part1 = prt1
  319. --wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-3,0)
  320. wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.3,0)
  321. local wld4 = Instance.new("Weld")
  322. wld4.Parent = prt4
  323. wld4.Part0 = prt4
  324. wld4.Part1 = prt2
  325. wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-4.2,0)
  326. wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.1,0)
  327. local wld5 = Instance.new("Weld")
  328. wld5.Parent = prt5
  329. wld5.Part0 = prt5
  330. wld5.Part1 = Spider.LAa2
  331. --wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-2.5,0)
  332. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.6,0)
  333. local wld6 = Instance.new("Weld")
  334. wld6.Parent = prt6
  335. wld6.Part0 = prt6
  336. wld6.Part1 = prt5
  337. --wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.5,0)
  338. wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/2.6,0)
  339. local wld7 = Instance.new("Weld")
  340. wld7.Parent = prt7
  341. wld7.Part0 = prt7
  342. wld7.Part1 = prt6
  343. wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  344. local wld8 = Instance.new("Weld")
  345. wld8.Parent = prt8
  346. wld8.Part0 = prt8
  347. wld8.Part1 = prt6
  348. --wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.5) * CFrame.new(1.5,-1,0)
  349. wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.5) * CFrame.new(Prop.LegWide*2,-Prop.LegLength/4,0)
  350. local wld9 = Instance.new("Weld")
  351. wld9.Parent = prt9
  352. wld9.Part0 = prt9
  353. wld9.Part1 = prt6
  354. --wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.5) * CFrame.new(-1.5,-1,0)
  355. wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.5) * CFrame.new(-Prop.LegWide*2,-Prop.LegLength/4,0)
  356. local wld10 = Instance.new("Weld")
  357. wld10.Parent = prt10
  358. wld10.Part0 = prt10
  359. wld10.Part1 = prt6
  360. --wld10.C0 = CFrame.fromEulerAnglesXYZ(-0.5,0,0) * CFrame.new(0,-1,-1.5)
  361. wld10.C0 = CFrame.fromEulerAnglesXYZ(-0.5,0,0) * CFrame.new(0,-Prop.LegLength/4,-Prop.LegWide*2)
  362. local wld11 = Instance.new("Weld")
  363. wld11.Parent = prt11
  364. wld11.Part0 = prt11
  365. wld11.Part1 = prt6
  366. --wld11.C0 = CFrame.fromEulerAnglesXYZ(0.5,0,0) * CFrame.new(0,-1,1.5)
  367. wld11.C0 = CFrame.fromEulerAnglesXYZ(0.5,0,0) * CFrame.new(0,-Prop.LegLength/4,Prop.LegWide*2)
  368. local wld12 = Instance.new("Weld")
  369. wld12.Parent = prt12
  370. wld12.Part0 = prt12
  371. wld12.Part1 = prt6
  372. --wld12.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,0) * CFrame.new(0,0,0)
  373. wld12.C0 = CFrame.fromEulerAnglesXYZ(-1.57,0,0) * CFrame.new(0,0,0)
  374. wait()
  375. Spider.w.Back = weld(Spider.Back,Torso,Spider.Back,0,0,0.5,0,0,0)
  376. wait()
  377. Torso.CFrame = Torso.CFrame + Vector3.new(0,10,0)
  378. function Anim()
  379. attack=true
  380. for i=0,1,0.1 do
  381. wait()
  382. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120*i)),math.rad(70-(70*i)),0)
  383. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10*i)),math.rad(40+(50*i)),0)
  384. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120*i)),math.rad(-70+(70*i)),0)
  385. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10*i)),math.rad(-40-(50*i)),0)
  386. end
  387. bodypos=Instance.new("BodyPosition")
  388. bodypos.P=500
  389. bodypos.D=100
  390. bodypos.maxForce=Vector3.new(0,math.huge,0)
  391. bodypos.position=Head.Position+Vector3.new(0,50,0)
  392. bodypos.Parent=Head
  393. while roflcopter==true do
  394. for i = 0,1,0.1 do
  395. wait()
  396. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120)),math.rad(70-(70)),0)
  397. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10)),math.rad(90+(360*i)),0)
  398. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120)),math.rad(-70+(70)),0)
  399. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10)),math.rad(-90+(360*i)),0)
  400. end
  401. end
  402. bodypos.Parent=nil
  403. for i=0,1,0.1 do
  404. wait()
  405. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120-120*i)),math.rad(70-(70-70*i)),0)
  406. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10-10*i)),math.rad(90-(50*i)),0)
  407. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120-120*i)),math.rad(-70+(70-70*i)),0)
  408. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10-10*i)),math.rad(-90+(50*i)),0)
  409. end
  410. attack=false
  411. end
  412. function RoflCopter()
  413. act.Jumping=true
  414. for i=0,1,0.1 do
  415. wait()
  416. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0)
  417. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80*i),math.rad(0),0)
  418. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0)
  419. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80*i),math.rad(0),0)
  420. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40),0)
  421. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80*i),math.rad(0),0)
  422. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0)
  423. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80*i),math.rad(0),0)
  424. end
  425. bodypos.P=500
  426. bodypos.D=100
  427. bodypos.maxForce=Vector3.new(0,math.huge,0)
  428. bodypos.position=Head.Position+Vector3.new(0,10,0)
  429. bodypos.Parent=Head
  430. while roflcopter==true do
  431. derpcon1=Spider.LRa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  432. derpcon2=Spider.LLa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  433. derpcon3=Spider.URa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  434. derpcon4=Spider.ULa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  435. for i=0,1,0.1 do
  436. wait()
  437. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40+360*i),0)
  438. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80),math.rad(0),0)
  439. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40+360*i),0)
  440. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80),math.rad(0),0)
  441. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40+360*i),0)
  442. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80),math.rad(0),0)
  443. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40+360*i),0)
  444. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80),math.rad(0),0)
  445. end
  446. derpcon1:disconnect()
  447. derpcon2:disconnect()
  448. derpcon3:disconnect()
  449. derpcon4:disconnect()
  450. end
  451. bodypos.Parent=nil
  452. for i=0,1,0.1 do
  453. wait()
  454. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0)
  455. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80-80*i),math.rad(0),0)
  456. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0)
  457. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80+80*i),math.rad(0),0)
  458. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40),0)
  459. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80-80*i),math.rad(0),0)
  460. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0)
  461. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80+80*i),math.rad(0),0)
  462. end
  463. act.Jumping=false
  464. end
  465. function Shoot()
  466. attack=true
  467. for i=0,1,0.1 do
  468. wait()
  469. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  470. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  471. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50*i),math.rad(-70),0)
  472. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20*i),math.rad(-40+40*i),0)
  473. end
  474. gairo.Parent = Head
  475. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  476. gairo.P = 20e+003
  477. gairo.cframe = Head.CFrame
  478. for i=0,1,0.1 do
  479. wait()
  480. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57*i)
  481. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  482. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  483. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+20*i),math.rad(-70-20*i),0)
  484. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20+80*i),math.rad(-40+40),0)
  485. end
  486. wait(0.1)
  487. for i = 1,3 do
  488. DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black"))
  489. shoottrail2(prt7)
  490. wait(0.5)
  491. end
  492. for i=0,1,0.1 do
  493. wait()
  494. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57-1.57*i)
  495. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  496. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  497. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+20+30*i),math.rad(-70-20+20*i),0)
  498. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20+80-100*i),math.rad(-40+40-40*i),0)
  499. end
  500. gairo.Parent=nil
  501. Torso.Neck.C0=necko
  502. attack=false
  503. end
  504. function Shoot2()
  505. attack=true
  506. for i=0,1,0.1 do
  507. wait()
  508. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  509. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  510. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60*i),math.rad(-70),0)
  511. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15*i),math.rad(-40-60*i),0)
  512. end
  513. for i=0,0.3,0.1 do
  514. wait(0.1)
  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-60),math.rad(-70),0)
  518. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15+40*i),math.rad(-40-60),0)
  519. DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black"))
  520. shoottrail2(prt7)
  521. end
  522. for i=0,1,0.1 do
  523. wait()
  524. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  525. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  526. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60+60*i),math.rad(-70),0)
  527. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15+20-55*i),math.rad(-40-60+60*i),0)
  528. end
  529. attack=false
  530. end
  531. function Shoot3()
  532. attack=true
  533. for i=0,1,0.1 do
  534. wait()
  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-50*i),math.rad(-70+70*i),math.rad(90*i))
  538. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60*i),math.rad(-40+40*i),math.rad(3*i))
  539. end
  540. for i=0,1,0.1 do
  541. wait()
  542. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  543. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  544. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+60*i),math.rad(-70+70),math.rad(90))
  545. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60+40*i),math.rad(-40+40),math.rad(3))
  546. DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black"))
  547. shoottrail2(prt7)
  548. end
  549. for i=0,1,0.1 do
  550. wait()
  551. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  552. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  553. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+60-10*i),math.rad(-70+70-70*i),math.rad(90-90*i))
  554. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60+40-100*i),math.rad(-40+40-40*i),math.rad(3-3*i))
  555. end
  556. attack=false
  557. end
  558. function Shoot4()
  559. attack=true
  560. for i=0,1,0.1 do
  561. wait()
  562. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  563. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  564. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60*i),math.rad(-70+70*i),math.rad(0))
  565. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(-40+40*i),math.rad(0))
  566. end
  567. for i=0,1,0.1 do
  568. wait()
  569. DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black"))
  570. shoottrail2(prt7)
  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+60),math.rad(-70+70),math.rad(0))
  574. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50+50*i),math.rad(-40+40),math.rad(0))
  575. end
  576. for i=0,1,0.1 do
  577. wait()
  578. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  579. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  580. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60-60*i),math.rad(-70+70-70*i),math.rad(0))
  581. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50+50-100*i),math.rad(-40+40-40*i),math.rad(0))
  582. end
  583. attack=false
  584. end
  585. function Attack()
  586. attack=true
  587. for i=0,1,0.1 do
  588. wait()
  589. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80*i),math.rad(70-70*i),0)
  590. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40-40*i),0)
  591. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  592. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  593. end
  594. ss(1)
  595. con1=prt2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end)
  596. con2=Spider.RAa2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end)
  597. for i=0,1,0.2 do
  598. wait()
  599. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80+90*i),math.rad(70-70),0)
  600. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+70*i),math.rad(40-40),0)
  601. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  602. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  603. end
  604. wait(0.1)
  605. con1:disconnect()
  606. con2:disconnect()
  607. for i=0,1,0.1 do
  608. wait()
  609. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120+10-10*i),math.rad(70-70+70*i),0)
  610. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+70-70*i),math.rad(40-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. attack=false
  615. end
  616. function MegaBonk()
  617. attack=true
  618. for i=0,1,0.1 do
  619. wait()
  620. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80*i),math.rad(70-70*i),0)
  621. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40-40*i),0)
  622. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  623. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  624. end
  625. wait(0.1)
  626. for i=0,1,0.02 do
  627. wait()
  628. MMMAGIC(prt4,Prop.BallSize*2,Prop.BallSize*2,Prop.BallSize*2,0,Prop.LegLength/2,0,BrickColor.new("Really black"))
  629. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80-30*i),math.rad(70-70),0)
  630. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30*i),math.rad(40-40),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. ss(1.3)
  635. con1=prt2.Touched:connect(function(hit) Damagefunc2(hit,Prop.LegLength*10,100) end)
  636. con2=Spider.RAa2.Touched:connect(function(hit) Damagefunc2(hit,Prop.LegLength*10,100) end)
  637. for i=0,1,0.2 do
  638. wait()
  639. MMMAGIC(prt4,Prop.BallSize*2,Prop.BallSize*2,Prop.BallSize*2,0,Prop.LegLength/2,0,BrickColor.new("Really black"))
  640. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80-30+110*i),math.rad(70-70),0)
  641. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30+120*i),math.rad(40-40),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. MMMAGIC(prt4,Prop.BallSize*4,Prop.BallSize*4,Prop.BallSize*4,0,Prop.LegLength/2,0,BrickColor.new("Really black"))
  646. wait(0.5)
  647. con1:disconnect()
  648. con2:disconnect()
  649. for i=0,1,0.1 do
  650. wait()
  651. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-110+110),math.rad(70-70+70*i),0)
  652. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30+120-100*i),math.rad(40-40+40*i),0)
  653. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  654. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  655. end
  656. attack=false
  657. end
  658. function DualAttack()
  659. attack=true
  660. for i=0,1,0.1 do
  661. wait()
  662. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30*i),math.rad(70-90*i),0)
  663. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40+40*i),0)
  664. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  665. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  666. end
  667. ss(1)
  668. con1=prt2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end)
  669. con2=Spider.RAa2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end)
  670. for i=0,1,0.2 do
  671. wait()
  672. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30),math.rad(70-90+100*i),0)
  673. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(40+40),0)
  674. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  675. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  676. end
  677. con1:disconnect()
  678. con2:disconnect()
  679. for i=0,1,0.1 do
  680. wait()
  681. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30+30*i),math.rad(70-90+100-10*i),0)
  682. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(40+40-40*i),0)
  683. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  684. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  685. end
  686. attack=false
  687. end
  688. function Stomp()
  689. attack=true
  690. local vel2 = Instance.new("BodyVelocity")
  691. vel2.Parent = Player.Character.Torso
  692. vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  693. vel2.velocity = Vector3.new(0,1,0) * 20
  694. wait(0.05)
  695. vel2.Parent=nil
  696. act.Jumping=true
  697. Char.Humanoid.WalkSpeed=0
  698. for i=0,1,0.1 do
  699. wait()
  700. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50*i),math.rad(-40),0)
  701. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(0),0)
  702. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0)
  703. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0)
  704. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50*i),math.rad(40),0)
  705. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(0),0)
  706. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0)
  707. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0)
  708. end
  709. for i=0,1,0.1 do
  710. wait()
  711. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50),math.rad(-40),0)
  712. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50),math.rad(0),0)
  713. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(-40+40*i),0)
  714. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30*i),math.rad(0),0)
  715. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50),math.rad(40),0)
  716. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50),math.rad(0),0)
  717. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(40-40*i),0)
  718. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30*i),math.rad(0),0)
  719. end
  720. ss(0.9)
  721. con1=Spider.URa1.Touched:connect(function(hit) DBHit(hit,50,Prop.LegLength*2) end)
  722. con2=Spider.URa2.Touched:connect(function(hit) DBHit(hit,50,Prop.LegLength*2) end)
  723. for i=0,1,0.2 do
  724. wait()
  725. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50+50*i),math.rad(-40),0)
  726. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(0),0)
  727. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+50*i),math.rad(-40+40),0)
  728. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30+30*i),math.rad(0),0)
  729. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50+50*i),math.rad(40),0)
  730. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(0),0)
  731. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+50*i),math.rad(40-40),0)
  732. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30+30*i),math.rad(0),0)
  733. end
  734. wait(0.1)
  735. con1:disconnect()
  736. con2:disconnect()
  737. for i=0,1,0.1 do
  738. wait()
  739. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50+50),math.rad(-40),0)
  740. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50-50),math.rad(0),0)
  741. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+50),math.rad(-40+40-40*i),0)
  742. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30+30),math.rad(0),0)
  743. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50+50),math.rad(40),0)
  744. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50-50),math.rad(0),0)
  745. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+50),math.rad(40-40+40*i),0)
  746. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30+30),math.rad(0),0)
  747. end
  748. Char.Humanoid.WalkSpeed=walksped
  749. act.Jumping=false
  750. attack=false
  751. end
  752. function Jump()
  753. attack=true
  754. act.Jumping=true
  755. for i=0,1,0.1 do
  756. wait()
  757. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50*i),math.rad(-40),0)
  758. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50*i),math.rad(0),0)
  759. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(-40),0)
  760. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50*i),math.rad(0),0)
  761. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50*i),math.rad(40),0)
  762. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50*i),math.rad(0),0)
  763. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(40),0)
  764. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50*i),math.rad(0),0)
  765. end
  766. for i=0,1,0.2 do
  767. wait()
  768. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50-100*i),math.rad(-40),0)
  769. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50+100*i),math.rad(0),0)
  770. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+100*i),math.rad(-40),0)
  771. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50-100*i),math.rad(0),0)
  772. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50-100*i),math.rad(40),0)
  773. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50+100*i),math.rad(0),0)
  774. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+100*i),math.rad(40),0)
  775. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50-100*i),math.rad(0),0)
  776. end
  777. local vel2 = Instance.new("BodyVelocity")
  778. vel2.Parent = Player.Character.Torso
  779. vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  780. vel2.velocity = Vector3.new(0,1,0) * 100
  781. wait(0.1)
  782. vel2.Parent=nil
  783. for i=0,1,0.1 do
  784. wait()
  785. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50-100+50*i),math.rad(-40),0)
  786. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50+100-50*i),math.rad(0),0)
  787. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+100-50*i),math.rad(-40),0)
  788. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50-100+50*i),math.rad(0),0)
  789. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50-100+50*i),math.rad(40),0)
  790. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50+100-50*i),math.rad(0),0)
  791. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+100-50*i),math.rad(40),0)
  792. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50-100+50*i),math.rad(0),0)
  793. end
  794. act.Jumping=false
  795. attack=false
  796. end
  797. function shoottrail2(pos1)
  798. coroutine.resume(coroutine.create(function()
  799. spread2 = 0
  800. range2 = Prop.LegLength*150
  801. rangepower = Prop.LegLength*1.5
  802. local spreadvector = (Vector3.new(math.random(-spread2,spread2),math.random(-spread2,spread2),math.random(-spread2,spread2)) / 100) * (pos1.Position).magnitude/100
  803. --local dir = Head.CFrame.lookVector+spreadvector
  804. local dir = prt12.CFrame.lookVector+spreadvector
  805. local hit2,pos = rayCast(pos1.Position,dir,10,pack)
  806. local rangepos = range2
  807. local function drawtrail(From,To)
  808. local effectsmsh = Instance.new("CylinderMesh")
  809. effectsmsh.Scale = Vector3.new(1,1,1)
  810. effectsmsh.Name = "Mesh"
  811. local effectsg = Instance.new("Part")
  812. effectsg.formFactor = 3
  813. effectsg.CanCollide = false
  814. effectsg.Name = "Eff"
  815. effectsg.Locked = true
  816. effectsg.Anchored = true
  817. effectsg.Size = Vector3.new(Prop.LegLength/4,Prop.LegLength/5,Prop.LegLength/4)
  818. effectsg.Parent = pack
  819. effectsmsh.Parent = effectsg
  820. effectsg.BrickColor = BrickColor.new("Really black")
  821. effectsg.Reflectance = 0.25
  822. local LP = From
  823. local point1 = To
  824. local mg = (LP - point1).magnitude
  825. effectsmsh.Scale = Vector3.new(1,mg*5,1)
  826. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  827. coroutine.resume(coroutine.create(function()
  828. for i = 0 , 1 , 0.2 do
  829. wait()
  830. effectsg.Transparency = 1*i
  831. effectsmsh.Scale = Vector3.new(1-1*i,mg*5,1-1*i)
  832. end
  833. effectsg.Parent = nil
  834. end))
  835. end
  836. local newpos = pos1.Position
  837. local inc = rangepower
  838. repeat
  839. wait()
  840. rangepos = rangepos - 10
  841. dir = dir
  842. hit2,pos = rayCast(newpos,dir,inc,pack)
  843. drawtrail(newpos,pos)
  844. newpos = newpos + (dir * inc)
  845. if alt==1 then
  846. inc = 10
  847. if inc >= 20 then
  848. inc = inc - 10
  849. end
  850. end
  851. if hit2 ~= nil then
  852. rangepos = 0
  853. end
  854. until rangepos <= 0
  855. if hit2 ~= nil then
  856. local effectsmsh = Instance.new("SpecialMesh")
  857. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  858. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  859. effectsmsh.Scale = Vector3.new(3,3,3)
  860. local effectsg = Instance.new("Part")
  861. effectsg.formFactor = 3
  862. effectsg.CanCollide = false
  863. effectsg.Name = "Arrow"
  864. effectsg.Locked = true
  865. effectsg.Transparency = 1
  866. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  867. effectsg.Parent = pack
  868. effectsg.BrickColor = BrickColor.new("Really black")
  869. effectsmsh.Parent = effectsg
  870. effectsg.CFrame = CFrame.new(newpos,pos) + CFrame.new(newpos,pos).lookVector*2.5*2
  871. local efwel = Instance.new("Weld")
  872. efwel.Parent = effectsg
  873. efwel.Part0 = effectsg
  874. efwel.Part1 = hit2
  875. efwel.Parent = nil
  876. effectsg.Anchored = true
  877. local HitPos = effectsg.Position + CFrame.new(newpos,pos).lookVector*0.75
  878. --local HitPos = prt1.Position + CFrame.new(newpos,pos).lookVector*0.75
  879. --local HitPos = prt1.Position + (prt1.CFrame.lookVector * .5)
  880. local CJ = CFrame.new(HitPos)
  881. local C0 = effectsg.CFrame:inverse() * CJ
  882. local C1 = hit2.CFrame:inverse() * CJ
  883. --efwel.C0 = C0
  884. --efwel.C1 = C1
  885. --efwel.Parent = effectsg
  886. Damg = Prop.LegLength*5
  887. coroutine.resume(coroutine.create(function()
  888. msound(1)
  889. coroutine.resume(coroutine.create(function()
  890. local c = game.Workspace:GetChildren();
  891. for i = 1, #c do
  892. local hum = c:findFirstChild("Humanoid")
  893. if hum ~= nil and hum.Health ~= 0 then
  894. local head = c:findFirstChild("Head");
  895. if head ~= nil then
  896. local targ = head.Position - effectsg.Position;
  897. local mag = targ.magnitude;
  898. if mag <= Prop.LegLength*3 then
  899. wait()
  900. DBHit(head,effectsg,Prop.LegLength)
  901. end
  902. end
  903. end
  904. end
  905. end))
  906. EVENMOARMAGIX(effectsg,Prop.LegLength*3,Prop.LegLength*2,Prop.LegLength*3,0,0,0,0,0,0,BrickColor.new("Black"))
  907. for i = 0,5 do
  908. wait()
  909. MMMAGIC(effectsg,Prop.LegLength*3,Prop.LegLength*2,Prop.LegLength*3,0,0,0,BrickColor.new("Black"))
  910. end
  911. end))
  912. coroutine.resume(coroutine.create(function()
  913. wait(3)
  914. effectsg.Parent = nil
  915. end))
  916. if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
  917. hum = hit2.Parent.Humanoid
  918. attackdebounce = false
  919. Damagefunc1(hit2,Damg,50)
  920. elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  921. hum = hit2.Parent.Parent.Humanoid
  922. attackdebounce = false
  923. Damagefunc1(hit2,Damg,50)
  924. end
  925. end
  926. end))
  927. end
  928. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , Ignore Descendants
  929. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  930. end
  931. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  932. local msh1 = Instance.new("BlockMesh")
  933. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  934. S=Instance.new("Part")
  935. S.Name="Effect"
  936. S.formFactor=0
  937. S.Size=Vector3.new(x1,y1,z1)
  938. S.BrickColor=color
  939. S.Reflectance = 0
  940. S.TopSurface=0
  941. S.BottomSurface=0
  942. S.Transparency=0
  943. S.Anchored=true
  944. S.CanCollide=false
  945. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  946. S.Parent=pack
  947. msh1.Parent = S
  948. 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)
  949. end
  950. function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  951. local msh1 = Instance.new("BlockMesh")
  952. msh1.Scale = Vector3.new(x1,y1,z1)
  953. S=Instance.new("Part")
  954. S.Name="Effect"
  955. S.formFactor=0
  956. S.Size=Vector3.new(1,1,1)
  957. S.BrickColor=color
  958. S.Reflectance = 0
  959. S.TopSurface=0
  960. S.BottomSurface=0
  961. S.Transparency=0
  962. S.Anchored=true
  963. S.CanCollide=false
  964. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  965. S.Parent=pack
  966. msh1.Parent = S
  967. 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)
  968. end
  969. function MOREMAGIX(part,cframe,x,y,z,color)
  970. p2=Instance.new("Part")
  971. p2.Name="Blast"
  972. p2.TopSurface=0
  973. p2.BottomSurface=0
  974. p2.CanCollide=false
  975. p2.Anchored=true
  976. p2.BrickColor=color
  977. p2.Size=Vector3.new(x,y,z)
  978. p2.formFactor="Symmetric"
  979. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  980. p2.Parent=pack
  981. m=Instance.new("BlockMesh")
  982. m.Parent=p2
  983. m.Name="BlastMesh"
  984. 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))
  985. end
  986. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  987. local msh1 = Instance.new("SpecialMesh")
  988. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  989. msh1.MeshType = "Sphere"
  990. S=Instance.new("Part")
  991. S.Name="Effect"
  992. S.formFactor=0
  993. S.Size=Vector3.new(x1,y1,z1)
  994. S.BrickColor=color
  995. S.Reflectance = 0
  996. S.TopSurface=0
  997. S.BottomSurface=0
  998. S.Transparency=0
  999. S.Anchored=true
  1000. S.CanCollide=false
  1001. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1002. S.Parent=pack
  1003. msh1.Parent = S
  1004. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.15,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1005. end
  1006. print("Y U NU GIVE CREDIT.")
  1007. function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1008. local msh1 = Instance.new("SpecialMesh")
  1009. msh1.Scale = Vector3.new(x1,y1,z1)
  1010. msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1011. S=Instance.new("Part")
  1012. S.Name="Effect"
  1013. S.formFactor=0
  1014. S.Size=Vector3.new(1,1,1)
  1015. S.BrickColor=color
  1016. S.Reflectance = 0
  1017. S.TopSurface=0
  1018. S.BottomSurface=0
  1019. S.Transparency=0
  1020. S.Anchored=true
  1021. S.CanCollide=false
  1022. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1023. S.Parent=pack
  1024. msh1.Parent = S
  1025. 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)
  1026. end
  1027. function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1028. local msh1 = Instance.new("SpecialMesh")
  1029. msh1.Scale = Vector3.new(x1,y1,z1)
  1030. msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
  1031. S=Instance.new("Part")
  1032. S.Name="Effect"
  1033. S.formFactor=0
  1034. S.Size=Vector3.new(1,1,1)
  1035. S.BrickColor=color
  1036. S.Reflectance = 0
  1037. S.TopSurface=0
  1038. S.BottomSurface=0
  1039. S.Transparency=0
  1040. S.Anchored=true
  1041. S.CanCollide=false
  1042. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1043. S.Parent=pack
  1044. msh1.Parent = S
  1045. 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)
  1046. end
  1047. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  1048. local msh1 = Instance.new("BlockMesh")
  1049. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1050. S=Instance.new("Part")
  1051. S.Name="Effect"
  1052. S.formFactor=0
  1053. S.Size=Vector3.new(x1,y1,z1)
  1054. S.BrickColor=color
  1055. S.Reflectance = 0
  1056. S.TopSurface=0
  1057. S.BottomSurface=0
  1058. S.Transparency=0
  1059. S.Anchored=true
  1060. S.CanCollide=false
  1061. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1062. S.Parent=pack
  1063. msh1.Parent = S
  1064. 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)
  1065. end
  1066. function ss(pitch)
  1067. local SlashSound = Instance.new("Sound")
  1068. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1069. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  1070. SlashSound.Parent = workspace
  1071. SlashSound.Volume = .7
  1072. SlashSound.Pitch = pitch
  1073. SlashSound.PlayOnRemove = true
  1074. coroutine.resume(coroutine.create(function()
  1075. wait(0)
  1076. SlashSound.Parent = nil
  1077. end))
  1078. end
  1079. function equipsound(pitch)
  1080. local SlashSound = Instance.new("Sound")
  1081. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1082. SlashSound.Parent = workspace
  1083. SlashSound.Volume = .5
  1084. SlashSound.Pitch = pitch
  1085. SlashSound.PlayOnRemove = true
  1086. coroutine.resume(coroutine.create(function()
  1087. wait(0)
  1088. SlashSound.Parent = nil
  1089. end))
  1090. end
  1091. function magicsound(pitch)
  1092. local SlashSound = Instance.new("Sound")
  1093. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  1094. SlashSound.Parent = workspace
  1095. SlashSound.Volume = .5
  1096. SlashSound.Pitch = pitch
  1097. SlashSound.PlayOnRemove = true
  1098. coroutine.resume(coroutine.create(function()
  1099. wait(0)
  1100. SlashSound.Parent = nil
  1101. end))
  1102. end
  1103. function critsound(pitch)
  1104. local SlashSound = Instance.new("Sound")
  1105. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  1106. SlashSound.Parent = workspace
  1107. SlashSound.Volume = .7
  1108. SlashSound.Pitch = pitch
  1109. SlashSound.PlayOnRemove = true
  1110. coroutine.resume(coroutine.create(function()
  1111. wait(0)
  1112. SlashSound.Parent = nil
  1113. end))
  1114. end
  1115. function spikesound(pitch)
  1116. local SlashSound = Instance.new("Sound")
  1117. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  1118. SlashSound.Parent = workspace
  1119. SlashSound.Volume = .7
  1120. SlashSound.Pitch = pitch
  1121. SlashSound.PlayOnRemove = true
  1122. coroutine.resume(coroutine.create(function()
  1123. wait(0)
  1124. SlashSound.Parent = nil
  1125. end))
  1126. end
  1127. function msound(pitch)
  1128. local SlashSound = Instance.new("Sound")
  1129. SlashSound.SoundId = "http://www.roblox.com/asset?id=2101148"
  1130. SlashSound.Parent = workspace
  1131. SlashSound.Volume = .7
  1132. SlashSound.Pitch = pitch
  1133. SlashSound.PlayOnRemove = true
  1134. coroutine.resume(coroutine.create(function()
  1135. wait(0)
  1136. SlashSound.Parent = nil
  1137. end))
  1138. end
  1139. function lasersound(pitch)
  1140. local SlashSound = Instance.new("Sound")
  1141. SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav"
  1142. SlashSound.Parent = workspace
  1143. SlashSound.Volume = .5
  1144. SlashSound.Pitch = pitch
  1145. SlashSound.PlayOnRemove = true
  1146. coroutine.resume(coroutine.create(function()
  1147. wait(0)
  1148. SlashSound.Parent = nil
  1149. end))
  1150. end
  1151. function omnomnom(pitch)
  1152. local SlashSound = Instance.new("Sound")
  1153. SlashSound.SoundId = "http://www.roblox.com/asset/?id=12544690"
  1154. SlashSound.Parent = workspace
  1155. SlashSound.Volume = .5
  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 msound(pitch)
  1164. local SlashSound = Instance.new("Sound")
  1165. SlashSound.SoundId = "http://www.roblox.com/asset?id=2101148"
  1166. SlashSound.Parent = workspace
  1167. SlashSound.Volume = .7
  1168. SlashSound.Pitch = pitch
  1169. SlashSound.PlayOnRemove = true
  1170. coroutine.resume(coroutine.create(function()
  1171. wait(0)
  1172. SlashSound.Parent = nil
  1173. end))
  1174. end
  1175. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1176. local msh1 = Instance.new("BlockMesh")
  1177. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1178. S=Instance.new("Part")
  1179. S.Name="Effect"
  1180. S.formFactor=0
  1181. S.Size=Vector3.new(x1,y1,z1)
  1182. S.BrickColor=color
  1183. S.Reflectance = 0
  1184. S.TopSurface=0
  1185. S.BottomSurface=0
  1186. S.Transparency=0
  1187. S.Anchored=true
  1188. S.CanCollide=false
  1189. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1190. S.Parent=workspace
  1191. msh1.Parent = S
  1192. 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)
  1193. end
  1194. attackdebounce = false
  1195. Damagefunc1=function(hit,Damage,Knockback)
  1196. if hit.Parent==nil then
  1197. return
  1198. end
  1199. CPlayer=Bin
  1200. h=hit.Parent:FindFirstChild("Humanoid")
  1201. if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1202. if attackdebounce == false then
  1203. critsound(2)
  1204. attackdebounce = true
  1205. coroutine.resume(coroutine.create(function()
  1206. wait(0.1)
  1207. attackdebounce = false
  1208. end))
  1209. Damage=Damage
  1210. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1211. return
  1212. end]]
  1213. c=Instance.new("ObjectValue")
  1214. c.Name="creator"
  1215. c.Value=game.Players.LocalPlayer
  1216. c.Parent=h
  1217. game:GetService("Debris"):AddItem(c,.5)
  1218. -- print(c.Value)
  1219. if math.random(0,99)+math.random()<=5 then
  1220. CRIT=true
  1221. Damage=Damage*150
  1222. --[[ Knockback=Knockback*2
  1223. r=Instance.new("BodyAngularVelocity")
  1224. r.P=3000
  1225. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1226. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1227. r.Parent=hit.Parent.Torso]]
  1228. --critsound(2)
  1229. end
  1230. Damage=Damage+math.random(50,100)
  1231. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20))
  1232. h:TakeDamage(Damage)
  1233. showDamage(hit.Parent,Damage,50)
  1234. vp=Instance.new("BodyVelocity")
  1235. vp.P=500
  1236. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1237. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1238. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  1239. if Knockback>0 then
  1240. vp.Parent=hit.Parent.Torso
  1241. end
  1242. game:GetService("Debris"):AddItem(vp,.25)
  1243. --[[ r=Instance.new("BodyAngularVelocity")
  1244. r.P=3000
  1245. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1246. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1247. r.Parent=hit.Parent.Torso]]
  1248. game:GetService("Debris"):AddItem(r,.5)
  1249. c=Instance.new("ObjectValue")
  1250. c.Name="creator"
  1251. c.Value=Player
  1252. c.Parent=h
  1253. game:GetService("Debris"):AddItem(c,.5)
  1254. CRIT=false
  1255. hitDeb=true
  1256. AttackPos=6
  1257. end
  1258. end
  1259. end
  1260. Damagefunc2=function(hit,Damage,Knockback)
  1261. if hit.Parent==nil then
  1262. return
  1263. end
  1264. CPlayer=Bin
  1265. h=hit.Parent:FindFirstChild("Humanoid")
  1266. if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1267. if attackdebounce == false then
  1268. critsound(1)
  1269. attackdebounce = true
  1270. coroutine.resume(coroutine.create(function()
  1271. wait(0.1)
  1272. attackdebounce = false
  1273. end))
  1274. Damage=Damage
  1275. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1276. return
  1277. end]]
  1278. c=Instance.new("ObjectValue")
  1279. c.Name="creator"
  1280. c.Value=game.Players.LocalPlayer
  1281. c.Parent=h
  1282. game:GetService("Debris"):AddItem(c,.5)
  1283. -- print(c.Value)
  1284. if math.random(0,99)+math.random()<=5 then
  1285. CRIT=true
  1286. Damage=Damage*100
  1287. --[[ Knockback=Knockback*2
  1288. r=Instance.new("BodyAngularVelocity")
  1289. r.P=3000
  1290. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1291. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1292. r.Parent=hit.Parent.Torso]]
  1293. --critsound(2)
  1294. end
  1295. Damage=Damage+math.random(50,100)
  1296. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20))
  1297. h:TakeDamage(Damage)
  1298. showDamage(hit.Parent,Damage,50)
  1299. vp=Instance.new("BodyVelocity")
  1300. vp.P=500
  1301. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1302. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1303. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  1304. rl=Instance.new("BodyAngularVelocity")
  1305. rl.P=3000
  1306. rl.maxTorque=Vector3.new(5000,5000,5000)*500000000
  1307. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1308. rl.Parent=t
  1309. game:GetService("Debris"):AddItem(rl,.2)
  1310. vl=Instance.new("BodyVelocity")
  1311. vl.P=4500
  1312. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1313. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,10,0)
  1314. vl.Parent=t
  1315. game:GetService("Debris"):AddItem(vl,.2)
  1316. if Knockback>0 then
  1317. vp.Parent=hit.Parent.Torso
  1318. end
  1319. game:GetService("Debris"):AddItem(vp,.25)
  1320. --[[ r=Instance.new("BodyAngularVelocity")
  1321. r.P=3000
  1322. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1323. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1324. r.Parent=hit.Parent.Torso]]
  1325. game:GetService("Debris"):AddItem(r,.5)
  1326. c=Instance.new("ObjectValue")
  1327. c.Name="creator"
  1328. c.Value=Player
  1329. c.Parent=h
  1330. game:GetService("Debris"):AddItem(c,.5)
  1331. CRIT=false
  1332. hitDeb=true
  1333. AttackPos=6
  1334. end
  1335. end
  1336. end
  1337. slashdamage1=function(hit,Damage,Knockback)
  1338. if hit.Parent==nil then
  1339. return
  1340. end
  1341. CPlayer=Bin
  1342. h=hit.Parent:FindFirstChild("Humanoid")
  1343. if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1344. if attackdebounce == false then
  1345. attackdebounce = true
  1346. coroutine.resume(coroutine.create(function()
  1347. wait(0.1)
  1348. attackdebounce = false
  1349. end))
  1350. Damage=Damage
  1351. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1352. return
  1353. end]]
  1354. c=Instance.new("ObjectValue")
  1355. c.Name="creator"
  1356. c.Value=game.Players.LocalPlayer
  1357. c.Parent=h
  1358. game:GetService("Debris"):AddItem(c,.5)
  1359. -- print(c.Value)
  1360. if math.random(0,99)+math.random()<=5 then
  1361. Damage=Damage*50
  1362. --[[ Knockback=Knockback*2
  1363. r=Instance.new("BodyAngularVelocity")
  1364. r.P=3000
  1365. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1366. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1367. r.Parent=hit.Parent.Torso]]
  1368. --critsound(2)
  1369. end
  1370. Damage=Damage+math.random(65,90)
  1371. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20))
  1372. h:TakeDamage(Damage)
  1373. showDamage(hit.Parent,Damage,50)
  1374. vp=Instance.new("BodyVelocity")
  1375. vp.P=500
  1376. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1377. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1378. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  1379. if Knockback>0 then
  1380. vp.Parent=hit.Parent.Torso
  1381. end
  1382. game:GetService("Debris"):AddItem(vp,.25)
  1383. --[[ r=Instance.new("BodyAngularVelocity")
  1384. r.P=3000
  1385. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1386. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1387. r.Parent=hit.Parent.Torso]]
  1388. game:GetService("Debris"):AddItem(r,.5)
  1389. c=Instance.new("ObjectValue")
  1390. c.Name="creator"
  1391. c.Value=Player
  1392. c.Parent=h
  1393. game:GetService("Debris"):AddItem(c,.5)
  1394. CRIT=false
  1395. hitDeb=true
  1396. AttackPos=6
  1397. end
  1398. end
  1399. end
  1400. DBHit=function(hit,DB,Dmg) --credits to turdulator for making this function
  1401. if hit.Parent==nil then
  1402. return
  1403. end
  1404. h=hit.Parent:FindFirstChild("Humanoid")
  1405. if h==nil then
  1406. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1407. end
  1408. t=hit.Parent:FindFirstChild("Torso")
  1409. if h~=nil and t~=nil then
  1410. --[[ if h.Parent==Character then
  1411. return
  1412. end]]
  1413. critsound(1.5)
  1414. Damage=Dmg+math.random(20,100)
  1415. h:TakeDamage(Damage)
  1416. c=Instance.new("ObjectValue")
  1417. c.Name="creator"
  1418. c.Value=game.Players.LocalPlayer
  1419. c.Parent=h
  1420. game:GetService("Debris"):AddItem(c,.5)
  1421. showDamage(hit.Parent,Damage,59)
  1422. vl=Instance.new("BodyVelocity")
  1423. vl.P=4500
  1424. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1425. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,10,0)
  1426. vl.Parent=t
  1427. game:GetService("Debris"):AddItem(vl,.2)
  1428. rl=Instance.new("BodyAngularVelocity")
  1429. rl.P=3000
  1430. rl.maxTorque=Vector3.new(5000,5000,5000)*500000000
  1431. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1432. rl.Parent=t
  1433. game:GetService("Debris"):AddItem(rl,.2)
  1434. else
  1435. if hit.CanCollide==false then
  1436. return
  1437. end
  1438. MagicCom:disconnect()
  1439. -- DBExplode(DB)
  1440. CRIT=false
  1441. end
  1442. end
  1443. showDamage=function(Char,Dealt,du)
  1444. m=Instance.new("Model")
  1445. m.Name=tostring(Dealt)
  1446. h=Instance.new("Humanoid")
  1447. h.Health=math.huge
  1448. h.MaxHealth=math.huge
  1449. h.Parent=m
  1450. c=Instance.new("Part")
  1451. c.Transparency=0
  1452. c.BrickColor=BrickColor:Red()
  1453. c.Name="Head"
  1454. c.TopSurface=0
  1455. c.BottomSurface=0
  1456. c.formFactor="Plate"
  1457. c.Size=Vector3.new(1,.4,1)
  1458. ms=Instance.new("CylinderMesh")
  1459. ms.Bevel=.1
  1460. ms.Scale=Vector3.new(.8,.8,.8)
  1461. ms.Parent=c
  1462. c.Reflectance=0
  1463. Instance.new("BodyGyro").Parent=c
  1464. c.Parent=m
  1465. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1466. f=Instance.new("BodyPosition")
  1467. f.P=2000
  1468. f.D=100
  1469. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1470. f.position=c.Position+Vector3.new(0,3,0)
  1471. f.Parent=c
  1472. game:GetService("Debris"):AddItem(m,.5+du)
  1473. c.CanCollide=false
  1474. m.Parent=workspace
  1475. c.CanCollide=false
  1476. end
  1477. Anims.Walking = function()
  1478. derpcon1=Spider.LRa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  1479. derpcon2=Spider.LLa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  1480. derpcon3=Spider.URa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  1481. derpcon4=Spider.ULa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  1482. for i=0,1,difficulty do
  1483. if act.Jumping ~= true then
  1484. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(-40-(40*i)),0)
  1485. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0)
  1486. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(-40-(40*i)),0)
  1487. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0)
  1488. wait()
  1489. end
  1490. end
  1491. coroutine.resume(coroutine.create(function()
  1492. for i=0,1,difficulty do
  1493. if act.Jumping ~= true then
  1494. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(40+(40*i)),0)
  1495. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0)
  1496. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(40+(40*i)),0)
  1497. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0)
  1498. wait()
  1499. end
  1500. end
  1501. for i=1,0,-difficulty do
  1502. if act.Jumping ~= true then
  1503. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(40+(40*i)),0)
  1504. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0)
  1505. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(40+(40*i)),0)
  1506. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0)
  1507. wait()
  1508. end
  1509. end
  1510. end))
  1511. for i=1,0,-difficulty do
  1512. if act.Jumping ~= true then
  1513. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(-40-(40*i)),0)
  1514. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0)
  1515. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(-40-(40*i)),0)
  1516. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0)
  1517. wait()
  1518. end
  1519. end
  1520. derpcon1:disconnect()
  1521. derpcon2:disconnect()
  1522. derpcon3:disconnect()
  1523. derpcon4:disconnect()
  1524. if act.Jumping ~= true then
  1525. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0)
  1526. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100),math.rad(0),0)
  1527. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0)
  1528. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0)
  1529. end
  1530. end
  1531. --[[while true do
  1532. wait()
  1533. if act.Walking == true then return end
  1534. if Torso.Velocity.magnitude >= 19 then
  1535. act.Walking = true
  1536. Anims.Walking()
  1537. act.Walking = false
  1538. end
  1539. end ]]
  1540. t = it("Tool")
  1541. t.Equipped:connect(function(mouse) t:Remove()
  1542. Mouse = mouse
  1543. mouse.KeyDown:connect(function(k) act.keydown = true
  1544. pcall(function() act.key[k:lower()] = true end)
  1545. local kk = k:lower()
  1546. if kk == "w" or kk == "a" or kk == "s" or kk == "d" then
  1547. if act.Walking == true then return end
  1548. while act.key["w"] == true or act.key["a"] == true or act.key["s"] == true or act.key["d"] == true do
  1549. act.Walking = true
  1550. Anims.Walking()
  1551. wait()
  1552. end
  1553. act.Walking = false
  1554. end
  1555. if kk == "q" then
  1556. if roflcopter==false then
  1557. roflcopter=true
  1558. RoflCopter()
  1559. elseif roflcopter==true then
  1560. roflcopter=false
  1561. end
  1562. --[[if roflcopter==false then
  1563. roflcopter=true
  1564. Anim()
  1565. elseif roflcopter==true then
  1566. roflcopter=false
  1567. end]]
  1568. end
  1569. if kk == "e" then
  1570. bodypos.position=bodypos.position+Vector3.new(0,10,0)
  1571. end
  1572. if kk == "r" then
  1573. bodypos.position=bodypos.position-Vector3.new(0,10,0)
  1574. end
  1575. if attack == true then return end
  1576. if kk == "f" then
  1577. Shoot()
  1578. end
  1579. if kk == "g" then
  1580. Shoot2()
  1581. end
  1582. if kk == "h" then
  1583. Shoot3()
  1584. end
  1585. if kk == "j" then
  1586. Shoot4()
  1587. end
  1588. if kk == "z" then
  1589. Attack()
  1590. end
  1591. if kk == "x" then
  1592. DualAttack()
  1593. end
  1594. if kk == "c" then
  1595. MegaBonk()
  1596. end
  1597. if kk == "v" then
  1598. Stomp()
  1599. end
  1600. if kk == " " then
  1601. Jump()
  1602. end
  1603. end)
  1604. mouse.KeyUp:connect(function(k) act.keydown = false
  1605. pcall(function() act.key[k:lower()] = false end)
  1606. end)
  1607. end)
  1608. wait(0.1)
  1609. t.Parent = CharPlayer = game.Players.YourNameHere ----Put your name where it says "YourNameHere"
  1610. Char = Player.Character
  1611. Head = Char.Head
  1612. Torso = Char.Torso
  1613. h = Char.Humanoid
  1614. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1615. local gairo = Instance.new("BodyGyro")
  1616. gairo.Parent = nil
  1617. if Char:findFirstChild("Weapon",true) ~= nil then
  1618. Char:findFirstChild("Weapon",true).Parent = nil
  1619. end
  1620. 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"," "}
  1621. --col = {"Really black,"Black"}
  1622. --col = {"Really red","Really black","Black"}
  1623. col = {"Really black","Really black","Really red"}
  1624. Anims = {}
  1625. act = {key = {}}
  1626. for i=1,#bets do table.insert(act.key,bets) end
  1627. act.mousedown = false
  1628. act.keydown = false
  1629. act.Walking = false
  1630. act.Jumping = false
  1631. act.Anim = ""
  1632. hitted=false
  1633. roflcopter=false
  1634. bodypos=Instance.new("BodyPosition")
  1635. holdshoot=false
  1636. Prop = {}
  1637. difficulty=0.05
  1638. Prop.LegLength = 5
  1639. Prop.LegWide = 1
  1640. Prop.BallSize = 0.9
  1641. --[[difficulty=0.1
  1642. Prop.LegLength = 4
  1643. Prop.LegWide = 0.8
  1644. Prop.BallSize = 1
  1645. difficulty=0.01
  1646. Prop.LegLength = 50
  1647. Prop.LegWide = 10
  1648. Prop.BallSize = 10.3
  1649. Prop.LegLength = 150
  1650. Prop.LegWide = 60
  1651. Prop.BallSize = 60.3]]
  1652. coroutine.resume(coroutine.create(function()
  1653. for i=0,50 do
  1654. wait()
  1655. h.WalkSpeed=18
  1656. --h.WalkSpeed=5
  1657. walksped=h.WalkSpeed
  1658. h.MaxHealth=math.huge
  1659. h.Health=math.huge
  1660. end
  1661. end))
  1662. Spider = {w = {}}
  1663. attack = false
  1664. attackdebounce = false
  1665. it = Instance.new
  1666. bc = BrickColor.new
  1667. v3 = Vector3.new
  1668. cf = CFrame.new
  1669. ca = CFrame.Angles
  1670. pi = math.pi
  1671. rd = math.rad
  1672. br = BrickColor.new
  1673. function r(pa,ob)
  1674. pcall(function() pa[ob]:Remove() end)
  1675. end
  1676. function p(pa,sh,x,y,z,c,a,tr,re,bc)
  1677. local fp = it("Part",pa)
  1678. fp.formFactor = "Custom"
  1679. fp.Shape = sh
  1680. fp.Size = v3(x,y,z)
  1681. fp.CanCollide = c
  1682. fp.Anchored = false
  1683. fp.BrickColor = br(bc)
  1684. fp.Transparency = tr
  1685. fp.Reflectance = re
  1686. fp.BottomSurface = 0
  1687. fp.TopSurface = 0
  1688. fp.CFrame = Torso.CFrame + Vector3.new(0,50,0)
  1689. fp.Velocity = Vector3.new(0,10,0)
  1690. fp:BreakJoints()
  1691. return fp
  1692. end
  1693. function weld(pa,p0,p1,x,y,z,a,b,c)
  1694. local fw = it("Weld",pa)
  1695. fw.Part0 = p0 fw.Part1 = p1
  1696. fw.C0 = cf(x,y,z) *ca(a,b,c)
  1697. return fw
  1698. end
  1699. function spm(ty,pa,ss)
  1700. local sp = it("SpecialMesh",pa)
  1701. sp.MeshType = ty
  1702. sp.Scale = Vector3.new(ss,ss,ss)
  1703. end
  1704. pcall(function() Torso.Spider:Remove() end)
  1705. wait(0.1)
  1706. pack = it("Model",Torso)
  1707. pack.Name = "Spider"
  1708. Spider.Back = p(pack,"Block",1.2,1.7,0.5,false,false,0,0,col[1])
  1709. --Right Arm
  1710. Spider.RAb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.RAb1,Prop.BallSize)
  1711. 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)
  1712. Spider.RAa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  1713. Spider.w.RAa1 = weld(Spider.RAa1,Spider.RAb1,Spider.RAa1,0,Prop.LegLength/2,0,0,0,0)
  1714. Spider.RAb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.RAb2,Prop.BallSize)
  1715. 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)
  1716. Spider.RAa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  1717. Spider.w.RAa2 = weld(Spider.RAa2,Spider.RAb2,Spider.RAa2,0,Prop.LegLength/2,0,0,0,0)
  1718. --Left Arm
  1719. Spider.LAb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.LAb1,Prop.BallSize)
  1720. 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)
  1721. Spider.LAa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  1722. Spider.w.LAa1 = weld(Spider.LAa1,Spider.LAb1,Spider.LAa1,0,Prop.LegLength/2,0,0,0,0)
  1723. Spider.LAb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[2]) spm("Sphere",Spider.LAb2,Prop.BallSize)
  1724. 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)
  1725. Spider.LAa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  1726. Spider.w.LAa2 = weld(Spider.LAa2,Spider.LAb2,Spider.LAa2,0,Prop.LegLength/2,0,0,0,0)
  1727. --Upper Right
  1728. Spider.URb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.URb1,Prop.BallSize)
  1729. 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)
  1730. Spider.URa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  1731. Spider.w.URa1 = weld(Spider.URa1,Spider.URb1,Spider.URa1,0,Prop.LegLength/2,0,0,0,0)
  1732. Spider.URb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.URb2,Prop.BallSize)
  1733. 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)
  1734. Spider.URa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  1735. Spider.w.URa2 = weld(Spider.URa2,Spider.URb2,Spider.URa2,0,Prop.LegLength/2,0,0,0,0)
  1736. --Upper Left
  1737. Spider.ULb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.ULb1,Prop.BallSize)
  1738. 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)
  1739. Spider.ULa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  1740. Spider.w.ULa1 = weld(Spider.ULa1,Spider.ULb1,Spider.ULa1,0,Prop.LegLength/2,0,0,0,0)
  1741. Spider.ULb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.ULb2,Prop.BallSize)
  1742. 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)
  1743. Spider.ULa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  1744. Spider.w.ULa2 = weld(Spider.ULa2,Spider.ULb2,Spider.ULa2,0,Prop.LegLength/2,0,0,0,0)
  1745. --Lower Right
  1746. Spider.LRb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LRb1,Prop.BallSize)
  1747. 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)
  1748. Spider.LRa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  1749. Spider.w.LRa1 = weld(Spider.LRa1,Spider.LRb1,Spider.LRa1,0,Prop.LegLength/2,0,0,0,0)
  1750. Spider.LRb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LRb2,Prop.BallSize)
  1751. 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)
  1752. Spider.LRa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  1753. Spider.w.LRa2 = weld(Spider.LRa2,Spider.LRb2,Spider.LRa2,0,Prop.LegLength/2,0,0,0,0)
  1754. --Lower Left
  1755. Spider.LLb1 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LLb1,Prop.BallSize)
  1756. 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)
  1757. Spider.LLa1 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  1758. Spider.w.LLa1 = weld(Spider.LLa1,Spider.LLb1,Spider.LLa1,0,Prop.LegLength/2,0,0,0,0)
  1759. Spider.LLb2 = p(pack,"Ball",1,1,1,false,false,0,0,col[3]) spm("Sphere",Spider.LLb2,Prop.BallSize)
  1760. 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)
  1761. Spider.LLa2 = p(pack,"Block",Prop.LegWide,Prop.LegLength,Prop.LegWide,true,false,0,0,col[1])
  1762. Spider.w.LLa2 = weld(Spider.LLa2,Spider.LLb2,Spider.LLa2,0,Prop.LegLength/2,0,0,0,0)
  1763. local prt1 = Instance.new("Part")
  1764. prt1.formFactor = 1
  1765. prt1.Parent = pack
  1766. prt1.CanCollide = false
  1767. prt1.BrickColor = br(col[1])
  1768. prt1.Name = "Part1"
  1769. prt1.Size = Vector3.new(1,1,1)
  1770. prt1.Position = Torso.Position
  1771. local prt2 = Instance.new("Part")
  1772. prt2.formFactor = 1
  1773. prt2.Parent = pack
  1774. prt2.CanCollide = false
  1775. prt2.BrickColor = BrickColor.new("Really red")
  1776. prt2.Name = "Part2"
  1777. prt2.Reflectance=0.3
  1778. prt2.Size = Vector3.new(1,2,1)
  1779. prt2.Position = Torso.Position
  1780. local prt3 = Instance.new("Part")
  1781. prt3.formFactor = 1
  1782. prt3.Parent = pack
  1783. prt3.CanCollide = false
  1784. prt3.BrickColor = BrickColor.new("Medium stone grey")
  1785. prt3.Name = "Part3"
  1786. prt3.Reflectance=0.6
  1787. prt3.Size = Vector3.new(1,2,1)
  1788. prt3.Position = Torso.Position
  1789. local prt4 = Instance.new("Part")
  1790. prt4.formFactor = 1
  1791. prt4.Parent = pack
  1792. prt4.CanCollide = false
  1793. prt4.BrickColor = BrickColor.new("Really red")
  1794. prt4.Name = "Part4"
  1795. prt4.Reflectance=0.3
  1796. prt4.Size = Vector3.new(1,1,1)
  1797. prt4.Position = Torso.Position
  1798. local prt5 = Instance.new("Part")
  1799. prt5.formFactor = 1
  1800. prt5.Parent = pack
  1801. prt5.CanCollide = false
  1802. prt5.BrickColor = br(col[1])
  1803. prt5.Name = "Part5"
  1804. prt5.Size = Vector3.new(1,1,1)
  1805. prt5.Position = Torso.Position
  1806. local prt6 = Instance.new("Part")
  1807. prt6.formFactor = 1
  1808. prt6.Parent = pack
  1809. prt6.CanCollide = false
  1810. prt6.BrickColor = br(col[1])
  1811. prt6.Name = "Part6"
  1812. prt6.Size = Vector3.new(1,1,1)
  1813. prt6.Position = Torso.Position
  1814. local prt7 = Instance.new("Part")
  1815. prt7.formFactor = 1
  1816. prt7.Parent = pack
  1817. prt7.CanCollide = false
  1818. prt7.BrickColor = BrickColor.new("Really black")
  1819. prt7.Name = "Part7"
  1820. prt7.Size = Vector3.new(1,1,1)
  1821. prt7.Position = Torso.Position
  1822. local prt8 = Instance.new("Part")
  1823. prt8.formFactor = 1
  1824. prt8.Parent = pack
  1825. prt8.CanCollide = false
  1826. prt8.BrickColor = br(col[1])
  1827. prt8.Name = "Part8"
  1828. prt8.Size = Vector3.new(1,1,1)
  1829. prt8.Position = Torso.Position
  1830. local prt9 = Instance.new("Part")
  1831. prt9.formFactor = 1
  1832. prt9.Parent = pack
  1833. prt9.CanCollide = false
  1834. prt9.BrickColor = br(col[1])
  1835. prt9.Name = "Part9"
  1836. prt9.Size = Vector3.new(1,1,1)
  1837. prt9.Position = Torso.Position
  1838. local prt10 = Instance.new("Part")
  1839. prt10.formFactor = 1
  1840. prt10.Parent = pack
  1841. prt10.CanCollide = false
  1842. prt10.BrickColor = br(col[1])
  1843. prt10.Name = "Part10"
  1844. prt10.Size = Vector3.new(1,1,1)
  1845. prt10.Position = Torso.Position
  1846. local prt11 = Instance.new("Part")
  1847. prt11.formFactor = 1
  1848. prt11.Parent = pack
  1849. prt11.CanCollide = false
  1850. prt11.BrickColor = br(col[1])
  1851. prt11.Name = "Part11"
  1852. prt11.Size = Vector3.new(1,1,1)
  1853. prt11.Position = Torso.Position
  1854. local prt12 = Instance.new("Part")
  1855. prt12.formFactor = 1
  1856. prt12.Parent = pack
  1857. prt12.CanCollide = false
  1858. prt12.BrickColor = br(col[1])
  1859. prt12.Name = "Part12"
  1860. prt12.Size = Vector3.new(1,1,1)
  1861. prt12.Position = Torso.Position
  1862. local msh1 = Instance.new("BlockMesh")
  1863. msh1.Parent = prt1
  1864. --msh1.Scale = Vector3.new(0.9,0.8,3)
  1865. msh1.Scale = Vector3.new(Prop.LegWide/0.9,Prop.LegWide/1,Prop.LegLength/1.3)
  1866. local msh2 = Instance.new("BlockMesh")
  1867. msh2.Parent = prt2
  1868. --msh2.Scale = Vector3.new(0.3,2.5,1)
  1869. msh2.Scale = Vector3.new(Prop.LegWide/2.5,Prop.LegLength/1.6,Prop.LegWide*1.3)
  1870. local msh3 = Instance.new("BlockMesh")
  1871. msh3.Parent = prt3
  1872. --msh3.Scale = Vector3.new(0.1,2.6,1.5)
  1873. msh3.Scale = Vector3.new(Prop.LegWide/6,Prop.LegLength/1.6,Prop.LegWide*1.9)
  1874. local msh4 = Instance.new("SpecialMesh")
  1875. msh4.Parent = prt4
  1876. msh4.MeshType = "Wedge"
  1877. --msh4.Scale = Vector3.new(0.3,2,1)
  1878. msh4.Scale = Vector3.new(Prop.LegWide/2.5,Prop.LegLength/2,Prop.LegWide*1.3)
  1879. local msh5 = Instance.new("CylinderMesh")
  1880. msh5.Parent = prt5
  1881. --msh5.Scale = Vector3.new(1.5,1,1.5)
  1882. msh5.Scale = Vector3.new(Prop.LegWide*2,Prop.LegLength/4,Prop.LegWide*2)
  1883. local msh6 = Instance.new("CylinderMesh")
  1884. msh6.Parent = prt6
  1885. --msh6.Scale = Vector3.new(2.5,1.6,2.5)
  1886. msh6.Scale = Vector3.new(Prop.LegWide*3.1,Prop.LegLength/2.5,Prop.LegWide*3.1)
  1887. local msh7 = Instance.new("CylinderMesh")
  1888. msh7.Parent = prt7
  1889. --msh7.Scale = Vector3.new(1.4,1.7,1.4)
  1890. msh7.Scale = Vector3.new(Prop.LegWide*1.8,Prop.LegLength/2.3,Prop.LegWide*1.8)
  1891. local msh8 = Instance.new("BlockMesh")
  1892. msh8.Parent = prt8
  1893. --msh8.Scale = Vector3.new(0.5,2,0.5)
  1894. msh8.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6)
  1895. local msh9 = Instance.new("BlockMesh")
  1896. msh9.Parent = prt9
  1897. --msh9.Scale = Vector3.new(0.5,2,0.5)
  1898. msh9.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6)
  1899. local msh10 = Instance.new("BlockMesh")
  1900. msh10.Parent = prt10
  1901. --msh10.Scale = Vector3.new(0.5,2,0.5)
  1902. msh10.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6)
  1903. local msh11 = Instance.new("BlockMesh")
  1904. msh11.Parent = prt11
  1905. --msh11.Scale = Vector3.new(0.5,2,0.5)
  1906. msh11.Scale = Vector3.new(Prop.LegWide/1.6,Prop.LegLength/2,Prop.LegWide/1.6)
  1907. local msh12 = Instance.new("BlockMesh")
  1908. msh12.Parent = prt12
  1909. --msh12.Scale = Vector3.new(0.5,2,0.5)
  1910. msh12.Scale = Vector3.new(0,0,0)
  1911. local wld1 = Instance.new("Weld")
  1912. wld1.Parent = prt1
  1913. wld1.Part0 = prt1
  1914. wld1.Part1 = Spider.RAa2
  1915. --wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.5,0)
  1916. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/6,0)
  1917. local wld2 = Instance.new("Weld")
  1918. wld2.Parent = prt2
  1919. wld2.Part0 = prt2
  1920. wld2.Part1 = prt1
  1921. --wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-3,0)
  1922. wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.3,0)
  1923. local wld3 = Instance.new("Weld")
  1924. wld3.Parent = prt3
  1925. wld3.Part0 = prt3
  1926. wld3.Part1 = prt1
  1927. --wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-3,0)
  1928. wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.3,0)
  1929. local wld4 = Instance.new("Weld")
  1930. wld4.Parent = prt4
  1931. wld4.Part0 = prt4
  1932. wld4.Part1 = prt2
  1933. wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-4.2,0)
  1934. wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.1,0)
  1935. local wld5 = Instance.new("Weld")
  1936. wld5.Parent = prt5
  1937. wld5.Part0 = prt5
  1938. wld5.Part1 = Spider.LAa2
  1939. --wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-2.5,0)
  1940. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/1.6,0)
  1941. local wld6 = Instance.new("Weld")
  1942. wld6.Parent = prt6
  1943. wld6.Part0 = prt6
  1944. wld6.Part1 = prt5
  1945. --wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.5,0)
  1946. wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-Prop.LegLength/2.6,0)
  1947. local wld7 = Instance.new("Weld")
  1948. wld7.Parent = prt7
  1949. wld7.Part0 = prt7
  1950. wld7.Part1 = prt6
  1951. wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1952. local wld8 = Instance.new("Weld")
  1953. wld8.Parent = prt8
  1954. wld8.Part0 = prt8
  1955. wld8.Part1 = prt6
  1956. --wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.5) * CFrame.new(1.5,-1,0)
  1957. wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.5) * CFrame.new(Prop.LegWide*2,-Prop.LegLength/4,0)
  1958. local wld9 = Instance.new("Weld")
  1959. wld9.Parent = prt9
  1960. wld9.Part0 = prt9
  1961. wld9.Part1 = prt6
  1962. --wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.5) * CFrame.new(-1.5,-1,0)
  1963. wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.5) * CFrame.new(-Prop.LegWide*2,-Prop.LegLength/4,0)
  1964. local wld10 = Instance.new("Weld")
  1965. wld10.Parent = prt10
  1966. wld10.Part0 = prt10
  1967. wld10.Part1 = prt6
  1968. --wld10.C0 = CFrame.fromEulerAnglesXYZ(-0.5,0,0) * CFrame.new(0,-1,-1.5)
  1969. wld10.C0 = CFrame.fromEulerAnglesXYZ(-0.5,0,0) * CFrame.new(0,-Prop.LegLength/4,-Prop.LegWide*2)
  1970. local wld11 = Instance.new("Weld")
  1971. wld11.Parent = prt11
  1972. wld11.Part0 = prt11
  1973. wld11.Part1 = prt6
  1974. --wld11.C0 = CFrame.fromEulerAnglesXYZ(0.5,0,0) * CFrame.new(0,-1,1.5)
  1975. wld11.C0 = CFrame.fromEulerAnglesXYZ(0.5,0,0) * CFrame.new(0,-Prop.LegLength/4,Prop.LegWide*2)
  1976. local wld12 = Instance.new("Weld")
  1977. wld12.Parent = prt12
  1978. wld12.Part0 = prt12
  1979. wld12.Part1 = prt6
  1980. --wld12.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,0) * CFrame.new(0,0,0)
  1981. wld12.C0 = CFrame.fromEulerAnglesXYZ(-1.57,0,0) * CFrame.new(0,0,0)
  1982. wait()
  1983. Spider.w.Back = weld(Spider.Back,Torso,Spider.Back,0,0,0.5,0,0,0)
  1984. wait()
  1985. Torso.CFrame = Torso.CFrame + Vector3.new(0,10,0)
  1986. function Anim()
  1987. attack=true
  1988. for i=0,1,0.1 do
  1989. wait()
  1990. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120*i)),math.rad(70-(70*i)),0)
  1991. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10*i)),math.rad(40+(50*i)),0)
  1992. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120*i)),math.rad(-70+(70*i)),0)
  1993. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10*i)),math.rad(-40-(50*i)),0)
  1994. end
  1995. bodypos=Instance.new("BodyPosition")
  1996. bodypos.P=500
  1997. bodypos.D=100
  1998. bodypos.maxForce=Vector3.new(0,math.huge,0)
  1999. bodypos.position=Head.Position+Vector3.new(0,50,0)
  2000. bodypos.Parent=Head
  2001. while roflcopter==true do
  2002. for i = 0,1,0.1 do
  2003. wait()
  2004. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120)),math.rad(70-(70)),0)
  2005. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10)),math.rad(90+(360*i)),0)
  2006. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120)),math.rad(-70+(70)),0)
  2007. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10)),math.rad(-90+(360*i)),0)
  2008. end
  2009. end
  2010. bodypos.Parent=nil
  2011. for i=0,1,0.1 do
  2012. wait()
  2013. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-(120-120*i)),math.rad(70-(70-70*i)),0)
  2014. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+(10-10*i)),math.rad(90-(50*i)),0)
  2015. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-(120-120*i)),math.rad(-70+(70-70*i)),0)
  2016. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+(10-10*i)),math.rad(-90+(50*i)),0)
  2017. end
  2018. attack=false
  2019. end
  2020. function RoflCopter()
  2021. act.Jumping=true
  2022. for i=0,1,0.1 do
  2023. wait()
  2024. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0)
  2025. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80*i),math.rad(0),0)
  2026. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0)
  2027. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80*i),math.rad(0),0)
  2028. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40),0)
  2029. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80*i),math.rad(0),0)
  2030. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0)
  2031. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80*i),math.rad(0),0)
  2032. end
  2033. bodypos.P=500
  2034. bodypos.D=100
  2035. bodypos.maxForce=Vector3.new(0,math.huge,0)
  2036. bodypos.position=Head.Position+Vector3.new(0,10,0)
  2037. bodypos.Parent=Head
  2038. while roflcopter==true do
  2039. derpcon1=Spider.LRa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  2040. derpcon2=Spider.LLa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  2041. derpcon3=Spider.URa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  2042. derpcon4=Spider.ULa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  2043. for i=0,1,0.1 do
  2044. wait()
  2045. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40+360*i),0)
  2046. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80),math.rad(0),0)
  2047. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40+360*i),0)
  2048. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80),math.rad(0),0)
  2049. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40+360*i),0)
  2050. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80),math.rad(0),0)
  2051. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40+360*i),0)
  2052. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80),math.rad(0),0)
  2053. end
  2054. derpcon1:disconnect()
  2055. derpcon2:disconnect()
  2056. derpcon3:disconnect()
  2057. derpcon4:disconnect()
  2058. end
  2059. bodypos.Parent=nil
  2060. for i=0,1,0.1 do
  2061. wait()
  2062. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0)
  2063. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+80-80*i),math.rad(0),0)
  2064. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0)
  2065. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-80+80*i),math.rad(0),0)
  2066. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80),math.rad(40),0)
  2067. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+80-80*i),math.rad(0),0)
  2068. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0)
  2069. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-80+80*i),math.rad(0),0)
  2070. end
  2071. act.Jumping=false
  2072. end
  2073. function Shoot()
  2074. attack=true
  2075. for i=0,1,0.1 do
  2076. wait()
  2077. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  2078. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  2079. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50*i),math.rad(-70),0)
  2080. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20*i),math.rad(-40+40*i),0)
  2081. end
  2082. gairo.Parent = Head
  2083. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  2084. gairo.P = 20e+003
  2085. gairo.cframe = Head.CFrame
  2086. for i=0,1,0.1 do
  2087. wait()
  2088. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57*i)
  2089. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  2090. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  2091. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+20*i),math.rad(-70-20*i),0)
  2092. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20+80*i),math.rad(-40+40),0)
  2093. end
  2094. wait(0.1)
  2095. for i = 1,3 do
  2096. DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black"))
  2097. shoottrail2(prt7)
  2098. wait(0.5)
  2099. end
  2100. for i=0,1,0.1 do
  2101. wait()
  2102. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57-1.57*i)
  2103. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  2104. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  2105. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+20+30*i),math.rad(-70-20+20*i),0)
  2106. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+20+80-100*i),math.rad(-40+40-40*i),0)
  2107. end
  2108. gairo.Parent=nil
  2109. Torso.Neck.C0=necko
  2110. attack=false
  2111. end
  2112. function Shoot2()
  2113. attack=true
  2114. for i=0,1,0.1 do
  2115. wait()
  2116. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  2117. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  2118. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60*i),math.rad(-70),0)
  2119. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15*i),math.rad(-40-60*i),0)
  2120. end
  2121. for i=0,0.3,0.1 do
  2122. wait(0.1)
  2123. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  2124. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  2125. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60),math.rad(-70),0)
  2126. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15+40*i),math.rad(-40-60),0)
  2127. DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black"))
  2128. shoottrail2(prt7)
  2129. end
  2130. for i=0,1,0.1 do
  2131. wait()
  2132. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  2133. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  2134. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-60+60*i),math.rad(-70),0)
  2135. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+15+20-55*i),math.rad(-40-60+60*i),0)
  2136. end
  2137. attack=false
  2138. end
  2139. function Shoot3()
  2140. attack=true
  2141. for i=0,1,0.1 do
  2142. wait()
  2143. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  2144. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  2145. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50*i),math.rad(-70+70*i),math.rad(90*i))
  2146. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60*i),math.rad(-40+40*i),math.rad(3*i))
  2147. end
  2148. for i=0,1,0.1 do
  2149. wait()
  2150. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  2151. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  2152. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+60*i),math.rad(-70+70),math.rad(90))
  2153. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60+40*i),math.rad(-40+40),math.rad(3))
  2154. DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black"))
  2155. shoottrail2(prt7)
  2156. end
  2157. for i=0,1,0.1 do
  2158. wait()
  2159. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  2160. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  2161. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120-50+60-10*i),math.rad(-70+70-70*i),math.rad(90-90*i))
  2162. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+60+40-100*i),math.rad(-40+40-40*i),math.rad(3-3*i))
  2163. end
  2164. attack=false
  2165. end
  2166. function Shoot4()
  2167. attack=true
  2168. for i=0,1,0.1 do
  2169. wait()
  2170. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  2171. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  2172. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60*i),math.rad(-70+70*i),math.rad(0))
  2173. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(-40+40*i),math.rad(0))
  2174. end
  2175. for i=0,1,0.1 do
  2176. wait()
  2177. DerpMagic(prt7,Prop.LegWide*4,Prop.LegWide*4,Prop.LegWide*4,0,1,0,BrickColor.new("Black"))
  2178. shoottrail2(prt7)
  2179. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  2180. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  2181. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60),math.rad(-70+70),math.rad(0))
  2182. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50+50*i),math.rad(-40+40),math.rad(0))
  2183. end
  2184. for i=0,1,0.1 do
  2185. wait()
  2186. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120),math.rad(70),0)
  2187. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40),0)
  2188. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120+60-60*i),math.rad(-70+70-70*i),math.rad(0))
  2189. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100+50+50-100*i),math.rad(-40+40-40*i),math.rad(0))
  2190. end
  2191. attack=false
  2192. end
  2193. function Attack()
  2194. attack=true
  2195. for i=0,1,0.1 do
  2196. wait()
  2197. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80*i),math.rad(70-70*i),0)
  2198. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40-40*i),0)
  2199. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  2200. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  2201. end
  2202. ss(1)
  2203. con1=prt2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end)
  2204. con2=Spider.RAa2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end)
  2205. for i=0,1,0.2 do
  2206. wait()
  2207. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80+90*i),math.rad(70-70),0)
  2208. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+70*i),math.rad(40-40),0)
  2209. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  2210. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  2211. end
  2212. wait(0.1)
  2213. con1:disconnect()
  2214. con2:disconnect()
  2215. for i=0,1,0.1 do
  2216. wait()
  2217. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120+10-10*i),math.rad(70-70+70*i),0)
  2218. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+70-70*i),math.rad(40-40+40*i),0)
  2219. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  2220. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  2221. end
  2222. attack=false
  2223. end
  2224. function MegaBonk()
  2225. attack=true
  2226. for i=0,1,0.1 do
  2227. wait()
  2228. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80*i),math.rad(70-70*i),0)
  2229. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40-40*i),0)
  2230. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  2231. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  2232. end
  2233. wait(0.1)
  2234. for i=0,1,0.02 do
  2235. wait()
  2236. MMMAGIC(prt4,Prop.BallSize*2,Prop.BallSize*2,Prop.BallSize*2,0,Prop.LegLength/2,0,BrickColor.new("Really black"))
  2237. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80-30*i),math.rad(70-70),0)
  2238. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30*i),math.rad(40-40),0)
  2239. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  2240. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  2241. end
  2242. ss(1.3)
  2243. con1=prt2.Touched:connect(function(hit) Damagefunc2(hit,Prop.LegLength*10,100) end)
  2244. con2=Spider.RAa2.Touched:connect(function(hit) Damagefunc2(hit,Prop.LegLength*10,100) end)
  2245. for i=0,1,0.2 do
  2246. wait()
  2247. MMMAGIC(prt4,Prop.BallSize*2,Prop.BallSize*2,Prop.BallSize*2,0,Prop.LegLength/2,0,BrickColor.new("Really black"))
  2248. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-80-30+110*i),math.rad(70-70),0)
  2249. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30+120*i),math.rad(40-40),0)
  2250. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  2251. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  2252. end
  2253. MMMAGIC(prt4,Prop.BallSize*4,Prop.BallSize*4,Prop.BallSize*4,0,Prop.LegLength/2,0,BrickColor.new("Really black"))
  2254. wait(0.5)
  2255. con1:disconnect()
  2256. con2:disconnect()
  2257. for i=0,1,0.1 do
  2258. wait()
  2259. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-110+110),math.rad(70-70+70*i),0)
  2260. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100-30+120-100*i),math.rad(40-40+40*i),0)
  2261. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  2262. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  2263. end
  2264. attack=false
  2265. end
  2266. function DualAttack()
  2267. attack=true
  2268. for i=0,1,0.1 do
  2269. wait()
  2270. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30*i),math.rad(70-90*i),0)
  2271. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(40+40*i),0)
  2272. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  2273. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  2274. end
  2275. ss(1)
  2276. con1=prt2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end)
  2277. con2=Spider.RAa2.Touched:connect(function(hit) slashdamage1(hit,Prop.LegLength*3,20) end)
  2278. for i=0,1,0.2 do
  2279. wait()
  2280. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30),math.rad(70-90+100*i),0)
  2281. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(40+40),0)
  2282. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  2283. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  2284. end
  2285. con1:disconnect()
  2286. con2:disconnect()
  2287. for i=0,1,0.1 do
  2288. wait()
  2289. Spider.w.RAb1.C1 = CFrame.Angles(math.rad(120-30+30*i),math.rad(70-90+100-10*i),0)
  2290. Spider.w.RAb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(40+40-40*i),0)
  2291. Spider.w.LAb1.C1 = CFrame.Angles(math.rad(120),math.rad(-70),0)
  2292. Spider.w.LAb2.C1 = CFrame.Angles(math.rad(-100),math.rad(-40),0)
  2293. end
  2294. attack=false
  2295. end
  2296. function Stomp()
  2297. attack=true
  2298. local vel2 = Instance.new("BodyVelocity")
  2299. vel2.Parent = Player.Character.Torso
  2300. vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  2301. vel2.velocity = Vector3.new(0,1,0) * 20
  2302. wait(0.05)
  2303. vel2.Parent=nil
  2304. act.Jumping=true
  2305. Char.Humanoid.WalkSpeed=0
  2306. for i=0,1,0.1 do
  2307. wait()
  2308. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50*i),math.rad(-40),0)
  2309. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(0),0)
  2310. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0)
  2311. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0)
  2312. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50*i),math.rad(40),0)
  2313. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50*i),math.rad(0),0)
  2314. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80),math.rad(40),0)
  2315. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0)
  2316. end
  2317. for i=0,1,0.1 do
  2318. wait()
  2319. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50),math.rad(-40),0)
  2320. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50),math.rad(0),0)
  2321. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(-40+40*i),0)
  2322. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30*i),math.rad(0),0)
  2323. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50),math.rad(40),0)
  2324. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50),math.rad(0),0)
  2325. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(40-40*i),0)
  2326. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30*i),math.rad(0),0)
  2327. end
  2328. ss(0.9)
  2329. con1=Spider.URa1.Touched:connect(function(hit) DBHit(hit,50,Prop.LegLength*2) end)
  2330. con2=Spider.URa2.Touched:connect(function(hit) DBHit(hit,50,Prop.LegLength*2) end)
  2331. for i=0,1,0.2 do
  2332. wait()
  2333. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50+50*i),math.rad(-40),0)
  2334. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(0),0)
  2335. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+50*i),math.rad(-40+40),0)
  2336. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30+30*i),math.rad(0),0)
  2337. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50+50*i),math.rad(40),0)
  2338. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50-50*i),math.rad(0),0)
  2339. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+50*i),math.rad(40-40),0)
  2340. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30+30*i),math.rad(0),0)
  2341. end
  2342. wait(0.1)
  2343. con1:disconnect()
  2344. con2:disconnect()
  2345. for i=0,1,0.1 do
  2346. wait()
  2347. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80-50+50),math.rad(-40),0)
  2348. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100+50-50),math.rad(0),0)
  2349. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+50),math.rad(-40+40-40*i),0)
  2350. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100-30+30),math.rad(0),0)
  2351. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80-50+50),math.rad(40),0)
  2352. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100+50-50),math.rad(0),0)
  2353. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+50),math.rad(40-40+40*i),0)
  2354. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100-30+30),math.rad(0),0)
  2355. end
  2356. Char.Humanoid.WalkSpeed=walksped
  2357. act.Jumping=false
  2358. attack=false
  2359. end
  2360. function Jump()
  2361. attack=true
  2362. act.Jumping=true
  2363. for i=0,1,0.1 do
  2364. wait()
  2365. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50*i),math.rad(-40),0)
  2366. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50*i),math.rad(0),0)
  2367. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(-40),0)
  2368. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50*i),math.rad(0),0)
  2369. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50*i),math.rad(40),0)
  2370. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50*i),math.rad(0),0)
  2371. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50*i),math.rad(40),0)
  2372. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50*i),math.rad(0),0)
  2373. end
  2374. for i=0,1,0.2 do
  2375. wait()
  2376. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50-100*i),math.rad(-40),0)
  2377. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50+100*i),math.rad(0),0)
  2378. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+100*i),math.rad(-40),0)
  2379. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50-100*i),math.rad(0),0)
  2380. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50-100*i),math.rad(40),0)
  2381. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50+100*i),math.rad(0),0)
  2382. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+100*i),math.rad(40),0)
  2383. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50-100*i),math.rad(0),0)
  2384. end
  2385. local vel2 = Instance.new("BodyVelocity")
  2386. vel2.Parent = Player.Character.Torso
  2387. vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  2388. vel2.velocity = Vector3.new(0,1,0) * 100
  2389. wait(0.1)
  2390. vel2.Parent=nil
  2391. for i=0,1,0.1 do
  2392. wait()
  2393. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+50-100+50*i),math.rad(-40),0)
  2394. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-50+100-50*i),math.rad(0),0)
  2395. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-50+100-50*i),math.rad(-40),0)
  2396. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+50-100+50*i),math.rad(0),0)
  2397. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+50-100+50*i),math.rad(40),0)
  2398. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-50+100-50*i),math.rad(0),0)
  2399. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-50+100-50*i),math.rad(40),0)
  2400. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+50-100+50*i),math.rad(0),0)
  2401. end
  2402. act.Jumping=false
  2403. attack=false
  2404. end
  2405. function shoottrail2(pos1)
  2406. coroutine.resume(coroutine.create(function()
  2407. spread2 = 0
  2408. range2 = Prop.LegLength*150
  2409. rangepower = Prop.LegLength*1.5
  2410. local spreadvector = (Vector3.new(math.random(-spread2,spread2),math.random(-spread2,spread2),math.random(-spread2,spread2)) / 100) * (pos1.Position).magnitude/100
  2411. --local dir = Head.CFrame.lookVector+spreadvector
  2412. local dir = prt12.CFrame.lookVector+spreadvector
  2413. local hit2,pos = rayCast(pos1.Position,dir,10,pack)
  2414. local rangepos = range2
  2415. local function drawtrail(From,To)
  2416. local effectsmsh = Instance.new("CylinderMesh")
  2417. effectsmsh.Scale = Vector3.new(1,1,1)
  2418. effectsmsh.Name = "Mesh"
  2419. local effectsg = Instance.new("Part")
  2420. effectsg.formFactor = 3
  2421. effectsg.CanCollide = false
  2422. effectsg.Name = "Eff"
  2423. effectsg.Locked = true
  2424. effectsg.Anchored = true
  2425. effectsg.Size = Vector3.new(Prop.LegLength/4,Prop.LegLength/5,Prop.LegLength/4)
  2426. effectsg.Parent = pack
  2427. effectsmsh.Parent = effectsg
  2428. effectsg.BrickColor = BrickColor.new("Really black")
  2429. effectsg.Reflectance = 0.25
  2430. local LP = From
  2431. local point1 = To
  2432. local mg = (LP - point1).magnitude
  2433. effectsmsh.Scale = Vector3.new(1,mg*5,1)
  2434. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  2435. coroutine.resume(coroutine.create(function()
  2436. for i = 0 , 1 , 0.2 do
  2437. wait()
  2438. effectsg.Transparency = 1*i
  2439. effectsmsh.Scale = Vector3.new(1-1*i,mg*5,1-1*i)
  2440. end
  2441. effectsg.Parent = nil
  2442. end))
  2443. end
  2444. local newpos = pos1.Position
  2445. local inc = rangepower
  2446. repeat
  2447. wait()
  2448. rangepos = rangepos - 10
  2449. dir = dir
  2450. hit2,pos = rayCast(newpos,dir,inc,pack)
  2451. drawtrail(newpos,pos)
  2452. newpos = newpos + (dir * inc)
  2453. if alt==1 then
  2454. inc = 10
  2455. if inc >= 20 then
  2456. inc = inc - 10
  2457. end
  2458. end
  2459. if hit2 ~= nil then
  2460. rangepos = 0
  2461. end
  2462. until rangepos <= 0
  2463. if hit2 ~= nil then
  2464. local effectsmsh = Instance.new("SpecialMesh")
  2465. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  2466. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  2467. effectsmsh.Scale = Vector3.new(3,3,3)
  2468. local effectsg = Instance.new("Part")
  2469. effectsg.formFactor = 3
  2470. effectsg.CanCollide = false
  2471. effectsg.Name = "Arrow"
  2472. effectsg.Locked = true
  2473. effectsg.Transparency = 1
  2474. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  2475. effectsg.Parent = pack
  2476. effectsg.BrickColor = BrickColor.new("Really black")
  2477. effectsmsh.Parent = effectsg
  2478. effectsg.CFrame = CFrame.new(newpos,pos) + CFrame.new(newpos,pos).lookVector*2.5*2
  2479. local efwel = Instance.new("Weld")
  2480. efwel.Parent = effectsg
  2481. efwel.Part0 = effectsg
  2482. efwel.Part1 = hit2
  2483. efwel.Parent = nil
  2484. effectsg.Anchored = true
  2485. local HitPos = effectsg.Position + CFrame.new(newpos,pos).lookVector*0.75
  2486. --local HitPos = prt1.Position + CFrame.new(newpos,pos).lookVector*0.75
  2487. --local HitPos = prt1.Position + (prt1.CFrame.lookVector * .5)
  2488. local CJ = CFrame.new(HitPos)
  2489. local C0 = effectsg.CFrame:inverse() * CJ
  2490. local C1 = hit2.CFrame:inverse() * CJ
  2491. --efwel.C0 = C0
  2492. --efwel.C1 = C1
  2493. --efwel.Parent = effectsg
  2494. Damg = Prop.LegLength*5
  2495. coroutine.resume(coroutine.create(function()
  2496. msound(1)
  2497. coroutine.resume(coroutine.create(function()
  2498. local c = game.Workspace:GetChildren();
  2499. for i = 1, #c do
  2500. local hum = c:findFirstChild("Humanoid")
  2501. if hum ~= nil and hum.Health ~= 0 then
  2502. local head = c:findFirstChild("Head");
  2503. if head ~= nil then
  2504. local targ = head.Position - effectsg.Position;
  2505. local mag = targ.magnitude;
  2506. if mag <= Prop.LegLength*3 then
  2507. wait()
  2508. DBHit(head,effectsg,Prop.LegLength)
  2509. end
  2510. end
  2511. end
  2512. end
  2513. end))
  2514. EVENMOARMAGIX(effectsg,Prop.LegLength*3,Prop.LegLength*2,Prop.LegLength*3,0,0,0,0,0,0,BrickColor.new("Black"))
  2515. for i = 0,5 do
  2516. wait()
  2517. MMMAGIC(effectsg,Prop.LegLength*3,Prop.LegLength*2,Prop.LegLength*3,0,0,0,BrickColor.new("Black"))
  2518. end
  2519. end))
  2520. coroutine.resume(coroutine.create(function()
  2521. wait(3)
  2522. effectsg.Parent = nil
  2523. end))
  2524. if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
  2525. hum = hit2.Parent.Humanoid
  2526. attackdebounce = false
  2527. Damagefunc1(hit2,Damg,50)
  2528. elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  2529. hum = hit2.Parent.Parent.Humanoid
  2530. attackdebounce = false
  2531. Damagefunc1(hit2,Damg,50)
  2532. end
  2533. end
  2534. end))
  2535. end
  2536. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , Ignore Descendants
  2537. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2538. end
  2539. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  2540. local msh1 = Instance.new("BlockMesh")
  2541. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  2542. S=Instance.new("Part")
  2543. S.Name="Effect"
  2544. S.formFactor=0
  2545. S.Size=Vector3.new(x1,y1,z1)
  2546. S.BrickColor=color
  2547. S.Reflectance = 0
  2548. S.TopSurface=0
  2549. S.BottomSurface=0
  2550. S.Transparency=0
  2551. S.Anchored=true
  2552. S.CanCollide=false
  2553. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2554. S.Parent=pack
  2555. msh1.Parent = S
  2556. 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)
  2557. end
  2558. function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  2559. local msh1 = Instance.new("BlockMesh")
  2560. msh1.Scale = Vector3.new(x1,y1,z1)
  2561. S=Instance.new("Part")
  2562. S.Name="Effect"
  2563. S.formFactor=0
  2564. S.Size=Vector3.new(1,1,1)
  2565. S.BrickColor=color
  2566. S.Reflectance = 0
  2567. S.TopSurface=0
  2568. S.BottomSurface=0
  2569. S.Transparency=0
  2570. S.Anchored=true
  2571. S.CanCollide=false
  2572. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2573. S.Parent=pack
  2574. msh1.Parent = S
  2575. 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)
  2576. end
  2577. function MOREMAGIX(part,cframe,x,y,z,color)
  2578. p2=Instance.new("Part")
  2579. p2.Name="Blast"
  2580. p2.TopSurface=0
  2581. p2.BottomSurface=0
  2582. p2.CanCollide=false
  2583. p2.Anchored=true
  2584. p2.BrickColor=color
  2585. p2.Size=Vector3.new(x,y,z)
  2586. p2.formFactor="Symmetric"
  2587. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  2588. p2.Parent=pack
  2589. m=Instance.new("BlockMesh")
  2590. m.Parent=p2
  2591. m.Name="BlastMesh"
  2592. 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))
  2593. end
  2594. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2595. local msh1 = Instance.new("SpecialMesh")
  2596. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  2597. msh1.MeshType = "Sphere"
  2598. S=Instance.new("Part")
  2599. S.Name="Effect"
  2600. S.formFactor=0
  2601. S.Size=Vector3.new(x1,y1,z1)
  2602. S.BrickColor=color
  2603. S.Reflectance = 0
  2604. S.TopSurface=0
  2605. S.BottomSurface=0
  2606. S.Transparency=0
  2607. S.Anchored=true
  2608. S.CanCollide=false
  2609. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  2610. S.Parent=pack
  2611. msh1.Parent = S
  2612. 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)
  2613. end
  2614. print("Y U NU GIVE CREDIT.")
  2615. function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2616. local msh1 = Instance.new("SpecialMesh")
  2617. msh1.Scale = Vector3.new(x1,y1,z1)
  2618. msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2619. S=Instance.new("Part")
  2620. S.Name="Effect"
  2621. S.formFactor=0
  2622. S.Size=Vector3.new(1,1,1)
  2623. S.BrickColor=color
  2624. S.Reflectance = 0
  2625. S.TopSurface=0
  2626. S.BottomSurface=0
  2627. S.Transparency=0
  2628. S.Anchored=true
  2629. S.CanCollide=false
  2630. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  2631. S.Parent=pack
  2632. msh1.Parent = S
  2633. 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)
  2634. end
  2635. function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2636. local msh1 = Instance.new("SpecialMesh")
  2637. msh1.Scale = Vector3.new(x1,y1,z1)
  2638. msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
  2639. S=Instance.new("Part")
  2640. S.Name="Effect"
  2641. S.formFactor=0
  2642. S.Size=Vector3.new(1,1,1)
  2643. S.BrickColor=color
  2644. S.Reflectance = 0
  2645. S.TopSurface=0
  2646. S.BottomSurface=0
  2647. S.Transparency=0
  2648. S.Anchored=true
  2649. S.CanCollide=false
  2650. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  2651. S.Parent=pack
  2652. msh1.Parent = S
  2653. 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)
  2654. end
  2655. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  2656. local msh1 = Instance.new("BlockMesh")
  2657. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  2658. S=Instance.new("Part")
  2659. S.Name="Effect"
  2660. S.formFactor=0
  2661. S.Size=Vector3.new(x1,y1,z1)
  2662. S.BrickColor=color
  2663. S.Reflectance = 0
  2664. S.TopSurface=0
  2665. S.BottomSurface=0
  2666. S.Transparency=0
  2667. S.Anchored=true
  2668. S.CanCollide=false
  2669. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2670. S.Parent=pack
  2671. msh1.Parent = S
  2672. 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)
  2673. end
  2674. function ss(pitch)
  2675. local SlashSound = Instance.new("Sound")
  2676. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  2677. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  2678. SlashSound.Parent = workspace
  2679. SlashSound.Volume = .7
  2680. SlashSound.Pitch = pitch
  2681. SlashSound.PlayOnRemove = true
  2682. coroutine.resume(coroutine.create(function()
  2683. wait(0)
  2684. SlashSound.Parent = nil
  2685. end))
  2686. end
  2687. function equipsound(pitch)
  2688. local SlashSound = Instance.new("Sound")
  2689. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  2690. SlashSound.Parent = workspace
  2691. SlashSound.Volume = .5
  2692. SlashSound.Pitch = pitch
  2693. SlashSound.PlayOnRemove = true
  2694. coroutine.resume(coroutine.create(function()
  2695. wait(0)
  2696. SlashSound.Parent = nil
  2697. end))
  2698. end
  2699. function magicsound(pitch)
  2700. local SlashSound = Instance.new("Sound")
  2701. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  2702. SlashSound.Parent = workspace
  2703. SlashSound.Volume = .5
  2704. SlashSound.Pitch = pitch
  2705. SlashSound.PlayOnRemove = true
  2706. coroutine.resume(coroutine.create(function()
  2707. wait(0)
  2708. SlashSound.Parent = nil
  2709. end))
  2710. end
  2711. function critsound(pitch)
  2712. local SlashSound = Instance.new("Sound")
  2713. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  2714. SlashSound.Parent = workspace
  2715. SlashSound.Volume = .7
  2716. SlashSound.Pitch = pitch
  2717. SlashSound.PlayOnRemove = true
  2718. coroutine.resume(coroutine.create(function()
  2719. wait(0)
  2720. SlashSound.Parent = nil
  2721. end))
  2722. end
  2723. function spikesound(pitch)
  2724. local SlashSound = Instance.new("Sound")
  2725. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  2726. SlashSound.Parent = workspace
  2727. SlashSound.Volume = .7
  2728. SlashSound.Pitch = pitch
  2729. SlashSound.PlayOnRemove = true
  2730. coroutine.resume(coroutine.create(function()
  2731. wait(0)
  2732. SlashSound.Parent = nil
  2733. end))
  2734. end
  2735. function msound(pitch)
  2736. local SlashSound = Instance.new("Sound")
  2737. SlashSound.SoundId = "http://www.roblox.com/asset?id=2101148"
  2738. SlashSound.Parent = workspace
  2739. SlashSound.Volume = .7
  2740. SlashSound.Pitch = pitch
  2741. SlashSound.PlayOnRemove = true
  2742. coroutine.resume(coroutine.create(function()
  2743. wait(0)
  2744. SlashSound.Parent = nil
  2745. end))
  2746. end
  2747. function lasersound(pitch)
  2748. local SlashSound = Instance.new("Sound")
  2749. SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav"
  2750. SlashSound.Parent = workspace
  2751. SlashSound.Volume = .5
  2752. SlashSound.Pitch = pitch
  2753. SlashSound.PlayOnRemove = true
  2754. coroutine.resume(coroutine.create(function()
  2755. wait(0)
  2756. SlashSound.Parent = nil
  2757. end))
  2758. end
  2759. function omnomnom(pitch)
  2760. local SlashSound = Instance.new("Sound")
  2761. SlashSound.SoundId = "http://www.roblox.com/asset/?id=12544690"
  2762. SlashSound.Parent = workspace
  2763. SlashSound.Volume = .5
  2764. SlashSound.Pitch = pitch
  2765. SlashSound.PlayOnRemove = true
  2766. coroutine.resume(coroutine.create(function()
  2767. wait(0)
  2768. SlashSound.Parent = nil
  2769. end))
  2770. end
  2771. function msound(pitch)
  2772. local SlashSound = Instance.new("Sound")
  2773. SlashSound.SoundId = "http://www.roblox.com/asset?id=2101148"
  2774. SlashSound.Parent = workspace
  2775. SlashSound.Volume = .7
  2776. SlashSound.Pitch = pitch
  2777. SlashSound.PlayOnRemove = true
  2778. coroutine.resume(coroutine.create(function()
  2779. wait(0)
  2780. SlashSound.Parent = nil
  2781. end))
  2782. end
  2783. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  2784. local msh1 = Instance.new("BlockMesh")
  2785. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  2786. S=Instance.new("Part")
  2787. S.Name="Effect"
  2788. S.formFactor=0
  2789. S.Size=Vector3.new(x1,y1,z1)
  2790. S.BrickColor=color
  2791. S.Reflectance = 0
  2792. S.TopSurface=0
  2793. S.BottomSurface=0
  2794. S.Transparency=0
  2795. S.Anchored=true
  2796. S.CanCollide=false
  2797. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2798. S.Parent=workspace
  2799. msh1.Parent = S
  2800. 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)
  2801. end
  2802. attackdebounce = false
  2803. Damagefunc1=function(hit,Damage,Knockback)
  2804. if hit.Parent==nil then
  2805. return
  2806. end
  2807. CPlayer=Bin
  2808. h=hit.Parent:FindFirstChild("Humanoid")
  2809. if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2810. if attackdebounce == false then
  2811. critsound(2)
  2812. attackdebounce = true
  2813. coroutine.resume(coroutine.create(function()
  2814. wait(0.1)
  2815. attackdebounce = false
  2816. end))
  2817. Damage=Damage
  2818. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2819. return
  2820. end]]
  2821. c=Instance.new("ObjectValue")
  2822. c.Name="creator"
  2823. c.Value=game.Players.LocalPlayer
  2824. c.Parent=h
  2825. game:GetService("Debris"):AddItem(c,.5)
  2826. -- print(c.Value)
  2827. if math.random(0,99)+math.random()<=5 then
  2828. CRIT=true
  2829. Damage=Damage*150
  2830. --[[ Knockback=Knockback*2
  2831. r=Instance.new("BodyAngularVelocity")
  2832. r.P=3000
  2833. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  2834. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2835. r.Parent=hit.Parent.Torso]]
  2836. --critsound(2)
  2837. end
  2838. Damage=Damage+math.random(50,100)
  2839. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20))
  2840. h:TakeDamage(Damage)
  2841. showDamage(hit.Parent,Damage,50)
  2842. vp=Instance.new("BodyVelocity")
  2843. vp.P=500
  2844. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2845. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2846. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  2847. if Knockback>0 then
  2848. vp.Parent=hit.Parent.Torso
  2849. end
  2850. game:GetService("Debris"):AddItem(vp,.25)
  2851. --[[ r=Instance.new("BodyAngularVelocity")
  2852. r.P=3000
  2853. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  2854. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2855. r.Parent=hit.Parent.Torso]]
  2856. game:GetService("Debris"):AddItem(r,.5)
  2857. c=Instance.new("ObjectValue")
  2858. c.Name="creator"
  2859. c.Value=Player
  2860. c.Parent=h
  2861. game:GetService("Debris"):AddItem(c,.5)
  2862. CRIT=false
  2863. hitDeb=true
  2864. AttackPos=6
  2865. end
  2866. end
  2867. end
  2868. Damagefunc2=function(hit,Damage,Knockback)
  2869. if hit.Parent==nil then
  2870. return
  2871. end
  2872. CPlayer=Bin
  2873. h=hit.Parent:FindFirstChild("Humanoid")
  2874. if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2875. if attackdebounce == false then
  2876. critsound(1)
  2877. attackdebounce = true
  2878. coroutine.resume(coroutine.create(function()
  2879. wait(0.1)
  2880. attackdebounce = false
  2881. end))
  2882. Damage=Damage
  2883. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2884. return
  2885. end]]
  2886. c=Instance.new("ObjectValue")
  2887. c.Name="creator"
  2888. c.Value=game.Players.LocalPlayer
  2889. c.Parent=h
  2890. game:GetService("Debris"):AddItem(c,.5)
  2891. -- print(c.Value)
  2892. if math.random(0,99)+math.random()<=5 then
  2893. CRIT=true
  2894. Damage=Damage*100
  2895. --[[ Knockback=Knockback*2
  2896. r=Instance.new("BodyAngularVelocity")
  2897. r.P=3000
  2898. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  2899. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2900. r.Parent=hit.Parent.Torso]]
  2901. --critsound(2)
  2902. end
  2903. Damage=Damage+math.random(50,100)
  2904. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20))
  2905. h:TakeDamage(Damage)
  2906. showDamage(hit.Parent,Damage,50)
  2907. vp=Instance.new("BodyVelocity")
  2908. vp.P=500
  2909. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2910. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2911. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  2912. rl=Instance.new("BodyAngularVelocity")
  2913. rl.P=3000
  2914. rl.maxTorque=Vector3.new(5000,5000,5000)*500000000
  2915. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2916. rl.Parent=t
  2917. game:GetService("Debris"):AddItem(rl,.2)
  2918. vl=Instance.new("BodyVelocity")
  2919. vl.P=4500
  2920. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2921. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,10,0)
  2922. vl.Parent=t
  2923. game:GetService("Debris"):AddItem(vl,.2)
  2924. if Knockback>0 then
  2925. vp.Parent=hit.Parent.Torso
  2926. end
  2927. game:GetService("Debris"):AddItem(vp,.25)
  2928. --[[ r=Instance.new("BodyAngularVelocity")
  2929. r.P=3000
  2930. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  2931. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2932. r.Parent=hit.Parent.Torso]]
  2933. game:GetService("Debris"):AddItem(r,.5)
  2934. c=Instance.new("ObjectValue")
  2935. c.Name="creator"
  2936. c.Value=Player
  2937. c.Parent=h
  2938. game:GetService("Debris"):AddItem(c,.5)
  2939. CRIT=false
  2940. hitDeb=true
  2941. AttackPos=6
  2942. end
  2943. end
  2944. end
  2945. slashdamage1=function(hit,Damage,Knockback)
  2946. if hit.Parent==nil then
  2947. return
  2948. end
  2949. CPlayer=Bin
  2950. h=hit.Parent:FindFirstChild("Humanoid")
  2951. if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2952. if attackdebounce == false then
  2953. attackdebounce = true
  2954. coroutine.resume(coroutine.create(function()
  2955. wait(0.1)
  2956. attackdebounce = false
  2957. end))
  2958. Damage=Damage
  2959. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2960. return
  2961. end]]
  2962. c=Instance.new("ObjectValue")
  2963. c.Name="creator"
  2964. c.Value=game.Players.LocalPlayer
  2965. c.Parent=h
  2966. game:GetService("Debris"):AddItem(c,.5)
  2967. -- print(c.Value)
  2968. if math.random(0,99)+math.random()<=5 then
  2969. Damage=Damage*50
  2970. --[[ Knockback=Knockback*2
  2971. r=Instance.new("BodyAngularVelocity")
  2972. r.P=3000
  2973. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  2974. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2975. r.Parent=hit.Parent.Torso]]
  2976. --critsound(2)
  2977. end
  2978. Damage=Damage+math.random(65,90)
  2979. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/20))
  2980. h:TakeDamage(Damage)
  2981. showDamage(hit.Parent,Damage,50)
  2982. vp=Instance.new("BodyVelocity")
  2983. vp.P=500
  2984. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2985. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2986. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  2987. if Knockback>0 then
  2988. vp.Parent=hit.Parent.Torso
  2989. end
  2990. game:GetService("Debris"):AddItem(vp,.25)
  2991. --[[ r=Instance.new("BodyAngularVelocity")
  2992. r.P=3000
  2993. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  2994. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2995. r.Parent=hit.Parent.Torso]]
  2996. game:GetService("Debris"):AddItem(r,.5)
  2997. c=Instance.new("ObjectValue")
  2998. c.Name="creator"
  2999. c.Value=Player
  3000. c.Parent=h
  3001. game:GetService("Debris"):AddItem(c,.5)
  3002. CRIT=false
  3003. hitDeb=true
  3004. AttackPos=6
  3005. end
  3006. end
  3007. end
  3008. DBHit=function(hit,DB,Dmg) --credits to turdulator for making this function
  3009. if hit.Parent==nil then
  3010. return
  3011. end
  3012. h=hit.Parent:FindFirstChild("Humanoid")
  3013. if h==nil then
  3014. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  3015. end
  3016. t=hit.Parent:FindFirstChild("Torso")
  3017. if h~=nil and t~=nil then
  3018. --[[ if h.Parent==Character then
  3019. return
  3020. end]]
  3021. critsound(1.5)
  3022. Damage=Dmg+math.random(20,100)
  3023. h:TakeDamage(Damage)
  3024. c=Instance.new("ObjectValue")
  3025. c.Name="creator"
  3026. c.Value=game.Players.LocalPlayer
  3027. c.Parent=h
  3028. game:GetService("Debris"):AddItem(c,.5)
  3029. showDamage(hit.Parent,Damage,59)
  3030. vl=Instance.new("BodyVelocity")
  3031. vl.P=4500
  3032. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3033. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,10,0)
  3034. vl.Parent=t
  3035. game:GetService("Debris"):AddItem(vl,.2)
  3036. rl=Instance.new("BodyAngularVelocity")
  3037. rl.P=3000
  3038. rl.maxTorque=Vector3.new(5000,5000,5000)*500000000
  3039. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  3040. rl.Parent=t
  3041. game:GetService("Debris"):AddItem(rl,.2)
  3042. else
  3043. if hit.CanCollide==false then
  3044. return
  3045. end
  3046. MagicCom:disconnect()
  3047. -- DBExplode(DB)
  3048. CRIT=false
  3049. end
  3050. end
  3051. showDamage=function(Char,Dealt,du)
  3052. m=Instance.new("Model")
  3053. m.Name=tostring(Dealt)
  3054. h=Instance.new("Humanoid")
  3055. h.Health=math.huge
  3056. h.MaxHealth=math.huge
  3057. h.Parent=m
  3058. c=Instance.new("Part")
  3059. c.Transparency=0
  3060. c.BrickColor=BrickColor:Red()
  3061. c.Name="Head"
  3062. c.TopSurface=0
  3063. c.BottomSurface=0
  3064. c.formFactor="Plate"
  3065. c.Size=Vector3.new(1,.4,1)
  3066. ms=Instance.new("CylinderMesh")
  3067. ms.Bevel=.1
  3068. ms.Scale=Vector3.new(.8,.8,.8)
  3069. ms.Parent=c
  3070. c.Reflectance=0
  3071. Instance.new("BodyGyro").Parent=c
  3072. c.Parent=m
  3073. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  3074. f=Instance.new("BodyPosition")
  3075. f.P=2000
  3076. f.D=100
  3077. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3078. f.position=c.Position+Vector3.new(0,3,0)
  3079. f.Parent=c
  3080. game:GetService("Debris"):AddItem(m,.5+du)
  3081. c.CanCollide=false
  3082. m.Parent=workspace
  3083. c.CanCollide=false
  3084. end
  3085. Anims.Walking = function()
  3086. derpcon1=Spider.LRa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  3087. derpcon2=Spider.LLa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  3088. derpcon3=Spider.URa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  3089. derpcon4=Spider.ULa2.Touched:connect(function(hit) Damagefunc1(hit,Prop.LegLength,5) end)
  3090. for i=0,1,difficulty do
  3091. if act.Jumping ~= true then
  3092. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(-40-(40*i)),0)
  3093. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0)
  3094. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(-40-(40*i)),0)
  3095. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0)
  3096. wait()
  3097. end
  3098. end
  3099. coroutine.resume(coroutine.create(function()
  3100. for i=0,1,difficulty do
  3101. if act.Jumping ~= true then
  3102. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(40+(40*i)),0)
  3103. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0)
  3104. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(40+(40*i)),0)
  3105. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0)
  3106. wait()
  3107. end
  3108. end
  3109. for i=1,0,-difficulty do
  3110. if act.Jumping ~= true then
  3111. Spider.w.LLb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(40+(40*i)),0)
  3112. Spider.w.LLb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0)
  3113. Spider.w.URb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(40+(40*i)),0)
  3114. Spider.w.URb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0)
  3115. wait()
  3116. end
  3117. end
  3118. end))
  3119. for i=1,0,-difficulty do
  3120. if act.Jumping ~= true then
  3121. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80+(20*i)),math.rad(-40-(40*i)),0)
  3122. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100-(20*i)),math.rad(0),0)
  3123. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80-(20*i)),math.rad(-40-(40*i)),0)
  3124. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100+(20*i)),math.rad(0),0)
  3125. wait()
  3126. end
  3127. end
  3128. derpcon1:disconnect()
  3129. derpcon2:disconnect()
  3130. derpcon3:disconnect()
  3131. derpcon4:disconnect()
  3132. if act.Jumping ~= true then
  3133. Spider.w.LRb1.C1 = CFrame.Angles(math.rad(-80),math.rad(-40),0)
  3134. Spider.w.LRb2.C1 = CFrame.Angles(math.rad(-100),math.rad(0),0)
  3135. Spider.w.ULb1.C1 = CFrame.Angles(math.rad(80),math.rad(-40),0)
  3136. Spider.w.ULb2.C1 = CFrame.Angles(math.rad(100),math.rad(0),0)
  3137. end
  3138. end
  3139. --[[while true do
  3140. wait()
  3141. if act.Walking == true then return end
  3142. if Torso.Velocity.magnitude >= 19 then
  3143. act.Walking = true
  3144. Anims.Walking()
  3145. act.Walking = false
  3146. end
  3147. end ]]
  3148. t = it("Tool")
  3149. t.Equipped:connect(function(mouse) t:Remove()
  3150. Mouse = mouse
  3151. mouse.KeyDown:connect(function(k) act.keydown = true
  3152. pcall(function() act.key[k:lower()] = true end)
  3153. local kk = k:lower()
  3154. if kk == "w" or kk == "a" or kk == "s" or kk == "d" then
  3155. if act.Walking == true then return end
  3156. while act.key["w"] == true or act.key["a"] == true or act.key["s"] == true or act.key["d"] == true do
  3157. act.Walking = true
  3158. Anims.Walking()
  3159. wait()
  3160. end
  3161. act.Walking = false
  3162. end
  3163. if kk == "q" then
  3164. if roflcopter==false then
  3165. roflcopter=true
  3166. RoflCopter()
  3167. elseif roflcopter==true then
  3168. roflcopter=false
  3169. end
  3170. --[[if roflcopter==false then
  3171. roflcopter=true
  3172. Anim()
  3173. elseif roflcopter==true then
  3174. roflcopter=false
  3175. end]]
  3176. end
  3177. if kk == "e" then
  3178. bodypos.position=bodypos.position+Vector3.new(0,10,0)
  3179. end
  3180. if kk == "r" then
  3181. bodypos.position=bodypos.position-Vector3.new(0,10,0)
  3182. end
  3183. if attack == true then return end
  3184. if kk == "f" then
  3185. Shoot()
  3186. end
  3187. if kk == "g" then
  3188. Shoot2()
  3189. end
  3190. if kk == "h" then
  3191. Shoot3()
  3192. end
  3193. if kk == "j" then
  3194. Shoot4()
  3195. end
  3196. if kk == "z" then
  3197. Attack()
  3198. end
  3199. if kk == "x" then
  3200. DualAttack()
  3201. end
  3202. if kk == "c" then
  3203. MegaBonk()
  3204. end
  3205. if kk == "v" then
  3206. Stomp()
  3207. end
  3208. if kk == " " then
  3209. Jump()
  3210. end
  3211. end)
  3212. mouse.KeyUp:connect(function(k) act.keydown = false
  3213. pcall(function() act.key[k:lower()] = false end)
  3214. end)
  3215. end)
  3216. wait(0.1)
  3217. t.Parent = Char
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement