Advertisement
breezyshadow012

Black Spider

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