Advertisement
ItzInfern

some spider

Jan 26th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.15 KB | None | 0 0
  1.  
  2.  
  3. --https://github.com/Mokiros/roblox-FE-compatibility
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. local RealPlayer = Player
  7. 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
  8.  
  9.  
  10.  
  11. wait()
  12. c3 = {}
  13. function c3.new(r,g,b)
  14. return Color3.new(r/255,g/255,b/255)
  15. end
  16.  
  17. primary = c3.new(0,0,0)
  18. secondary = c3.new(255,0,0)
  19.  
  20.  
  21. local player = game.Players.LocalPlayer
  22. repeat wait() until player.Character
  23. char = player.Character
  24.  
  25. basesound = Instance.new("Sound")
  26. basepart = Instance.new("Part")
  27. baseexplosion = Instance.new("Explosion")
  28.  
  29. spawn(function()
  30. while wait() do
  31. if not basesound then
  32. print'basesound nil'
  33. basesound = Instance.new("Sound")
  34. end
  35. if not baseexplosion then
  36. baseexplosion = Instance.new("Explosion")
  37. end
  38. if not basepart then
  39. basepart = Instance.new("Part")
  40. end
  41. end
  42. end)
  43. CreateInstance = function()
  44. cors = {}
  45. mas = Instance.new("Model",game:GetService("Lighting"))
  46. Model0 = Instance.new("Model")
  47. Model1 = Instance.new("Model")
  48. Part2 = Instance.new("Part")
  49. Part3 = Instance.new("Part")
  50. Motor6D4 = Instance.new("Motor6D")
  51. Motor6D5 = Instance.new("Motor6D")
  52. Part6 = Instance.new("Part")
  53. Motor6D7 = Instance.new("Motor6D")
  54. Part8 = Instance.new("Part")
  55. Motor6D9 = Instance.new("Motor6D")
  56. Model10 = Instance.new("Model")
  57. Part11 = Instance.new("Part")
  58. Part12 = Instance.new("Part")
  59. Motor6D13 = Instance.new("Motor6D")
  60. Motor6D14 = Instance.new("Motor6D")
  61. Part15 = Instance.new("Part")
  62. Motor6D16 = Instance.new("Motor6D")
  63. Part17 = Instance.new("Part")
  64. Motor6D18 = Instance.new("Motor6D")
  65. Model19 = Instance.new("Model")
  66. Part20 = Instance.new("Part")
  67. Part21 = Instance.new("Part")
  68. Motor6D22 = Instance.new("Motor6D")
  69. Motor6D23 = Instance.new("Motor6D")
  70. Part24 = Instance.new("Part")
  71. Motor6D25 = Instance.new("Motor6D")
  72. Part26 = Instance.new("Part")
  73. Motor6D27 = Instance.new("Motor6D")
  74. Model28 = Instance.new("Model")
  75. Part29 = Instance.new("Part")
  76. Part30 = Instance.new("Part")
  77. Motor6D31 = Instance.new("Motor6D")
  78. Motor6D32 = Instance.new("Motor6D")
  79. Part33 = Instance.new("Part")
  80. Motor6D34 = Instance.new("Motor6D")
  81. Part35 = Instance.new("Part")
  82. Motor6D36 = Instance.new("Motor6D")
  83. Part37 = Instance.new("Part")
  84. Motor6D38 = Instance.new("Motor6D")
  85. Model0.Name = "Bot"
  86. Model0.Parent = mas
  87. Model1.Name = "LeftLowerLeg"
  88. Model1.Parent = Model0
  89. Part2.Name = "Leg"
  90. Part2.Parent = Model1
  91. Part2.Material = Enum.Material.Metal
  92. Part2.BrickColor = BrickColor.new("Really black")
  93. Part2.Rotation = Vector3.new(0, 45, -111.299995)
  94. Part2.CanCollide = false
  95. Part2.Size = Vector3.new(6, 1, 1)
  96. Part2.CFrame = CFrame.new(32.2574959, 2.97668099, 10.4622593, -0.2568883, 0.65879637, 0.707109034, -0.931675911, -0.363295883, 2.88365015e-07, 0.256890744, -0.65879631, 0.707109392)
  97. Part2.BottomSurface = Enum.SurfaceType.Smooth
  98. Part2.TopSurface = Enum.SurfaceType.Smooth
  99. Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  100. Part2.Position = Vector3.new(32.2574959, 2.97668099, 10.4622593)
  101. Part2.Orientation = Vector3.new(0, 45, -111.299995)
  102. Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  103. Part3.Name = "Base"
  104. Part3.Parent = Model1
  105. Part3.Material = Enum.Material.Neon
  106. Part3.BrickColor = BrickColor.new("Really red")
  107. Part3.Transparency = 1
  108. Part3.Rotation = Vector3.new(0, 45, -21.2999992)
  109. Part3.CanCollide = false
  110. Part3.Shape = Enum.PartType.Ball
  111. Part3.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  112. Part3.CFrame = CFrame.new(36.3001213, 3.82847285, 6.41962528, 0.65879637, 0.2568883, 0.707109034, -0.363295883, 0.931675911, 2.88365015e-07, -0.65879631, -0.256890744, 0.707109392)
  113. Part3.BottomSurface = Enum.SurfaceType.Smooth
  114. Part3.TopSurface = Enum.SurfaceType.Smooth
  115. Part3.Color = Color3.new(1, 0, 0)
  116. Part3.Position = Vector3.new(36.3001213, 3.82847285, 6.41962528)
  117. Part3.Orientation = Vector3.new(0, 45, -21.2999992)
  118. Part3.Color = Color3.new(1, 0, 0)
  119. Motor6D4.Name = "Joint"
  120. Motor6D4.Parent = Part3
  121. Motor6D4.C0 = CFrame.new(-5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  122. Motor6D4.C1 = CFrame.new(-2.49999809, 1.43051147e-06, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  123. Motor6D4.Part0 = Part3
  124. Motor6D4.Part1 = Part6
  125. Motor6D5.Parent = Part3
  126. Motor6D5.C1 = CFrame.new(-1.19987869, -0.671523809, 0.419622421, 0.658794224, 0.256887913, 0.707107604, -0.363295287, 0.931674659, 7.94126493e-07, -0.658793986, -0.256889552, 0.707107425)
  127. Motor6D5.Part0 = Part3
  128. Motor6D5.Part1 = Part37
  129. Part6.Name = "Leg"
  130. Part6.Parent = Model1
  131. Part6.Material = Enum.Material.Metal
  132. Part6.BrickColor = BrickColor.new("Really black")
  133. Part6.Rotation = Vector3.new(0, 45, -21.2999992)
  134. Part6.CanCollide = false
  135. Part6.Size = Vector3.new(5, 1, 1)
  136. Part6.CFrame = CFrame.new(34.6531296, 4.73671198, 8.06661797, 0.65879637, 0.2568883, 0.707109034, -0.363295883, 0.931675911, 2.88365015e-07, -0.65879631, -0.256890744, 0.707109392)
  137. Part6.BottomSurface = Enum.SurfaceType.Smooth
  138. Part6.TopSurface = Enum.SurfaceType.Smooth
  139. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  140. Part6.Position = Vector3.new(34.6531296, 4.73671198, 8.06661797)
  141. Part6.Orientation = Vector3.new(0, 45, -21.2999992)
  142. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  143. Motor6D7.Parent = Part6
  144. Motor6D7.C0 = CFrame.new(2.5999999, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  145. Motor6D7.C1 = CFrame.new(5.10000038, -2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  146. Motor6D7.Part0 = Part6
  147. Motor6D7.Part1 = Part8
  148. Part8.Name = "Knee"
  149. Part8.Parent = Model1
  150. Part8.Material = Enum.Material.Neon
  151. Part8.BrickColor = BrickColor.new("Really red")
  152. Part8.Rotation = Vector3.new(0, 45, -21.2999992)
  153. Part8.CanCollide = false
  154. Part8.Shape = Enum.PartType.Ball
  155. Part8.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  156. Part8.CFrame = CFrame.new(33.0061378, 5.6449523, 9.71360874, 0.65879637, 0.2568883, 0.707109034, -0.363295883, 0.931675911, 2.88365015e-07, -0.65879631, -0.256890744, 0.707109392)
  157. Part8.BottomSurface = Enum.SurfaceType.Smooth
  158. Part8.TopSurface = Enum.SurfaceType.Smooth
  159. Part8.Color = Color3.new(1, 0, 0)
  160. Part8.Position = Vector3.new(33.0061378, 5.6449523, 9.71360874)
  161. Part8.Orientation = Vector3.new(0, 45, -21.2999992)
  162. Part8.Color = Color3.new(1, 0, 0)
  163. Motor6D9.Name = "Joint"
  164. Motor6D9.Parent = Part8
  165. Motor6D9.C1 = CFrame.new(-2.87059045, 0.0170345306, 0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  166. Motor6D9.Part0 = Part8
  167. Motor6D9.Part1 = Part2
  168. Model10.Name = "RightLowerLeg"
  169. Model10.Parent = Model0
  170. Part11.Name = "Leg"
  171. Part11.Parent = Model10
  172. Part11.Material = Enum.Material.Metal
  173. Part11.BrickColor = BrickColor.new("Really black")
  174. Part11.Rotation = Vector3.new(-180, 45, 68.6999969)
  175. Part11.CanCollide = false
  176. Part11.Size = Vector3.new(6, 1, 1)
  177. Part11.CFrame = CFrame.new(42.8043213, 2.97667575, 10.493145, 0.256888568, -0.658794105, 0.707109451, -0.93167609, -0.363294035, 1.54012838e-07, 0.256888628, -0.658795714, -0.707108974)
  178. Part11.BottomSurface = Enum.SurfaceType.Smooth
  179. Part11.TopSurface = Enum.SurfaceType.Smooth
  180. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  181. Part11.Position = Vector3.new(42.8043213, 2.97667575, 10.493145)
  182. Part11.Orientation = Vector3.new(0, 135, -111.299995)
  183. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  184. Part12.Name = "Base"
  185. Part12.Parent = Model10
  186. Part12.Material = Enum.Material.Neon
  187. Part12.BrickColor = BrickColor.new("Really red")
  188. Part12.Transparency = 1
  189. Part12.Rotation = Vector3.new(-180, 45, 158.699997)
  190. Part12.CanCollide = false
  191. Part12.Shape = Enum.PartType.Ball
  192. Part12.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  193. Part12.CFrame = CFrame.new(38.7617035, 3.82847738, 6.45052004, -0.658794105, -0.256888568, 0.707109451, -0.363294035, 0.93167609, 1.54012838e-07, -0.658795714, -0.256888628, -0.707108974)
  194. Part12.BottomSurface = Enum.SurfaceType.Smooth
  195. Part12.TopSurface = Enum.SurfaceType.Smooth
  196. Part12.Color = Color3.new(1, 0, 0)
  197. Part12.Position = Vector3.new(38.7617035, 3.82847738, 6.45052004)
  198. Part12.Orientation = Vector3.new(0, 135, -21.2999992)
  199. Part12.Color = Color3.new(1, 0, 0)
  200. Motor6D13.Name = "Joint"
  201. Motor6D13.Parent = Part12
  202. Motor6D13.C0 = CFrame.new(-5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  203. Motor6D13.C1 = CFrame.new(-2.49999809, 1.43051147e-06, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  204. Motor6D13.Part0 = Part12
  205. Motor6D13.Part1 = Part15
  206. Motor6D14.Parent = Part12
  207. Motor6D14.C1 = CFrame.new(1.26169586, -0.671518087, 0.450518131, -0.658792913, -0.256887645, 0.707107306, -0.363293976, 0.9316746, 2.46838681e-07, -0.658793926, -0.256887645, -0.707106411)
  208. Motor6D14.Part0 = Part12
  209. Motor6D14.Part1 = Part37
  210. Part15.Name = "Leg"
  211. Part15.Parent = Model10
  212. Part15.Material = Enum.Material.Metal
  213. Part15.BrickColor = BrickColor.new("Really black")
  214. Part15.Rotation = Vector3.new(-180, 45, 158.699997)
  215. Part15.CanCollide = false
  216. Part15.Size = Vector3.new(5, 1, 1)
  217. Part15.CFrame = CFrame.new(40.4086914, 4.73671198, 8.09751129, -0.658794105, -0.256888568, 0.707109451, -0.363294035, 0.93167609, 1.54012838e-07, -0.658795714, -0.256888628, -0.707108974)
  218. Part15.BottomSurface = Enum.SurfaceType.Smooth
  219. Part15.TopSurface = Enum.SurfaceType.Smooth
  220. Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  221. Part15.Position = Vector3.new(40.4086914, 4.73671198, 8.09751129)
  222. Part15.Orientation = Vector3.new(0, 135, -21.2999992)
  223. Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  224. Motor6D16.Parent = Part15
  225. Motor6D16.C0 = CFrame.new(2.5999999, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  226. Motor6D16.C1 = CFrame.new(5.10000038, -2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  227. Motor6D16.Part0 = Part15
  228. Motor6D16.Part1 = Part17
  229. Part17.Name = "Knee"
  230. Part17.Parent = Model10
  231. Part17.Material = Enum.Material.Neon
  232. Part17.BrickColor = BrickColor.new("Really red")
  233. Part17.Rotation = Vector3.new(-180, 45, 158.699997)
  234. Part17.CanCollide = false
  235. Part17.Shape = Enum.PartType.Ball
  236. Part17.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  237. Part17.CFrame = CFrame.new(42.0556755, 5.64494753, 9.74450111, -0.658794105, -0.256888568, 0.707109451, -0.363294035, 0.93167609, 1.54012838e-07, -0.658795714, -0.256888628, -0.707108974)
  238. Part17.BottomSurface = Enum.SurfaceType.Smooth
  239. Part17.TopSurface = Enum.SurfaceType.Smooth
  240. Part17.Color = Color3.new(1, 0, 0)
  241. Part17.Position = Vector3.new(42.0556755, 5.64494753, 9.74450111)
  242. Part17.Orientation = Vector3.new(0, 135, -21.2999992)
  243. Part17.Color = Color3.new(1, 0, 0)
  244. Motor6D18.Name = "Joint"
  245. Motor6D18.Parent = Part17
  246. Motor6D18.C1 = CFrame.new(-2.87059045, 0.0170345306, 0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  247. Motor6D18.Part0 = Part17
  248. Motor6D18.Part1 = Part11
  249. Model19.Name = "RightUpperLeg"
  250. Model19.Parent = Model0
  251. Part20.Name = "Leg"
  252. Part20.Parent = Model19
  253. Part20.Material = Enum.Material.Metal
  254. Part20.BrickColor = BrickColor.new("Really black")
  255. Part20.Rotation = Vector3.new(-180, -45, 68.6999969)
  256. Part20.CanCollide = false
  257. Part20.Size = Vector3.new(6, 1, 1)
  258. Part20.CFrame = CFrame.new(42.8043251, 2.97667956, 1.56864583, 0.256889135, -0.658794999, -0.707108319, -0.931675553, -0.363295496, 1.16880165e-06, -0.256889671, 0.658795893, -0.707108676)
  259. Part20.BottomSurface = Enum.SurfaceType.Smooth
  260. Part20.TopSurface = Enum.SurfaceType.Smooth
  261. Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  262. Part20.Position = Vector3.new(42.8043251, 2.97667956, 1.56864583)
  263. Part20.Orientation = Vector3.new(0, -135, -111.299995)
  264. Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  265. Part21.Name = "Base"
  266. Part21.Parent = Model19
  267. Part21.Material = Enum.Material.Neon
  268. Part21.BrickColor = BrickColor.new("Really red")
  269. Part21.Transparency = 1
  270. Part21.Rotation = Vector3.new(-180, -45, 158.699997)
  271. Part21.CanCollide = false
  272. Part21.Shape = Enum.PartType.Ball
  273. Part21.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  274. Part21.CFrame = CFrame.new(38.7617035, 3.82847285, 5.61127424, -0.658794999, -0.256889135, -0.707108319, -0.363295496, 0.931675553, 1.16880165e-06, 0.658795893, 0.256889671, -0.707108676)
  275. Part21.BottomSurface = Enum.SurfaceType.Smooth
  276. Part21.TopSurface = Enum.SurfaceType.Smooth
  277. Part21.Color = Color3.new(1, 0, 0)
  278. Part21.Position = Vector3.new(38.7617035, 3.82847285, 5.61127424)
  279. Part21.Orientation = Vector3.new(0, -135, -21.2999992)
  280. Part21.Color = Color3.new(1, 0, 0)
  281. Motor6D22.Name = "Joint"
  282. Motor6D22.Parent = Part21
  283. Motor6D22.C0 = CFrame.new(-5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  284. Motor6D22.C1 = CFrame.new(-2.49999809, 1.43051147e-06, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  285. Motor6D22.Part0 = Part21
  286. Motor6D22.Part1 = Part24
  287. Motor6D23.Parent = Part21
  288. Motor6D23.C1 = CFrame.new(1.26169586, -0.671522856, -0.388725281, -0.658793211, -0.256887972, -0.707106888, -0.363295078, 0.931674182, 6.63038577e-07, 0.65879339, 0.256888986, -0.707106709)
  289. Motor6D23.Part0 = Part21
  290. Motor6D23.Part1 = Part37
  291. Part24.Name = "Leg"
  292. Part24.Parent = Model19
  293. Part24.Material = Enum.Material.Metal
  294. Part24.BrickColor = BrickColor.new("Really black")
  295. Part24.Rotation = Vector3.new(-180, -45, 158.699997)
  296. Part24.CanCollide = false
  297. Part24.Size = Vector3.new(5, 1, 1)
  298. Part24.CFrame = CFrame.new(40.4086914, 4.73671103, 3.96428299, -0.658794999, -0.256889135, -0.707108319, -0.363295496, 0.931675553, 1.16880165e-06, 0.658795893, 0.256889671, -0.707108676)
  299. Part24.BottomSurface = Enum.SurfaceType.Smooth
  300. Part24.TopSurface = Enum.SurfaceType.Smooth
  301. Part24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  302. Part24.Position = Vector3.new(40.4086914, 4.73671103, 3.96428299)
  303. Part24.Orientation = Vector3.new(0, -135, -21.2999992)
  304. Part24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  305. Motor6D25.Parent = Part24
  306. Motor6D25.C0 = CFrame.new(2.5999999, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  307. Motor6D25.C1 = CFrame.new(5.10000038, -2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  308. Motor6D25.Part0 = Part24
  309. Motor6D25.Part1 = Part26
  310. Part26.Name = "Knee"
  311. Part26.Parent = Model19
  312. Part26.Material = Enum.Material.Neon
  313. Part26.BrickColor = BrickColor.new("Really red")
  314. Part26.Rotation = Vector3.new(-180, -45, 158.699997)
  315. Part26.CanCollide = false
  316. Part26.Shape = Enum.PartType.Ball
  317. Part26.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  318. Part26.CFrame = CFrame.new(42.0556793, 5.64494991, 2.31729317, -0.658794999, -0.256889135, -0.707108319, -0.363295496, 0.931675553, 1.16880165e-06, 0.658795893, 0.256889671, -0.707108676)
  319. Part26.BottomSurface = Enum.SurfaceType.Smooth
  320. Part26.TopSurface = Enum.SurfaceType.Smooth
  321. Part26.Color = Color3.new(1, 0, 0)
  322. Part26.Position = Vector3.new(42.0556793, 5.64494991, 2.31729317)
  323. Part26.Orientation = Vector3.new(0, -135, -21.2999992)
  324. Part26.Color = Color3.new(1, 0, 0)
  325. Motor6D27.Name = "Joint"
  326. Motor6D27.Parent = Part26
  327. Motor6D27.C1 = CFrame.new(-2.87059045, 0.0170345306, 0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  328. Motor6D27.Part0 = Part26
  329. Motor6D27.Part1 = Part20
  330. Model28.Name = "LeftUpperLeg"
  331. Model28.Parent = Model0
  332. Part29.Name = "Leg"
  333. Part29.Parent = Model28
  334. Part29.Material = Enum.Material.Metal
  335. Part29.BrickColor = BrickColor.new("Really black")
  336. Part29.Rotation = Vector3.new(0, -45, -111.299995)
  337. Part29.CanCollide = false
  338. Part29.Size = Vector3.new(6, 1, 1)
  339. Part29.CFrame = CFrame.new(32.2575073, 2.97668052, 1.53776193, -0.256887734, 0.658793867, -0.70710808, -0.931674898, -0.363295287, -5.81522841e-07, -0.256888896, 0.658794224, 0.707108021)
  340. Part29.BottomSurface = Enum.SurfaceType.Smooth
  341. Part29.TopSurface = Enum.SurfaceType.Smooth
  342. Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  343. Part29.Position = Vector3.new(32.2575073, 2.97668052, 1.53776193)
  344. Part29.Orientation = Vector3.new(0, -45, -111.299995)
  345. Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  346. Part30.Name = "Base"
  347. Part30.Parent = Model28
  348. Part30.Material = Enum.Material.Neon
  349. Part30.BrickColor = BrickColor.new("Really red")
  350. Part30.Transparency = 1
  351. Part30.Rotation = Vector3.new(0, -45, -21.2999992)
  352. Part30.CanCollide = false
  353. Part30.Shape = Enum.PartType.Ball
  354. Part30.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  355. Part30.CFrame = CFrame.new(36.3001213, 3.82847309, 5.58037996, 0.658793867, 0.256887734, -0.70710808, -0.363295287, 0.931674898, -5.81522841e-07, 0.658794224, 0.256888896, 0.707108021)
  356. Part30.BottomSurface = Enum.SurfaceType.Smooth
  357. Part30.TopSurface = Enum.SurfaceType.Smooth
  358. Part30.Color = Color3.new(1, 0, 0)
  359. Part30.Position = Vector3.new(36.3001213, 3.82847309, 5.58037996)
  360. Part30.Orientation = Vector3.new(0, -45, -21.2999992)
  361. Part30.Color = Color3.new(1, 0, 0)
  362. Motor6D31.Name = "Joint"
  363. Motor6D31.Parent = Part30
  364. Motor6D31.C0 = CFrame.new(-5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  365. Motor6D31.C1 = CFrame.new(-2.49999809, 1.43051147e-06, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  366. Motor6D31.Part0 = Part30
  367. Motor6D31.Part1 = Part33
  368. Motor6D32.Parent = Part30
  369. Motor6D32.C1 = CFrame.new(-1.19987869, -0.671523809, -0.419620514, 0.658793986, 0.256887794, -0.707107961, -0.363295197, 0.931674778, -5.81522897e-07, 0.658794165, 0.256888896, 0.707107723)
  370. Motor6D32.Part0 = Part30
  371. Motor6D32.Part1 = Part37
  372. Part33.Name = "Leg"
  373. Part33.Parent = Model28
  374. Part33.Material = Enum.Material.Metal
  375. Part33.BrickColor = BrickColor.new("Really black")
  376. Part33.Rotation = Vector3.new(0, -45, -21.2999992)
  377. Part33.CanCollide = false
  378. Part33.Size = Vector3.new(5, 1, 1)
  379. Part33.CFrame = CFrame.new(34.6531334, 4.73671055, 3.93339276, 0.658793867, 0.256887734, -0.70710808, -0.363295287, 0.931674898, -5.81522841e-07, 0.658794224, 0.256888896, 0.707108021)
  380. Part33.BottomSurface = Enum.SurfaceType.Smooth
  381. Part33.TopSurface = Enum.SurfaceType.Smooth
  382. Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  383. Part33.Position = Vector3.new(34.6531334, 4.73671055, 3.93339276)
  384. Part33.Orientation = Vector3.new(0, -45, -21.2999992)
  385. Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  386. Motor6D34.Parent = Part33
  387. Motor6D34.C0 = CFrame.new(2.5999999, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  388. Motor6D34.C1 = CFrame.new(5.10000038, -2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  389. Motor6D34.Part0 = Part33
  390. Motor6D34.Part1 = Part35
  391. Part35.Name = "Knee"
  392. Part35.Parent = Model28
  393. Part35.Material = Enum.Material.Neon
  394. Part35.BrickColor = BrickColor.new("Really red")
  395. Part35.Rotation = Vector3.new(0, -45, -21.2999992)
  396. Part35.CanCollide = false
  397. Part35.Shape = Enum.PartType.Ball
  398. Part35.Size = Vector3.new(1.10000002, 1.10000002, 1.10000002)
  399. Part35.CFrame = CFrame.new(33.0061493, 5.64494896, 2.28640699, 0.658793867, 0.256887734, -0.70710808, -0.363295287, 0.931674898, -5.81522841e-07, 0.658794224, 0.256888896, 0.707108021)
  400. Part35.BottomSurface = Enum.SurfaceType.Smooth
  401. Part35.TopSurface = Enum.SurfaceType.Smooth
  402. Part35.Color = Color3.new(1, 0, 0)
  403. Part35.Position = Vector3.new(33.0061493, 5.64494896, 2.28640699)
  404. Part35.Orientation = Vector3.new(0, -45, -21.2999992)
  405. Part35.Color = Color3.new(1, 0, 0)
  406. Motor6D36.Name = "Joint"
  407. Motor6D36.Parent = Part35
  408. Motor6D36.C1 = CFrame.new(-2.87059045, 0.0170345306, 0, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  409. Motor6D36.Part0 = Part35
  410. Motor6D36.Part1 = Part29
  411. Part37.Name = "FakeTorso"
  412. Part37.Parent = Model0
  413. Part37.Transparency = 1
  414. Part37.Size = Vector3.new(2, 2, 1)
  415. Part37.CFrame = CFrame.new(37.5000038, 4.49999714, 6.00000095, 1.0000025, -4.23265476e-07, -4.76837158e-07, -4.2326559e-07, 1.00000143, -2.91990006e-07, -4.17232513e-07, -2.77089043e-07, 1.00000322)
  416. Part37.BottomSurface = Enum.SurfaceType.Smooth
  417. Part37.TopSurface = Enum.SurfaceType.Smooth
  418. Part37.Position = Vector3.new(37.5000038, 4.49999714, 6.00000095)
  419. Motor6D38.Name = "Motor"
  420. Motor6D38.Parent = Part37
  421. Motor6D38.Part0 = Part37
  422. for i,v in pairs(mas:GetChildren()) do
  423. v.Parent = workspace
  424. pcall(function() v:MakeJoints() end)
  425. end
  426. mas:Destroy()
  427. for i,v in pairs(cors) do
  428. spawn(function()
  429. pcall(v)
  430. end)
  431. end
  432. return Model0
  433. end
  434.  
  435. local spiderbot = CreateInstance()
  436. spiderbot.Parent = char
  437.  
  438. for i,v in pairs (spiderbot:GetDescendants()) do
  439. if v:IsA("BasePart") then
  440. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0)
  441. end
  442. end
  443.  
  444. for i,v in pairs (char:GetDescendants()) do
  445. if v:IsA("Sound") then
  446. v.Volume = 0
  447. end
  448. end
  449.  
  450. for i,v in pairs (spiderbot:GetDescendants()) do
  451. if v:IsA("BasePart") then
  452. if v.BrickColor == BrickColor.new("Really black") then
  453. v.Color = primary
  454. else
  455. v.Color = secondary
  456. end
  457. end
  458. end
  459.  
  460. function tween(object,style,direction,t,goal)
  461. local tweenservice = game:GetService("TweenService")
  462. local tweenInfo = TweenInfo.new(t,Enum.EasingStyle[style],Enum.EasingDirection[direction])
  463. local tween = tweenservice:Create(object,tweenInfo,goal)
  464. tween:Play()
  465. return tween
  466. end
  467.  
  468. local char = player.Character
  469. torso = char.Torso
  470. head = char.Head
  471. hrp = char.HumanoidRootPart
  472. hum = char.Humanoid
  473. hum.WalkSpeed = 20
  474. s = 0
  475. rstep = game:GetService("RunService").RenderStepped
  476.  
  477. if char:FindFirstChild("Animate") then
  478. char.Animate:Destroy()
  479. end
  480. for i,v in pairs (hum:GetPlayingAnimationTracks()) do
  481. v:Stop()
  482. end
  483.  
  484. local rl = torso['Right Hip']
  485. local ll = torso['Left Hip']
  486. local rs = torso['Right Shoulder']
  487. local ls = torso['Left Shoulder']
  488. local neck = torso.Neck
  489. local rs0 = rs.C0
  490. local ls0 = ls.C0
  491. local rl0 = rl.C0
  492. local ll0 = ll.C0
  493. local n0 = neck.C0
  494.  
  495. function newSound(id,extrasettings)
  496. local soundy = basesound:Clone()
  497. if not soundy then soundy = Instance.new("Sound") end
  498. soundy.Parent = hrp
  499. soundy.Volume = 1
  500. soundy.SoundId = id
  501. if extrasettings then
  502. for i=1,#extrasettings do
  503. local sets = extrasettings[i]:gmatch("[%w%.]+")
  504. local set = {}
  505. for v in (sets) do
  506. table.insert(set,v)
  507. end
  508.  
  509. soundy[set[1]] = set[2]
  510. end
  511. end
  512. soundy.Playing = true
  513. game.Debris:AddItem(soundy,5)
  514. return soundy
  515. end
  516.  
  517. function woosh()
  518. local wooshes = {'rbxassetid://541909867','rbxassetid://541909814'}
  519. return newSound(wooshes[math.random(1,#wooshes)],{
  520. [1] = "PlaybackSpeed, "..tostring(1+math.random(-200,200)/1000);
  521. [2] = "Volume, 1";
  522. [3] = "PlaybackSpeed, 0.9";
  523. })
  524. end
  525.  
  526. function hardhit()
  527. local wooshes = {'rbxassetid://565207203','rbxassetid://541909983','rbxassetid://541909913'}
  528. newSound(wooshes[math.random(1,#wooshes)],{
  529. [1] = "PlaybackSpeed, "..tostring(1+math.random(-100,100)/1000);
  530. [2] = "Volume, 2";
  531. })
  532. end
  533.  
  534. function explosion()
  535. local wooshes = {'rbxassetid://262562442','rbxassetid://919941001','rbxassetid://539294959'}
  536. newSound(wooshes[math.random(1,#wooshes)],{
  537. [1] = "PlaybackSpeed, "..tostring(1+math.random(-100,100)/1000);
  538. [2] = "Volume, 2";
  539. })
  540. end
  541.  
  542. function hit()
  543. local hitsounds = {"rbxassetid://220025741",
  544. "rbxassetid://220025689",
  545. "rbxassetid://220025689"
  546. }
  547. return newSound(hitsounds[math.random(1,#hitsounds)],{
  548. [1] = "PlaybackSpeed, "..tostring(1+math.random(-200,200)/1000);
  549. [2] = "Volume, 0.5";
  550. })
  551. end
  552.  
  553. local csine = 0
  554. rstep:connect(function()
  555. if not flying then
  556. csine = csine + 0.025
  557. local csin = math.sin(csine)
  558. rl.C0 = rl.C0:lerp(rl0 * CFrame.Angles(csin/25 + math.rad(-2),0,0), 0.2)
  559. ll.C0 = ll.C0:lerp(ll0 * CFrame.Angles(csin/25 + math.rad(-2),0,0), 0.2)
  560. rs.C0 = rs.C0:lerp(rs0 * CFrame.Angles(-csin/15 + math.rad(-6),0,0), 0.2)
  561. ls.C0 = ls.C0:lerp(ls0 * CFrame.Angles(-csin/15 + math.rad(-6),0,0), 0.2)
  562. neck.C0 = neck.C0:lerp(n0 * CFrame.Angles(csin/15 + math.rad(15),0,0), 0.2)
  563. else
  564. csine = csine + 0.025
  565. local csin = math.sin(csine)
  566. rl.C0 = rl.C0:lerp(rl0 * CFrame.Angles(csin/25 + math.rad(-2),0,0), 0.2)
  567. ll.C0 = ll.C0:lerp(ll0 * CFrame.Angles(csin/25 + math.rad(-2),0,0), 0.2)
  568. rs.C0 = rs.C0:lerp(rs0 * CFrame.Angles(-csin/10 + math.rad(-90),0,0) * CFrame.new(0,-0.5,-0.5), 0.2)
  569. ls.C0 = ls.C0:lerp(ls0 * CFrame.Angles(-csin/10 + math.rad(-90),0,0) * CFrame.new(0,-0.5,-0.5), 0.2)
  570. neck.C0 = neck.C0:lerp(n0 * CFrame.Angles(csin/15 + math.rad(5),0,0), 0.2)
  571. end
  572. end)
  573.  
  574. hum.HipHeight = 1.25
  575.  
  576. center = spiderbot.FakeTorso
  577. cmotor = center.Motor
  578. cmotor.Part1 = torso
  579.  
  580. LLL = spiderbot.LeftLowerLeg
  581. LUL = spiderbot.LeftUpperLeg
  582. RLL = spiderbot.RightLowerLeg
  583. RUL = spiderbot.RightUpperLeg
  584.  
  585. lll = LLL.Base.Motor6D
  586. lul = LUL.Base.Motor6D
  587. rll = RLL.Base.Motor6D
  588. rul = RUL.Base.Motor6D
  589.  
  590. lll2 = LLL.Knee.Joint
  591. lul2 = LUL.Knee.Joint
  592. rll2 = RLL.Knee.Joint
  593. rul2 = RUL.Knee.Joint
  594.  
  595. olll = lll.C0 * CFrame.new(-0.5,0,-1) * CFrame.new(-0.3,-0.75,0.3)
  596. olul = lul.C0 * CFrame.new(-0.5,0,1) * CFrame.new(-0.3,-0.75,-0.3)
  597. orll = rll.C0 * CFrame.new(-0.5,0,1) * CFrame.new(-0.3,-0.75,-0.3)
  598. orul = rul.C0 * CFrame.new(-0.5,0,-1) * CFrame.new(-0.3,-0.75,0.3)
  599.  
  600. lll2.C0 = lll2.C0
  601. lul2.C0 = lul2.C0
  602. rll2.C0 = rll2.C0
  603. rul2.C0 = rul2.C0
  604.  
  605. olll2 = lll2.C0
  606. olul2 = lul2.C0
  607. orll2 = rll2.C0
  608. orul2 = rul2.C0
  609.  
  610.  
  611. rstep:connect(function()
  612. local v = torso.Velocity
  613. local mag = math.sqrt(v.x^2 + v.z^2) / 15
  614. s = mag * 15
  615. if mag > 0.1 then
  616. pose = "Running"
  617. else
  618. pose = "Idle"
  619. end
  620. end)
  621.  
  622. pose = "Idle"
  623. local lsine = 1
  624. local ksine = -1
  625. local lsine2 = 2.7
  626. local ksine2 = -2.7
  627. hum.JumpPower = 0
  628. movelegs = true
  629. flying = false
  630. bv = Instance.new("BodyVelocity",torso)
  631.  
  632.  
  633. function sparkle(size,amt,pos,dur,thickness)
  634. for i = 1,amt do
  635. if thickness == nil then
  636. thickness = size/9
  637. end
  638. local p = basepart:Clone()
  639. p.Parent = workspace
  640. p.CanCollide = false
  641. p.Shape = "Ball"
  642. p.Anchored = true
  643. p.Material = "Neon"
  644. p.Color = secondary
  645. p.CFrame = CFrame.new(pos) * CFrame.Angles(math.random(-360,360)/360,math.random(-360,360)/360,math.random(-360,360)/360)
  646. p.Size = Vector3.new(1,1,1)
  647. local mesh = Instance.new("SpecialMesh",p)
  648. mesh.MeshType = Enum.MeshType.Sphere
  649. tween(p, "Sine", "Out", dur, {
  650. ["Transparency"] = 1;
  651. ["CFrame"] = p.CFrame * CFrame.Angles(math.random(-360,360)/360,math.random(-360,360)/360,math.random(-360,360)/360)
  652. })
  653. tween(mesh, "Sine", "Out", dur*2, {
  654. ["Scale"] = Vector3.new(thickness,size*10,thickness);
  655. })
  656. game.Debris:AddItem(p,dur)
  657. end
  658. end
  659.  
  660. sparkle(10,55,hrp.Position,3,1)
  661.  
  662. function push(part,vel)
  663. local bv2 = Instance.new("BodyVelocity",part)
  664. bv2.Velocity = (part.Position - torso.Position).unit * 3 * (vel / 30000)
  665. bv2.MaxForce = Vector3.new(vel,vel,vel)
  666. game.Debris:AddItem(bv2,0.25)
  667. end
  668. local t = {}
  669. function t.find(ta,element)
  670. for i = 1,#ta do
  671. if ta[i] == element then
  672. return true
  673. end
  674. end
  675. return false
  676. end
  677. function AOE(magnitude,damage,pos)
  678. coroutine.resume(coroutine.create(function()
  679. if not pos then
  680. pos = hrp.Position
  681. end
  682. local chars = {}
  683. local ex = baseexplosion:Clone()
  684. ex.Position = pos
  685. ex.Parent = workspace
  686. ex.BlastPressure = 0
  687. ex.Visible = false
  688. ex.DestroyJointRadiusPercent = 0
  689. ex.BlastRadius = magnitude
  690. ex.Hit:connect(function(pa)
  691. if pa.Parent:FindFirstChildOfClass("Humanoid") and pa.Parent ~= char and t.find(chars,pa.Parent) == false then
  692. table.insert(chars,pa.Parent)
  693. end
  694. if pa.Parent:FindFirstChildOfClass("Humanoid") and pa.Parent ~= char then
  695. push(pa, damage * 3000)
  696. end
  697. end)
  698.  
  699. local p = basepart:Clone()
  700. p.Parent = workspace
  701. p.Shape = "Ball"
  702. p.Anchored = true
  703. p.CanCollide = false
  704. p.Material = "Neon"
  705. p.Color = secondary
  706. p.CFrame = CFrame.new(pos)
  707. p.Size = Vector3.new(0,0,0)
  708. tween(p, "Sine", "Out", 2, {
  709. ["Size"] = Vector3.new(magnitude*5,magnitude*5,magnitude*5);
  710. })
  711. tween(p, "Sine", "Out", 0.75, {
  712. ["Transparency"] = 1;
  713. })
  714. game.Debris:AddItem(p,0.75)
  715. spawn(function() sparkle(magnitude, 15, p.Position,1) end)
  716. wait()
  717. for i = 1,#chars do
  718. local hrp2 = chars[i]:FindFirstChildOfClass("Part")
  719. if hrp2 then
  720. local hum2 = chars[i]:FindFirstChildOfClass("Humanoid")
  721. if hum2 and hum2 ~= hum then
  722. hum2.Health = hum2.Health - (hum2.MaxHealth / (100 / damage))
  723. if hum2.MaxHealth == math.huge then
  724. chars[i]:BreakJoints()
  725. end
  726. end
  727. end
  728. end
  729. end))
  730. end
  731.  
  732. function AOE2(magnitude,damage,pos)
  733. if not pos then
  734. pos = hrp.Position
  735. end
  736. local chars = {}
  737. local ex = baseexplosion:Clone()
  738. ex.Position = pos
  739. ex.Parent = workspace
  740. ex.BlastPressure = 0
  741. ex.Visible = false
  742. ex.DestroyJointRadiusPercent = 0
  743. ex.BlastRadius = magnitude
  744. ex.Hit:connect(function(pa)
  745. if pa.Parent:FindFirstChildOfClass("Humanoid") and pa.Parent ~= char and t.find(chars,pa.Parent) == false then
  746. table.insert(chars,pa.Parent)
  747. end
  748. if pa.Parent:FindFirstChildOfClass("Humanoid") and pa.Parent ~= char then
  749. push(pa, damage * 3000)
  750. end
  751. end)
  752. wait()
  753. for i = 1,#chars do
  754. if chars[i] ~= char then
  755. local hrp2 = chars[i]:FindFirstChild("HumanoidRootPart")
  756. if hrp2 then
  757. if (hrp2.Position - pos).magnitude < magnitude then
  758. local hum2 = chars[i]:FindFirstChildOfClass("Humanoid")
  759. if hum2 and hum2 ~= hum then
  760. push(hrp2, 10000)
  761. hum2.Health = hum2.Health - (hum2.MaxHealth / (100 / damage))
  762. hit().Volume = 0.3
  763. spawn(function() sparkle((magnitude - (hrp2.Position - pos).magnitude) / 5, 1, hrp2.Position,0.5) end)
  764. end
  765. end
  766. end
  767. end
  768. end
  769. end
  770. rstep:connect(function()
  771. for i,v in pairs (char:GetDescendants()) do
  772. if v:IsA("BasePart") then
  773. v.Anchored = false
  774. end
  775. end
  776. if not flying then
  777. bv.Velocity = Vector3.new(0,0,0)
  778. bv.MaxForce = Vector3.new(0,0,0)
  779. end
  780. local md = hum.MoveDirection
  781. hum.MaxHealth = math.huge
  782. hum.Health = math.huge
  783. hum:SetStateEnabled("Dead",false)
  784. if pose == "Running" and movelegs then
  785. tween(hum,"Sine","Out",0.1,{["HipHeight"] = 1.25})
  786.  
  787. local tim = s / 300
  788. lsine = lsine + s / 20 / 10
  789. ksine = ksine + s / 20 / 10
  790. local lsin = math.sin(lsine)
  791. local ksin = math.sin(ksine)
  792.  
  793. lsine2 = lsine2 + s / 20 / 10
  794. ksine2 = ksine2 + s / 20 / 10
  795. local lsin2 = math.sin(lsine2)
  796. local ksin2 = math.sin(ksine2)
  797. local Ru_Ll = CFrame.Angles(0,lsin/2.5,0)
  798. local Lu_Rl = CFrame.Angles(0,-lsin2/2.5,0)
  799. local e = 4 - s / 25
  800. if e < 1 then e = 1 end
  801. local Ru2_Ll2 = CFrame.Angles(ksin/2,0,-ksin/e)
  802. local Lu2_Rl2 = CFrame.Angles(-ksin2/2,0,-ksin2/e)
  803.  
  804. lll.C0 = lll.C0:lerp(Ru_Ll * olll * CFrame.Angles(0,0,-ksin/5), tim)
  805. rul.C0 = rul.C0:lerp(Ru_Ll * orul * CFrame.Angles(0,0,ksin/5), tim)
  806.  
  807. lul.C0 = lul.C0:lerp(Lu_Rl * olul * CFrame.Angles(0,0,-ksin2/5), tim)
  808. rll.C0 = rll.C0:lerp(Lu_Rl * orll * CFrame.Angles(0,0,ksin2/5), tim)
  809.  
  810. lul2.C0 = lul2.C0:lerp(Ru2_Ll2 * olul2, tim)
  811. rll2.C0 = rll2.C0:lerp(Ru2_Ll2 * orll2, tim)
  812.  
  813. lll2.C0 = lll2.C0:lerp(Lu2_Rl2 * olul2, tim)
  814. rul2.C0 = rul2.C0:lerp(Lu2_Rl2 * orll2, tim)
  815. end
  816. if pose == "Idle" and movelegs then
  817. tween(cmotor,"Sine","Out",0.2,{["C0"] = cm0})
  818. lsine = lsine + 0.1/2
  819. ksine = ksine + 0.1/2
  820. local lsin = math.sin(lsine)
  821. local ksin = math.sin(ksine)
  822.  
  823. lsine2 = lsine2 + 0.1/2
  824. ksine2 = ksine2 + 0.1/2
  825. local lsin2 = math.sin(lsine2)
  826. local ksin2 = math.sin(ksine2)
  827.  
  828. local Ru_Ll = CFrame.Angles(0,0,ksin/10 + math.rad(-5))
  829. local Lu_Rl = CFrame.Angles(0,0,ksin/10 + math.rad(-5))
  830. local Ru2_Ll2 = CFrame.Angles(0,0,-ksin2/5)
  831. local Lu2_Rl2 = CFrame.Angles(0,0,-ksin2/5)
  832.  
  833. tween(hum,"Sine","Out",0.3,{["HipHeight"] = 1.4 - ksin/1.5})
  834.  
  835. lll.C0 = lll.C0:lerp(Ru_Ll * olll, 0.05)
  836. rul.C0 = rul.C0:lerp(Ru_Ll * orul, 0.05)
  837.  
  838. lul.C0 = lul.C0:lerp(Lu_Rl * olul, 0.05)
  839. rll.C0 = rll.C0:lerp(Lu_Rl * orll, 0.05)
  840.  
  841. lul2.C0 = lul2.C0:lerp(Ru2_Ll2 * olul2, 0.05)
  842. rll2.C0 = rll2.C0:lerp(Ru2_Ll2 * orll2, 0.05)
  843.  
  844. lll2.C0 = lll2.C0:lerp(Lu2_Rl2 * olul2, 0.05)
  845. rul2.C0 = rul2.C0:lerp(Lu2_Rl2 * orll2, 0.05)
  846. end
  847. if editws == false then return end
  848. if run == true then
  849. tween(hum,"Sine","Out",0.5,{["WalkSpeed"] = 40})
  850. jp = 100
  851. else
  852. tween(hum,"Sine","Out",0.5,{["WalkSpeed"] = 16})
  853. jp = 65
  854. end
  855. end)
  856.  
  857. jp = 50
  858.  
  859. mouse = player:GetMouse()
  860. UIS = game:GetService("UserInputService")
  861. run = false
  862. attacking = false
  863. sdown = false
  864.  
  865. UIS.InputBegan:connect(function(k,g)
  866. local key = k.KeyCode
  867. if not g then
  868. if key == Enum.KeyCode.Space then
  869. sdown = true
  870. jump()
  871. end
  872. if key == Enum.KeyCode.Q then
  873. stomp()
  874. end
  875. if key == Enum.KeyCode.LeftShift then
  876. run = true
  877. end
  878. if key == Enum.KeyCode.E then
  879. backstomp()
  880. end
  881. if key == Enum.KeyCode.F then
  882. fdown = true
  883. spin()
  884. end
  885. end
  886. end)
  887. UIS.InputEnded:connect(function(k,g)
  888. local key = k.KeyCode
  889. if not g then
  890. if key == Enum.KeyCode.LeftShift then
  891. run = false
  892. end
  893. if key == Enum.KeyCode.Space then
  894. sdown = false
  895. end
  896. if key == Enum.KeyCode.F then
  897. fdown = false
  898. end
  899. end
  900. end)
  901.  
  902. fdown = false
  903.  
  904. function stomp()
  905. if flying or attacking then return end
  906. attacking = true
  907. editws = false
  908. movelegs = false
  909. tween(hum,"Sine","InOut",0.6,{["WalkSpeed"] = 0})
  910.  
  911. woosh()
  912. tween(lll,"Sine","InOut",0.2,{["C0"] = olll * CFrame.Angles(0,0,0)})
  913. tween(lul,"Sine","InOut",0.2,{["C0"] = olul * CFrame.Angles(math.rad(-40),math.rad(-40),math.rad(100)) * CFrame.new(0,-1,-1)})
  914. tween(rll,"Sine","InOut",0.2,{["C0"] = orll * CFrame.Angles(0,0,0)})
  915. tween(rul,"Sine","InOut",0.2,{["C0"] = orul * CFrame.Angles(math.rad(40),math.rad(40),math.rad(100)) * CFrame.new(0,-1,1)})
  916.  
  917. tween(lll2,"Sine","InOut",0.2,{["C0"] = olll2 * CFrame.Angles(0,0,0)})
  918. tween(lul2,"Sine","InOut",0.2,{["C0"] = olul2 * CFrame.Angles(0,0,0)})
  919. tween(rll2,"Sine","InOut",0.2,{["C0"] = orll2 * CFrame.Angles(0,0,0)})
  920. tween(rul2,"Sine","InOut",0.2,{["C0"] = orul2 * CFrame.Angles(0,0,0)})
  921. wait(0.2)
  922. tween(lll,"Sine","In",0.15,{["C0"] = olll * CFrame.Angles(0,0,0)})
  923. tween(lul,"Sine","In",0.15,{["C0"] = olul * CFrame.Angles(math.rad(-20),math.rad(40),0)})
  924. tween(rll,"Sine","In",0.15,{["C0"] = orll * CFrame.Angles(0,0,0)})
  925. tween(rul,"Sine","In",0.15,{["C0"] = orul * CFrame.Angles(math.rad(20),math.rad(-40),0)})
  926.  
  927. tween(lll2,"Sine","InOut",0.15,{["C0"] = olll2 * CFrame.Angles(0,0,0)})
  928. tween(lul2,"Sine","InOut",0.15,{["C0"] = olul2 * CFrame.Angles(0,0,0)})
  929. tween(rll2,"Sine","InOut",0.15,{["C0"] = orll2 * CFrame.Angles(0,0,0)})
  930. tween(rul2,"Sine","InOut",0.15,{["C0"] = orul2 * CFrame.Angles(0,0,0)})
  931. spawn(function()
  932. wait(0.08)
  933. hardhit()
  934. AOE(5, 20, (hrp.CFrame * CFrame.new(0,-3,-5)).p)
  935. end)
  936. wait(0.08)
  937. movelegs = true
  938. attacking = false
  939. editws = true
  940. end
  941.  
  942. function backstomp()
  943. if flying or attacking then return end
  944. attacking = true
  945. editws = false
  946. movelegs = false
  947. tween(hum,"Sine","InOut",0.6,{["WalkSpeed"] = 0})
  948.  
  949. woosh()
  950. tween(lll,"Sine","InOut",0.2,{["C0"] = olll * CFrame.Angles(math.rad(40),0,math.rad(70))})
  951. tween(lul,"Sine","InOut",0.2,{["C0"] = olul})
  952. tween(rll,"Sine","InOut",0.2,{["C0"] = orll * CFrame.Angles(math.rad(-40),0,math.rad(70))})
  953. tween(rul,"Sine","InOut",0.2,{["C0"] = orul})
  954.  
  955. tween(lll2,"Sine","InOut",0.2,{["C0"] = olll2 * CFrame.Angles(0,0,0)})
  956. tween(lul2,"Sine","InOut",0.2,{["C0"] = olul2 * CFrame.Angles(0,0,0)})
  957. tween(rll2,"Sine","InOut",0.2,{["C0"] = orll2 * CFrame.Angles(0,0,0)})
  958. tween(rul2,"Sine","InOut",0.2,{["C0"] = orul2 * CFrame.Angles(0,0,0)})
  959. wait(0.2)
  960. tween(lll,"Sine","InOut",0.15,{["C0"] = olll * CFrame.Angles(math.rad(10),math.rad(-40),math.rad(-30))})
  961. tween(lul,"Sine","InOut",0.15,{["C0"] = olul})
  962. tween(rll,"Sine","InOut",0.15,{["C0"] = orll * CFrame.Angles(math.rad(-10),math.rad(40),math.rad(-30))})
  963. tween(rul,"Sine","InOut",0.15,{["C0"] = orul})
  964.  
  965. tween(lll2,"Sine","InOut",0.15,{["C0"] = olll2 * CFrame.Angles(0,0,0)})
  966. tween(lul2,"Sine","InOut",0.15,{["C0"] = olul2 * CFrame.Angles(0,0,0)})
  967. tween(rll2,"Sine","InOut",0.15,{["C0"] = orll2 * CFrame.Angles(0,0,0)})
  968. tween(rul2,"Sine","InOut",0.15,{["C0"] = orul2 * CFrame.Angles(0,0,0)})
  969. spawn(function()
  970. wait(0.08)
  971. hardhit()
  972. AOE(5, 20, (hrp.CFrame * CFrame.new(0,-3,5)).p)
  973. end)
  974. wait(0.08)
  975. movelegs = true
  976. attacking = false
  977. editws = true
  978. end
  979.  
  980. jdeb = true
  981. function jump()
  982. if jdeb == false then return end
  983. --if hum.FloorMaterial == Enum.Material.Air then return end
  984. jdeb = false
  985. local issprint = false
  986. if jp == 100 then issprint = true end
  987. movelegs = false
  988. editws = false
  989. tween(hum,"Sine","Out",2,{["WalkSpeed"] = 0})
  990. woosh().Volume = 0.1
  991. tween(lll,"Sine","InOut",0.5,{["C0"] = olll * CFrame.Angles(0,0,math.rad(50))})
  992. tween(lul,"Sine","InOut",0.5,{["C0"] = olul * CFrame.Angles(0,0,math.rad(50))})
  993. tween(rll,"Sine","InOut",0.5,{["C0"] = orll * CFrame.Angles(0,0,math.rad(50))})
  994. tween(rul,"Sine","InOut",0.5,{["C0"] = orul * CFrame.Angles(0,0,math.rad(50))})
  995.  
  996. tween(lll2,"Sine","InOut",0.5,{["C0"] = olll2 * CFrame.Angles(0,0,math.rad(70))})
  997. tween(lul2,"Sine","InOut",0.5,{["C0"] = olul2 * CFrame.Angles(0,0,math.rad(70))})
  998. tween(rll2,"Sine","InOut",0.5,{["C0"] = orll2 * CFrame.Angles(0,0,math.rad(70))})
  999. tween(rul2,"Sine","InOut",0.5,{["C0"] = orul2 * CFrame.Angles(0,0,math.rad(70))})
  1000. tween(hum,"Sine","Out",0.5,{["HipHeight"] = 0})
  1001. wait(0.2)
  1002. local power = jp
  1003. repeat rstep:Wait(0) tween(hum,"Sine","Out",0.5,{["HipHeight"] = 0}) power = power + 1 tween(hum,"Sine","Out",0.5,{["WalkSpeed"] = 0}) editws = false movelegs = false until not sdown
  1004. spawn(function()
  1005. jdeb = true
  1006. if power > 200 then power = 200 end
  1007. if power > 150 then hardhit() hardhit() woosh() woosh() sparkle(5,30,(torso.CFrame * CFrame.new(0,-2,0)).p, 1.5) end
  1008. bv.Velocity = Vector3.new(0,power,0)
  1009. bv.MaxForce = Vector3.new(0,4000000,0)
  1010. end)
  1011. tween(hum,"Sine","Out",0.1,{["HipHeight"] = 1.25})
  1012. woosh()
  1013. tween(lll,"Sine","Out",0.25,{["C0"] = olll * CFrame.Angles(0,0,-math.rad(50))})
  1014. tween(lul,"Sine","Out",0.25,{["C0"] = olul * CFrame.Angles(0,0,-math.rad(50))})
  1015. tween(rll,"Sine","Out",0.25,{["C0"] = orll * CFrame.Angles(0,0,-math.rad(50))})
  1016. tween(rul,"Sine","Out",0.25,{["C0"] = orul * CFrame.Angles(0,0,-math.rad(50))})
  1017.  
  1018. tween(lll2,"Sine","InOut",0.25,{["C0"] = olll2 * CFrame.Angles(0,0,-math.rad(30))})
  1019. tween(lul2,"Sine","InOut",0.25,{["C0"] = olul2 * CFrame.Angles(0,0,-math.rad(30))})
  1020. tween(rll2,"Sine","InOut",0.25,{["C0"] = orll2 * CFrame.Angles(0,0,-math.rad(30))})
  1021. tween(rul2,"Sine","InOut",0.25,{["C0"] = orul2 * CFrame.Angles(0,0,-math.rad(30))})
  1022. tween(hum,"Sine","Out",0.2,{["WalkSpeed"] = 25})
  1023. wait(0.15)
  1024. movelegs = true
  1025. spawn(function()
  1026. repeat rstep:Wait(0) tween(hum,"Sine","Out",3,{["WalkSpeed"] = 100}) until hum.FloorMaterial ~= Enum.Material.Air
  1027. if power > 150 and issprint then AOE(15,99,hrp.Position - Vector3.new(0,2,0)) explosion() explosion() hardhit() sparkle(15,45,torso.Position - Vector3.new(0,5,0), 1, 10) end
  1028. editws = true
  1029. end)
  1030. end
  1031. cm0 = cmotor.C0
  1032.  
  1033. function unravel()
  1034. tween(lll,"Sine","Out",0.1,{["C0"] = CFrame.new(-1,-0.5,-0.5) * CFrame.Angles(0,0,-0.3)})
  1035. tween(lul,"Sine","Out",0.1,{["C0"] = CFrame.new(-1,-0.5,0.5) * CFrame.Angles(0,0,-0.3)})
  1036. tween(rll,"Sine","Out",0.1,{["C0"] = CFrame.new(-1,-0.5,0.5) * CFrame.Angles(0,0,-0.3)})
  1037. tween(rul,"Sine","Out",0.1,{["C0"] = CFrame.new(-1,-0.5,-0.5) * CFrame.Angles(0,0,-0.3)})
  1038.  
  1039. tween(lll2,"Sine","Out",0.1,{["C0"] = olll2 * CFrame.Angles(0,0,math.rad(-90))})
  1040. tween(lul2,"Sine","Out",0.1,{["C0"] = olul2 * CFrame.Angles(0,0,math.rad(-90))})
  1041. tween(rll2,"Sine","Out",0.1,{["C0"] = orll2 * CFrame.Angles(0,0,math.rad(-90))})
  1042. tween(rul2,"Sine","Out",0.1,{["C0"] = orul2 * CFrame.Angles(0,0,math.rad(-90))})
  1043. end
  1044.  
  1045. function spin()
  1046. if attacking then return end
  1047. flying = true
  1048. attacking = true
  1049. --editws = false
  1050. movelegs = false
  1051. tween(hum,"Sine","InOut",0.2,{["WalkSpeed"] = 0})
  1052. repeat
  1053. movelegs = false
  1054. unravel()
  1055. if fdown == false then flying = false end
  1056. hum.HipHeight = 1 + math.sin(csine)/2
  1057. rstep:Wait(0)
  1058. rstep:Wait(0)
  1059. rstep:Wait(0)
  1060. bv.MaxForce = Vector3.new(0,2000,0)
  1061. bv.Velocity = Vector3.new(0,50,0)
  1062. local t = tween(cmotor, "Sine","Out",0.15,{
  1063. ["C0"] = cmotor.C0 * CFrame.Angles(0,2,0)
  1064. })
  1065. local sfx = woosh()
  1066. sfx.Volume = 0.02
  1067. sfx.PlaybackSpeed = sfx.PlaybackSpeed - 0.2
  1068. spawn(function()
  1069. AOE2(15, 3, (hrp.CFrame).p)
  1070. end)
  1071. until
  1072. fdown == false
  1073. bv.MaxForce = Vector3.new(0,0,0)
  1074. tween(cmotor, "Sine","Out",0.5,{
  1075. ["C0"] = cm0
  1076. })
  1077.  
  1078. movelegs = true
  1079. attacking = false
  1080. flying = false
  1081. --editws = true
  1082. end
  1083.  
  1084.  
  1085.  
  1086.  
  1087. function base()
  1088. if flying or attacking then return end
  1089. attacking = true
  1090. editws = false
  1091. movelegs = false
  1092. tween(hum,"Sine","InOut",0.2,{["WalkSpeed"] = 0})
  1093.  
  1094. woosh()
  1095. tween(lll,"Sine","InOut",0.2,{["C0"] = olll * CFrame.Angles(0,0,0)})
  1096. tween(lul,"Sine","InOut",0.2,{["C0"] = olul})
  1097. tween(rll,"Sine","InOut",0.2,{["C0"] = orll * CFrame.Angles(0,0,0)})
  1098. tween(rul,"Sine","InOut",0.2,{["C0"] = orul})
  1099.  
  1100. tween(lll2,"Sine","InOut",0.2,{["C0"] = olll2 * CFrame.Angles(0,0,0)})
  1101. tween(lul2,"Sine","InOut",0.2,{["C0"] = olul2 * CFrame.Angles(0,0,0)})
  1102. tween(rll2,"Sine","InOut",0.2,{["C0"] = orll2 * CFrame.Angles(0,0,0)})
  1103. tween(rul2,"Sine","InOut",0.2,{["C0"] = orul2 * CFrame.Angles(0,0,0)})
  1104. wait(0.2)
  1105.  
  1106. spawn(function()
  1107. wait(0.08)
  1108. hardhit()
  1109. AOE2(5, 20, (hrp.CFrame * CFrame.new(0,-3,5)).p)
  1110. end)
  1111. wait(0.15)
  1112. movelegs = true
  1113. attacking = false
  1114. editws = true
  1115. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement