Advertisement
memberhero

Spider

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