Advertisement
robobot

Spider

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