akungcastgamer

Untitled

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