Advertisement
lafur

Untitled

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