Advertisement
megaluxe

terra

Aug 18th, 2018
1,390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 108.17 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};
  2. do
  3. script.Parent = InternalData.RealOwner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
  5. local function createObject (connections, index)
  6. local proxy = newproxy (true);local meta = getmetatable (proxy);
  7. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  8. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  9. meta.__index = function (self, i)
  10. if (i == 'TriggerEvent') then return runbind end;
  11. return connections[i] and connections[i].Event or index[i];
  12. end;
  13. meta.__newindex = index;meta.__metatable = false;return proxy
  14. end;
  15. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  16. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  17. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  18. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  19. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  20. Event.OnServerEvent:Connect(function(FiredBy,Input)
  21. if FiredBy ~= InternalData.RealOwner then return end
  22. if Input.MouseEvent then
  23. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  24. Mouse:TriggerEvent("Move")
  25. elseif Input.Sound then
  26. if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
  27. else
  28. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  29. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  30. if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") end
  31. for _,Action in pairs(ContextActionService.Actions) do
  32. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  33. end
  34. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  35. end
  36. end)
  37. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  38. Event.Parent = NLS([[
  39. local Player = owner;
  40. local Sounds = {};
  41. local Event = script:WaitForChild("UserInput");
  42. local UserInputService = game:GetService("UserInputService");
  43. local Mouse = Player:GetMouse();
  44. local Input = function(Input,gameProcessedEvent)
  45. if gameProcessedEvent then return end
  46. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  47. end
  48. Event.OnClientEvent:connect(function(Args)
  49. if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
  50. end)
  51. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  52. local Hit,Target
  53. while wait(1/30) do
  54. for x,Sound in pairs(Sounds) do
  55. if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
  56. end
  57. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  58. Hit = Mouse.Hit;Target = Mouse.Target;
  59. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  60. end
  61. end
  62. ]],InternalData.RealOwner.Character)
  63. end
  64. InternalData.NewOwner = setmetatable({},{
  65. __index = function (self,Index)
  66. local Type = type(InternalData.RealOwner[Index])
  67. if Type == "function" then
  68. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  69. return function (self)return InternalData["Mouse"] end
  70. end
  71. return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
  72. elseif Index == "FakePlayer" then
  73. return true
  74. end
  75. return InternalData.RealOwner[Index]
  76. end;
  77. __tostring = function(self) return tostring(InternalData.RealOwner) end
  78. })
  79. InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
  80. if Library == "RbxUtility" then
  81. return setmetatable({},{
  82. __tostring = function() return "RbxUtility" end;
  83. __index = function(self, Index)
  84. if Index:lower() == "create" then
  85. return function(Type)
  86. return function(Data)
  87. Data = Data or {}
  88. local Inst = Instance.new(Type)
  89. for x,y in pairs(Data) do
  90. if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
  91. if y == owner then y = InternalData.RealOwner end
  92. Inst[x] = y
  93. end
  94. return Inst
  95. end
  96. end
  97. end
  98. return InternalData.LoadLibrary(Library)[Index]
  99. end
  100. })
  101. end
  102. return InternalData.LoadLibrary(Library)
  103. end
  104. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  105. __index = function (self,Index)
  106. if Index:lower() == 'new' then
  107. return function (Type, Parent)
  108. if Parent == owner then Parent = InternalData.RealOwner end
  109. if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
  110. local Real = InternalData.RealInstance.new(Type,Parent)
  111. if not Type then return end
  112. if Type == "BillboardGui" then
  113. local ToReturn = setmetatable({},{
  114. __index = function (self,Index)
  115. if type(Real[Index]) == "function" then
  116. if Index:lower() == "clone" then
  117. return function (self)
  118. local Real = Real:Clone()
  119. local ToReturn = setmetatable({RealObject = Real},{
  120. __index = function (self,Index)
  121. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  122. return Real[Index]
  123. end;
  124. __newindex = function (self,Index,Value)
  125. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  126. if Value == owner then Value = InternalData.RealOwner end
  127. Real[Index] = Value
  128. end;
  129. __tostring = function(self) return tostring(Real) end;
  130. })
  131. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  132. end
  133. end
  134. return function (self,...) return Real[Index](Real,...)end
  135. end
  136. return Real[Index]
  137. end;
  138. __newindex = function (self,Index,Value)
  139. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  140. if Value == owner then Value = InternalData.RealOwner end
  141. Real[Index] = Value
  142. end;
  143. __tostring = function(self) return tostring(Real) end;
  144. })
  145. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  146. elseif Type:lower() == "sound" then
  147. Real.Parent = owner.Character;
  148. local ToReturn = setmetatable({RealObject = Real},{
  149. __index = function (self,Index)
  150. if Index:lower() == "playbackloudness" then
  151. return InternalData.SoundLoudness[Real] or 0
  152. elseif type(Real[Index]) == "function" then
  153. if Index:lower() == "clone" then
  154. return function (self)
  155. local Real = Real:Clone()
  156. local ToReturn = setmetatable({},{
  157. __index = function (self,Index)
  158. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  159. return Real[Index]
  160. end;
  161. __newindex = function (self,Index,Value)
  162. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  163. if Value == owner then Value = InternalData.RealOwner end
  164. Real[Index] = Value
  165. end;
  166. __tostring = function(self) return tostring(Real) end;
  167. })
  168. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  169. end
  170. end
  171. return function (self,...) return Real[Index](Real,...)end
  172. end
  173. return Real[Index]
  174. end;
  175. __newindex = function (self,Index,Value)
  176. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  177. if Value == owner then Value = InternalData.RealOwner end
  178. Real[Index] = Value
  179. end;
  180. __tostring = function(self) return tostring(Real) end;
  181. })
  182. InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
  183. else
  184. local ToReturn = setmetatable({RealObject = Real},{
  185. __index = function (self,Index)
  186. if type(Real[Index]) == "function" then
  187. if Index:lower() == "clone" then
  188. return function (self)
  189. local Real = Real:Clone()
  190. local ToReturn = setmetatable({},{
  191. __index = function (self,Index)
  192. if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
  193. return Real[Index]
  194. end;
  195. __newindex = function (self,Index,Value)
  196. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  197. if Value == owner then Value = InternalData.RealOwner end
  198. Real[Index] = Value
  199. end;
  200. __tostring = function(self) return tostring(Real) end;
  201. })
  202. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  203. end
  204. end
  205. return function (self,...) return Real[Index](Real,...)end
  206. end
  207. return Real[Index]
  208. end;
  209. __newindex = function (self,Index,Value)
  210. if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
  211. if Value == owner then Value = InternalData.RealOwner end
  212. Real[Index] = Value
  213. end;
  214. __tostring = function(self) return tostring(Real) end;
  215. })
  216. InternalData.RealObjs[ToReturn] = Real;return ToReturn;
  217. end
  218. end
  219. end
  220. return InternalData.RealInstance[Index]
  221. end;
  222. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  223. });
  224. InternalData.RealGame = game;game = setmetatable({},{
  225. __index = function (self,Index)
  226. if InternalData.RealGame[Index] then
  227. local Type = type(InternalData.RealGame[Index])
  228. if Type == "function" then
  229. if Index:lower() == "getservice" or Index:lower() == "service" then
  230. return function (self,Service)
  231. local FakeServices = {
  232. ["players"] = function()
  233. return setmetatable({},{
  234. __index = function (self2,Index2)
  235. local RealService = InternalData.RealGame:GetService(Service)
  236. local Type2 = type(RealService[Index2])
  237. if Type2 == "function" then
  238. return function (self,...) return RealService[Index2](RealService,...)end
  239. else
  240. if Index2:lower() == "localplayer" then return InternalData.NewOwner end
  241. return RealService[Index2]
  242. end
  243. end;
  244. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  245. })
  246. end;
  247. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  248. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  249. ["debris"] = function()
  250. return setmetatable({},{
  251. __index = function(self2,Index2)
  252. local RealService = InternalData.RealGame:GetService(Service)
  253. local Type2 = type(RealService[Index2])
  254. if Type2 == "function" then
  255. if Index2:lower() == "additem" then
  256. return function (self,Item,Time)
  257. if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
  258. return RealService:AddItem(Item,Time)
  259. end
  260. end
  261. return function (self,...) return RealService[Index2](RealService,...) end
  262. end
  263. return RealService[Index2]
  264. end;
  265. __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
  266. })
  267. end;
  268. ["runservice"] = function()
  269. return setmetatable({},{
  270. __index = function(self2,Index2)
  271. local RealService = InternalData.RealGame:GetService(Service)
  272. local Type2 = type(RealService[Index2])
  273. if Type2 == "function" then
  274. return function (self,...) return RealService[Index2](RealService,...) end
  275. else
  276. local RunServices = {
  277. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  278. ["renderstepped"] = function() return RealService["Stepped"] end
  279. }
  280. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  281. return RealService[Index2]
  282. end
  283. end;
  284. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  285. })
  286. end
  287. }
  288. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  289. return InternalData.RealGame:GetService(Service)
  290. end
  291. end
  292. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  293. else
  294. if game:GetService(Index) then return game:GetService(Index) end
  295. return InternalData.RealGame[Index]
  296. end
  297. end
  298. return nil
  299. end;
  300. __tostring = function(self) return tostring(InternalData.game) end
  301. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  302.  
  303. --//Paste script below this line.
  304. --//====================================================\\--
  305. --|| CREATED BY SHACKLUSTER
  306. --\\====================================================//--
  307. Player = game.Players.LocalPlayer
  308. Character = Player.Character
  309. local txt = Instance.new("BillboardGui", Character)
  310. txt.Adornee = Character.Head
  311. txt.Name = "_status"
  312. txt.Size = UDim2.new(2, 0, 1.2, 0)
  313. txt.StudsOffset = Vector3.new(-9, 8, 0)
  314. local text = Instance.new("TextLabel", txt)
  315. text.Size = UDim2.new(10, 0, 7, 0)
  316. text.FontSize = "Size24"
  317. text.TextScaled = true
  318. text.TextTransparency = 0
  319. text.BackgroundTransparency = 10
  320. text.TextTransparency = 0
  321. text.TextStrokeTransparency = 0
  322. text.Font = "Antique"
  323. text.TextStrokeColor3 = Color3.new(0,0,0)
  324. text.Text = "Terra God"
  325.  
  326.  
  327. local createstuff = function()
  328. local stuff = Instance.new("Model")
  329. local collar = Instance.new("Part")
  330. local mesh = Instance.new("FileMesh")
  331. local part = Instance.new("Part")
  332. local mesh_2 = Instance.new("CylinderMesh")
  333. local weld = Instance.new("ManualWeld")
  334. local eye = Instance.new("Part")
  335. local mesh_3 = Instance.new("SpecialMesh")
  336. local decal = Instance.new("Decal")
  337. local hood = Instance.new("Part")
  338. local mesh_4 = Instance.new("FileMesh")
  339. local pillar = Instance.new("Part")
  340. local rock = Instance.new("Part")
  341. local core = Instance.new("Attachment")
  342. local emit = Instance.new("ParticleEmitter")
  343. local mesh_5 = Instance.new("FileMesh")
  344. local rockspike = Instance.new("Part")
  345. local mesh_6 = Instance.new("SpecialMesh")
  346. local shield = Instance.new("Part")
  347. local core_2 = Instance.new("Attachment")
  348. local spinepart = Instance.new("Part")
  349. local mesh_7 = Instance.new("FileMesh")
  350. local pants = Instance.new("Pants")
  351. local shirt = Instance.new("Shirt")
  352. local emit_2 = Instance.new("ParticleEmitter")
  353. local vortex = Instance.new("ParticleEmitter")
  354. local wave = Instance.new("ParticleEmitter")
  355.  
  356. stuff.Name = "Stuff"
  357. stuff.Parent = workspace
  358. collar.Size = Vector3.new(2.06, 0.2, 2.06)
  359. collar.Name = "Collar"
  360. collar.Material = Enum.Material.Metal
  361. collar.TopSurface = Enum.SurfaceType.Smooth
  362. collar.BottomSurface = Enum.SurfaceType.Smooth
  363. collar.Parent = stuff
  364. collar.CFrame = CFrame.new(5.8, 46.2, -39.9)
  365. mesh.MeshId = "rbxassetid://1861264141"
  366. mesh.Parent = collar
  367. part.Size = Vector3.new(1.3, 0.2, 1.3)
  368. part.BrickColor = BrickColor.new("Really black")
  369. part.Color = Color3.new(0.109804, 0.0823529, 0.117647)
  370. part.Material = Enum.Material.Metal
  371. part.TopSurface = Enum.SurfaceType.Smooth
  372. part.BottomSurface = Enum.SurfaceType.Smooth
  373. part.Parent = collar
  374. part.CFrame = CFrame.new(5.8, 46.2, -39.9)
  375. mesh_2.Scale = Vector3.new(1.1, 1.1, 1.1)
  376. mesh_2.Parent = part
  377. weld.Part0 = collar
  378. weld.Name = "Weld"
  379. weld.Part1 = part
  380. weld.Parent = collar
  381. eye.Anchored = true
  382. eye.Size = Vector3.new(2, 2, 2)
  383. eye.BottomSurface = Enum.SurfaceType.Smooth
  384. eye.Material = Enum.Material.SmoothPlastic
  385. eye.Color = Color3.new(0.972549, 0.972549, 0.972549)
  386. eye.Name = "Eye"
  387. eye.TopSurface = Enum.SurfaceType.Smooth
  388. eye.BrickColor = BrickColor.new("Institutional white")
  389. eye.Parent = stuff
  390. eye.CFrame = CFrame.new(9.8, 45.845, -47.125) * CFrame.Angles(0, 0, 0)
  391. mesh_3.MeshType = Enum.MeshType.Sphere
  392. mesh_3.Parent = eye
  393. decal.Texture = "http://www.roblox.com/asset/?id=743271416"
  394. decal.Parent = eye
  395. hood.Size = Vector3.new(2.919, 2.394, 2.891)
  396. hood.BottomSurface = Enum.SurfaceType.Smooth
  397. hood.Material = Enum.Material.SmoothPlastic
  398. hood.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  399. hood.BrickColor = BrickColor.new("Really black")
  400. hood.TopSurface = Enum.SurfaceType.Smooth
  401. hood.Name = "Hood"
  402. hood.Parent = stuff
  403. hood.CFrame = CFrame.new(9.8, 44.1, -48.7)
  404. mesh_4.Scale = Vector3.new(1.55, 1.44, 1.4)
  405. mesh_4.MeshId = "rbxassetid://16952952"
  406. mesh_4.Parent = hood
  407. pillar.Size = Vector3.new(1, 1, 1)
  408. pillar.Name = "Pillar"
  409. pillar.Material = Enum.Material.Metal
  410. pillar.TopSurface = Enum.SurfaceType.Smooth
  411. pillar.BottomSurface = Enum.SurfaceType.Smooth
  412. pillar.Parent = stuff
  413. pillar.CFrame = CFrame.new(-26.77, 0.5, -37.02)
  414. rock.Size = Vector3.new(2.03, 1.978, 2.057)
  415. rock.BottomSurface = Enum.SurfaceType.Smooth
  416. rock.Name = "Rock"
  417. rock.TopSurface = Enum.SurfaceType.Smooth
  418. rock.Parent = stuff
  419. rock.CFrame = CFrame.new(-0.43, 45.908, -52.56)
  420. core.Name = "Core"
  421. core.Parent = rock
  422. emit.Enabled = false
  423. emit.Lifetime = NumberRange.new(1, 4)
  424. emit.Name = "Emit"
  425. emit.Speed = NumberRange.new(0, 35)
  426. emit.Rotation = NumberRange.new(0, 360)
  427. emit.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.037, 0.754), NumberSequenceKeypoint.new(0.067, 0), NumberSequenceKeypoint.new(1, 0)})
  428. emit.VelocitySpread = 360
  429. emit.Texture = "rbxassetid://281633012"
  430. emit.Acceleration = Vector3.new(0, -15, 0)
  431. emit.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118), Color3.new(0.423529, 0.345098, 0.294118))
  432. emit.RotSpeed = NumberRange.new(-25, 25)
  433. emit.SpreadAngle = Vector2.new(360, 360)
  434. emit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(0.255, 3.06), NumberSequenceKeypoint.new(0.649, 2.131), NumberSequenceKeypoint.new(1, 0)})
  435. emit.Parent = core
  436. mesh_5.MeshId = "rbxassetid://1861108040"
  437. mesh_5.Parent = rock
  438. rockspike.Anchored = true
  439. rockspike.Size = Vector3.new(3.364, 20, 3.364)
  440. rockspike.BottomSurface = Enum.SurfaceType.Smooth
  441. rockspike.Material = Enum.Material.Grass
  442. rockspike.Color = Color3.new(0.423529, 0.345098, 0.294118)
  443. rockspike.Name = "RockSpike"
  444. rockspike.TopSurface = Enum.SurfaceType.Smooth
  445. rockspike.BrickColor = BrickColor.new("Pine Cone")
  446. rockspike.Parent = stuff
  447. rockspike.CFrame = CFrame.new(-0.43, 46.208, -29.96)
  448. mesh_6.TextureId = "rbxassetid://136560096"
  449. mesh_6.MeshType = Enum.MeshType.FileMesh
  450. mesh_6.MeshId = "rbxassetid://1861231635"
  451. mesh_6.Parent = rockspike
  452. shield.Size = Vector3.new(1, 1, 1)
  453. shield.Name = "Shield"
  454. shield.Material = Enum.Material.Metal
  455. shield.TopSurface = Enum.SurfaceType.Smooth
  456. shield.BottomSurface = Enum.SurfaceType.Smooth
  457. shield.Parent = stuff
  458. shield.CFrame = CFrame.new(-26.77, 0.5, -37.02)
  459. core_2.Name = "Core"
  460. core_2.Parent = shield
  461. spinepart.CanCollide = false
  462. spinepart.Size = Vector3.new(0.3, 0.3, 0.6)
  463. spinepart.BrickColor = BrickColor.new("Institutional white")
  464. spinepart.BottomSurface = Enum.SurfaceType.Smooth
  465. spinepart.Color = Color3.new(0.972549, 0.972549, 0.972549)
  466. spinepart.Name = "SpinePart"
  467. spinepart.TopSurface = Enum.SurfaceType.Smooth
  468. spinepart.Parent = stuff
  469. spinepart.CFrame = CFrame.new(-24.33, 46.208, -52.56)
  470. mesh_7.MeshId = "rbxassetid://1861166416"
  471. mesh_7.Parent = spinepart
  472. pants.Name = "Pants"
  473. pants.PantsTemplate = "http://www.roblox.com/asset/?id=1614573917"
  474. pants.Parent = stuff
  475. shirt.Name = "Shirt"
  476. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1604092628"
  477. shirt.Parent = stuff
  478. emit_2.Enabled = false
  479. emit_2.Lifetime = NumberRange.new(1, 4)
  480. emit_2.Name = "Emit"
  481. emit_2.Speed = NumberRange.new(0, 35)
  482. emit_2.Rotation = NumberRange.new(0, 360)
  483. emit_2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.037, 0.754), NumberSequenceKeypoint.new(0.067, 0), NumberSequenceKeypoint.new(1, 0)})
  484. emit_2.VelocitySpread = 360
  485. emit_2.Texture = "rbxassetid://281633012"
  486. emit_2.Acceleration = Vector3.new(0, -15, 0)
  487. emit_2.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118), Color3.new(0.423529, 0.345098, 0.294118))
  488. emit_2.RotSpeed = NumberRange.new(-25, 25)
  489. emit_2.SpreadAngle = Vector2.new(360, 360)
  490. emit_2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1, 0.5), NumberSequenceKeypoint.new(1, 0)})
  491. emit_2.Parent = stuff
  492. vortex.Enabled = false
  493. vortex.Name = "Vortex"
  494. vortex.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.3, 0.5), NumberSequenceKeypoint.new(1, 0.5)})
  495. vortex.Lifetime = NumberRange.new(1)
  496. vortex.Rate = 0
  497. vortex.Speed = NumberRange.new(0)
  498. vortex.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118), Color3.new(0.423529, 0.345098, 0.294118))
  499. vortex.Rotation = NumberRange.new(0, 360)
  500. vortex.ZOffset = -2
  501. vortex.RotSpeed = NumberRange.new(360)
  502. vortex.LightEmission = 1
  503. vortex.Texture = "rbxassetid://1084969997"
  504. vortex.LockedToPart = true
  505. vortex.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 0)})
  506. vortex.Parent = stuff
  507. wave.Enabled = false
  508. wave.Lifetime = NumberRange.new(0.3)
  509. wave.Name = "Wave"
  510. wave.Speed = NumberRange.new(0)
  511. wave.LightEmission = 1
  512. wave.Rate = 1
  513. wave.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.17, 0.393), NumberSequenceKeypoint.new(0.334, 0.661), NumberSequenceKeypoint.new(0.535, 0.836), NumberSequenceKeypoint.new(1, 1)})
  514. wave.Texture = "rbxassetid://1084991215"
  515. wave.Rotation = NumberRange.new(-180, 180)
  516. wave.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 0)})
  517. wave.ZOffset = 1
  518. wave.Parent = stuff
  519. for i,v in pairs(stuff:GetChildren()) do
  520. v.Parent = script
  521. end
  522. end
  523.  
  524. createstuff()
  525.  
  526.  
  527.  
  528.  
  529.  
  530. wait(0.2)
  531.  
  532. Player = game:GetService("Players").LocalPlayer
  533. PlayerGui = Player.PlayerGui
  534. Cam = workspace.CurrentCamera
  535. Backpack = Player.Backpack
  536. Character = Player.Character
  537. Humanoid = Character.Humanoid
  538. Mouse = Player:GetMouse()
  539. RootPart = Character["HumanoidRootPart"]
  540. Torso = Character["Torso"]
  541. Head = Character["Head"]
  542. RightArm = Character["Right Arm"]
  543. LeftArm = Character["Left Arm"]
  544. RightLeg = Character["Right Leg"]
  545. LeftLeg = Character["Left Leg"]
  546. RootJoint = RootPart["RootJoint"]
  547. Neck = Torso["Neck"]
  548. RightShoulder = Torso["Right Shoulder"]
  549. LeftShoulder = Torso["Left Shoulder"]
  550. RightHip = Torso["Right Hip"]
  551. LeftHip = Torso["Left Hip"]
  552.  
  553. IT = Instance.new
  554. CF = CFrame.new
  555. VT = Vector3.new
  556. RAD = math.rad
  557. C3 = Color3.new
  558. UD2 = UDim2.new
  559. BRICKC = BrickColor.new
  560. ANGLES = CFrame.Angles
  561. EULER = CFrame.fromEulerAnglesXYZ
  562. COS = math.cos
  563. ACOS = math.acos
  564. SIN = math.sin
  565. ASIN = math.asin
  566. ABS = math.abs
  567. MRANDOM = math.random
  568. FLOOR = math.floor
  569.  
  570. --//=================================\\
  571. --|| USEFUL VALUES
  572. --\\=================================//
  573.  
  574. Animation_Speed = 3
  575. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  576. local Speed = 35
  577. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  578. local NECKC0 = CF(0, 1.75, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  579. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  580. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  581. local DAMAGEMULTIPLIER = 1
  582. local ANIM = "Idle"
  583. local ATTACK = false
  584. local EQUIPPED = false
  585. local HOLD = false
  586. local COMBO = 1
  587. local Rooted = false
  588. local SINE = 0
  589. local KEYHOLD = false
  590. local CHANGE = 2 / Animation_Speed
  591. local WALKINGANIM = false
  592. local VALUE1 = false
  593. local VALUE2 = false
  594. local ROBLOXIDLEANIMATION = IT("Animation")
  595. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  596. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  597. --ROBLOXIDLEANIMATION.Parent = Humanoid
  598. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  599. WEAPONGUI.Name = "Weapon GUI"
  600. local Effects = IT("Folder", Character)
  601. Effects.Name = "Effects"
  602. local ANIMATOR = Humanoid.Animator
  603. local ANIMATE = Character.Animate
  604. local UNANCHOR = true
  605. local PLAYSONG = true
  606. local EXTRATRANS = 0
  607.  
  608. --//=================================\\
  609. --\\=================================//
  610.  
  611.  
  612. --//=================================\\
  613. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  614. --\\=================================//
  615.  
  616. ArtificialHB = Instance.new("BindableEvent", script)
  617. ArtificialHB.Name = "ArtificialHB"
  618.  
  619. script:WaitForChild("ArtificialHB")
  620.  
  621. frame = Frame_Speed
  622. tf = 0
  623. allowframeloss = false
  624. tossremainder = false
  625. lastframe = tick()
  626. script.ArtificialHB:Fire()
  627.  
  628. game:GetService("RunService").Heartbeat:connect(function(s, p)
  629. tf = tf + s
  630. if tf >= frame then
  631. if allowframeloss then
  632. script.ArtificialHB:Fire()
  633. lastframe = tick()
  634. else
  635. for i = 1, math.floor(tf / frame) do
  636. script.ArtificialHB:Fire()
  637. end
  638. lastframe = tick()
  639. end
  640. if tossremainder then
  641. tf = 0
  642. else
  643. tf = tf - frame * math.floor(tf / frame)
  644. end
  645. end
  646. end)
  647.  
  648. --//=================================\\
  649. --\\=================================//
  650.  
  651. --//=================================\\
  652. --|| SOME FUNCTIONS
  653. --\\=================================//
  654.  
  655. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  656. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  657. end
  658.  
  659. function PositiveAngle(NUMBER)
  660. if NUMBER >= 0 then
  661. NUMBER = 0
  662. end
  663. return NUMBER
  664. end
  665.  
  666. function NegativeAngle(NUMBER)
  667. if NUMBER <= 0 then
  668. NUMBER = 0
  669. end
  670. return NUMBER
  671. end
  672.  
  673. function Swait(NUMBER)
  674. if NUMBER == 0 or NUMBER == nil then
  675. ArtificialHB.Event:wait()
  676. else
  677. for i = 1, NUMBER do
  678. ArtificialHB.Event:wait()
  679. end
  680. end
  681. end
  682.  
  683. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  684. local NEWMESH = IT(MESH)
  685. if MESH == "SpecialMesh" then
  686. NEWMESH.MeshType = MESHTYPE
  687. if MESHID ~= "nil" and MESHID ~= "" then
  688. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  689. end
  690. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  691. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  692. end
  693. end
  694. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  695. NEWMESH.Scale = SCALE
  696. NEWMESH.Parent = PARENT
  697. return NEWMESH
  698. end
  699.  
  700. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  701. local NEWPART = IT("Part")
  702. NEWPART.formFactor = FORMFACTOR
  703. NEWPART.Reflectance = REFLECTANCE
  704. NEWPART.Transparency = TRANSPARENCY
  705. NEWPART.CanCollide = false
  706. NEWPART.Locked = true
  707. NEWPART.Anchored = true
  708. if ANCHOR == false then
  709. NEWPART.Anchored = false
  710. end
  711. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  712. NEWPART.Name = NAME
  713. NEWPART.Size = SIZE
  714. NEWPART.Position = Torso.Position
  715. NEWPART.Material = MATERIAL
  716. NEWPART:BreakJoints()
  717. NEWPART.Parent = PARENT
  718. return NEWPART
  719. end
  720.  
  721. local function weldBetween(a, b)
  722. local weldd = Instance.new("ManualWeld")
  723. weldd.Part0 = a
  724. weldd.Part1 = b
  725. weldd.C0 = CFrame.new()
  726. weldd.C1 = b.CFrame:inverse() * a.CFrame
  727. weldd.Parent = a
  728. return weldd
  729. end
  730.  
  731.  
  732. function QuaternionFromCFrame(cf)
  733. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  734. local trace = m00 + m11 + m22
  735. if trace > 0 then
  736. local s = math.sqrt(1 + trace)
  737. local recip = 0.5 / s
  738. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  739. else
  740. local i = 0
  741. if m11 > m00 then
  742. i = 1
  743. end
  744. if m22 > (i == 0 and m00 or m11) then
  745. i = 2
  746. end
  747. if i == 0 then
  748. local s = math.sqrt(m00 - m11 - m22 + 1)
  749. local recip = 0.5 / s
  750. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  751. elseif i == 1 then
  752. local s = math.sqrt(m11 - m22 - m00 + 1)
  753. local recip = 0.5 / s
  754. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  755. elseif i == 2 then
  756. local s = math.sqrt(m22 - m00 - m11 + 1)
  757. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  758. end
  759. end
  760. end
  761.  
  762. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  763. local xs, ys, zs = x + x, y + y, z + z
  764. local wx, wy, wz = w * xs, w * ys, w * zs
  765. local xx = x * xs
  766. local xy = x * ys
  767. local xz = x * zs
  768. local yy = y * ys
  769. local yz = y * zs
  770. local zz = z * zs
  771. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  772. end
  773.  
  774. function QuaternionSlerp(a, b, t)
  775. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  776. local startInterp, finishInterp;
  777. if cosTheta >= 0.0001 then
  778. if (1 - cosTheta) > 0.0001 then
  779. local theta = ACOS(cosTheta)
  780. local invSinTheta = 1 / SIN(theta)
  781. startInterp = SIN((1 - t) * theta) * invSinTheta
  782. finishInterp = SIN(t * theta) * invSinTheta
  783. else
  784. startInterp = 1 - t
  785. finishInterp = t
  786. end
  787. else
  788. if (1 + cosTheta) > 0.0001 then
  789. local theta = ACOS(-cosTheta)
  790. local invSinTheta = 1 / SIN(theta)
  791. startInterp = SIN((t - 1) * theta) * invSinTheta
  792. finishInterp = SIN(t * theta) * invSinTheta
  793. else
  794. startInterp = t - 1
  795. finishInterp = t
  796. end
  797. end
  798. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  799. end
  800.  
  801. function Clerp(a, b, t)
  802. local qa = {QuaternionFromCFrame(a)}
  803. local qb = {QuaternionFromCFrame(b)}
  804. local ax, ay, az = a.x, a.y, a.z
  805. local bx, by, bz = b.x, b.y, b.z
  806. local _t = 1 - t
  807. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  808. end
  809.  
  810. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  811. local frame = IT("Frame")
  812. frame.BackgroundTransparency = TRANSPARENCY
  813. frame.BorderSizePixel = BORDERSIZEPIXEL
  814. frame.Position = POSITION
  815. frame.Size = SIZE
  816. frame.BackgroundColor3 = COLOR
  817. frame.BorderColor3 = BORDERCOLOR
  818. frame.Name = NAME
  819. frame.Parent = PARENT
  820. return frame
  821. end
  822.  
  823. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  824. local label = IT("TextLabel")
  825. label.BackgroundTransparency = 1
  826. label.Size = UD2(1, 0, 1, 0)
  827. label.Position = UD2(0, 0, 0, 0)
  828. label.TextColor3 = TEXTCOLOR
  829. label.TextStrokeTransparency = STROKETRANSPARENCY
  830. label.TextTransparency = TRANSPARENCY
  831. label.FontSize = TEXTFONTSIZE
  832. label.Font = TEXTFONT
  833. label.BorderSizePixel = BORDERSIZEPIXEL
  834. label.TextScaled = false
  835. label.Text = TEXT
  836. label.Name = NAME
  837. label.Parent = PARENT
  838. return label
  839. end
  840.  
  841. function NoOutlines(PART)
  842. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  843. end
  844.  
  845. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  846. local NEWWELD = IT(TYPE)
  847. NEWWELD.Part0 = PART0
  848. NEWWELD.Part1 = PART1
  849. NEWWELD.C0 = C0
  850. NEWWELD.C1 = C1
  851. NEWWELD.Parent = PARENT
  852. return NEWWELD
  853. end
  854.  
  855. local S = IT("Sound")
  856. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  857. local NEWSOUND = nil
  858. coroutine.resume(coroutine.create(function()
  859. NEWSOUND = S:Clone()
  860. NEWSOUND.Parent = PARENT
  861. NEWSOUND.Volume = VOLUME
  862. NEWSOUND.Pitch = PITCH
  863. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  864. NEWSOUND:play()
  865. if DOESLOOP == true then
  866. NEWSOUND.Looped = true
  867. else
  868. repeat wait(1) until NEWSOUND.Playing == false
  869. NEWSOUND:remove()
  870. end
  871. end))
  872. return NEWSOUND
  873. end
  874.  
  875. function CFrameFromTopBack(at, top, back)
  876. local right = top:Cross(back)
  877. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  878. end
  879.  
  880. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  881. function WACKYEFFECT(Table)
  882. local TYPE = (Table.EffectType or "Sphere")
  883. local SIZE = (Table.Size or VT(1,1,1))
  884. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  885. local TRANSPARENCY = (Table.Transparency or 0)
  886. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  887. local CFRAME = (Table.CFrame or Torso.CFrame)
  888. local MOVEDIRECTION = (Table.MoveToPos or nil)
  889. local ROTATION1 = (Table.RotationX or 0)
  890. local ROTATION2 = (Table.RotationY or 0)
  891. local ROTATION3 = (Table.RotationZ or 0)
  892. local MATERIAL = (Table.Material or "Neon")
  893. local COLOR = (Table.Color or C3(1,1,1))
  894. local TIME = (Table.Time or 45)
  895. local SOUNDID = (Table.SoundID or nil)
  896. local SOUNDPITCH = (Table.SoundPitch or nil)
  897. local SOUNDVOLUME = (Table.SoundVolume or nil)
  898. coroutine.resume(coroutine.create(function()
  899. local PLAYSSOUND = false
  900. local SOUND = nil
  901. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  902. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  903. PLAYSSOUND = true
  904. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  905. end
  906. EFFECT.Color = COLOR
  907. local MSH = nil
  908. if TYPE == "Sphere" then
  909. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  910. elseif TYPE == "Block" then
  911. MSH = IT("BlockMesh",EFFECT)
  912. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  913. elseif TYPE == "Wave" then
  914. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  915. elseif TYPE == "Ring" then
  916. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  917. elseif TYPE == "Slash" then
  918. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  919. elseif TYPE == "Round Slash" then
  920. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  921. elseif TYPE == "Swirl" then
  922. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  923. elseif TYPE == "Skull" then
  924. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  925. elseif TYPE == "Crystal" then
  926. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  927. end
  928. if MSH ~= nil then
  929. local MOVESPEED = nil
  930. if MOVEDIRECTION ~= nil then
  931. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  932. end
  933. local GROWTH = SIZE - ENDSIZE
  934. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  935. if TYPE == "Block" then
  936. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  937. else
  938. EFFECT.CFrame = CFRAME
  939. end
  940. for LOOP = 1, TIME+1 do
  941. Swait()
  942. MSH.Scale = MSH.Scale - GROWTH/TIME
  943. if TYPE == "Wave" then
  944. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  945. end
  946. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  947. if TYPE == "Block" then
  948. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  949. else
  950. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  951. end
  952. if MOVEDIRECTION ~= nil then
  953. local ORI = EFFECT.Orientation
  954. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  955. EFFECT.Orientation = ORI
  956. end
  957. end
  958. if PLAYSSOUND == false then
  959. EFFECT:remove()
  960. else
  961. repeat Swait() until EFFECT:FindFirstChild("Sound") == nil
  962. EFFECT:remove()
  963. end
  964. else
  965. if PLAYSSOUND == false then
  966. EFFECT:remove()
  967. else
  968. repeat Swait() until EFFECT:FindFirstChild("Sound") == nil
  969. EFFECT:remove()
  970. end
  971. end
  972. end))
  973. end
  974.  
  975. function MakeForm(PART,TYPE)
  976. if TYPE == "Cyl" then
  977. local MSH = IT("CylinderMesh",PART)
  978. elseif TYPE == "Ball" then
  979. local MSH = IT("SpecialMesh",PART)
  980. MSH.MeshType = "Sphere"
  981. elseif TYPE == "Wedge" then
  982. local MSH = IT("SpecialMesh",PART)
  983. MSH.MeshType = "Wedge"
  984. end
  985. end
  986.  
  987. Debris = game:GetService("Debris")
  988.  
  989. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  990. local DIRECTION = CF(StartPos,EndPos).lookVector
  991. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  992. end
  993.  
  994. local ROCK = script.Rock
  995. ROCK.Parent = nil
  996. function GetRock(FLOOROBJECT)
  997. local Rock = ROCK:Clone()
  998. Rock.Parent = Effects
  999. if FLOOROBJECT ~= nil then
  1000. if FLOOROBJECT.Material ~= Enum.Material.Grass and FLOOROBJECT.Material ~= Enum.Material.Fabric then
  1001. Rock.Material = FLOOROBJECT.Material
  1002. Rock.Color = FLOOROBJECT.Color
  1003. else
  1004. Rock.Material = "Slate"
  1005. Rock.Color = BRICKC"Dirt brown".Color
  1006. end
  1007. else
  1008. Rock.Material = "Slate"
  1009. Rock.Color = BRICKC"Dirt brown".Color
  1010. end
  1011. Rock.Core.Emit.Color = ColorSequence.new(Rock.Color)
  1012. return Rock
  1013. end
  1014.  
  1015. local SPIKE = script.RockSpike
  1016. SPIKE.Parent = nil
  1017. function GetSpike(FLOOROBJECT)
  1018. local Rock = SPIKE:Clone()
  1019. Rock.Parent = Effects
  1020. if FLOOROBJECT ~= nil then
  1021. if FLOOROBJECT.Material ~= Enum.Material.Grass and FLOOROBJECT.Material ~= Enum.Material.Fabric then
  1022. Rock.Material = FLOOROBJECT.Material
  1023. Rock.Color = FLOOROBJECT.Color
  1024. else
  1025. Rock.Material = "Slate"
  1026. Rock.Color = BRICKC"Dirt brown".Color
  1027. end
  1028. else
  1029. Rock.Material = "Slate"
  1030. Rock.Color = BRICKC"Dirt brown".Color
  1031. end
  1032. return Rock
  1033. end
  1034.  
  1035. local SHIELD = script.Shield
  1036. SHIELD.Parent = nil
  1037. function GetShield(FLOOROBJECT)
  1038. local Rock = SHIELD:Clone()
  1039. Rock.Parent = Effects
  1040. if FLOOROBJECT ~= nil then
  1041. Rock.Material = FLOOROBJECT.Material
  1042. Rock.Color = FLOOROBJECT.Color
  1043. else
  1044. Rock.Material = "Slate"
  1045. Rock.Color = BRICKC"Dirt brown".Color
  1046. end
  1047. return Rock
  1048. end
  1049.  
  1050. function RespondToImpact(Object,Rock)
  1051. local BREAKABLEMATERIALS = {{Enum.Material.Glass,5,1571353313},{Enum.Material.Ice,2,151284431},{Enum.Material.Wood,1.3,131144461},{Enum.Material.WoodPlanks,1,131144461},{Enum.Material.Cobblestone,0.2,130972023}}
  1052. for i = 1, #BREAKABLEMATERIALS do
  1053. local MATERIAL = BREAKABLEMATERIALS[i]
  1054. if Object.Material == MATERIAL[1] then
  1055. local A = Rock.Size.Magnitude
  1056. local B = Object.Size.Magnitude
  1057. if B < A*MATERIAL[2] then
  1058. WaveParticles(Object.Position,B*3,Object.Color)
  1059. Object:remove()
  1060. CreateSound(MATERIAL[3], Rock, 5, MRANDOM(8,12)/10, false)
  1061. end
  1062. end
  1063. end
  1064. end
  1065.  
  1066. function WaveParticles(Position,Size,Color)
  1067. local BASE = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Shockwave", VT(0,0,0), true)
  1068. BASE.CFrame = CF(Position)
  1069. local A = IT("Attachment",BASE)
  1070. local WAVE = script.Wave:Clone()
  1071. WAVE.Parent = A
  1072. WAVE.Size = NumberSequence.new(0,Size)
  1073. WAVE.Color = ColorSequence.new(Color)
  1074. Debris:AddItem(BASE,0.5)
  1075. WAVE:Emit(1)
  1076. end
  1077.  
  1078. --//=================================\\
  1079. --|| WEAPON CREATION
  1080. --\\=================================//
  1081.  
  1082. local sick = Instance.new("Sound",Character)
  1083.  
  1084. local PILLAR = script.Pillar
  1085. PILLAR.Parent = nil
  1086. local HOOD = script.Hood
  1087. HOOD.Parent = Character
  1088. HOOD.CFrame = Torso.CFrame*CFrame.new(0,2.2,0)
  1089. weldBetween(Torso,HOOD)
  1090. Head:ClearAllChildren()
  1091. Head.Transparency = 1
  1092. local EYE = script.Eye
  1093. EYE.Parent = Character
  1094. EYE.CFrame = Head.CFrame*CF(0,0,0)
  1095. EYE.Anchored = false
  1096. weldBetween(EYE,Head)
  1097. local COLLAR = script.Collar
  1098. COLLAR.Parent = Character
  1099. COLLAR.CFrame = Torso.CFrame*CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(0))
  1100. weldBetween(Torso,COLLAR)
  1101. local BONE = script.SpinePart
  1102. BONE.Parent = nil
  1103. local TAIL = {}
  1104. local LASTPART = Torso
  1105. local SIZE = BONE.Size
  1106. for i = 1, 23 do
  1107. local PART = BONE:Clone()
  1108. PART.Anchored = false
  1109. PART.Parent = Character
  1110. PART.Size = SIZE*((25-i)/10)/1.6
  1111. if LASTPART == Torso then
  1112. local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-0.8,0.6)* ANGLES(RAD(-55), RAD(0), RAD(0)), CF(0, 0, 0))
  1113. LASTPART = PART
  1114. table.insert(TAIL,WELD)
  1115. else
  1116. local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-PART.Size.Y/1.2,-0.01), CF(0, 0, 0))
  1117. LASTPART = PART
  1118. table.insert(TAIL,WELD)
  1119. end
  1120. end
  1121. for _, c in pairs(Character:GetChildren()) do
  1122. if c:IsA("BasePart") then
  1123. if c:FindFirstChildOfClass("ParticleEmitter") then
  1124. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1125. end
  1126. if c == Head then
  1127. if c:FindFirstChild("face") then
  1128. c.face:remove()
  1129. end
  1130. end
  1131. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1132. c:remove()
  1133. end
  1134. end
  1135. local BODY = {}
  1136. for _, c in pairs(Character:GetDescendants()) do
  1137. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1138. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1139. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1140. end
  1141. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1142. elseif c:IsA("JointInstance") then
  1143. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1144. end
  1145. end
  1146. for e = 1, #BODY do
  1147. if BODY[e] ~= nil then
  1148. local STUFF = BODY[e]
  1149. local PART = STUFF[1]
  1150. local PARENT = STUFF[2]
  1151. local MATERIAL = STUFF[3]
  1152. local COLOR = STUFF[4]
  1153. local TRANSPARENCY = STUFF[5]
  1154. if PART.ClassName == "Part" and PART ~= RootPart then
  1155. PART.Material = MATERIAL
  1156. PART.Color = COLOR
  1157. PART.Transparency = TRANSPARENCY
  1158. end
  1159. PART.AncestryChanged:Connect(function()
  1160. PART.Parent = PARENT
  1161. end)
  1162. end
  1163. end
  1164. function refit()
  1165. Character.Parent = workspace
  1166. for e = 1, #BODY do
  1167. if BODY[e] ~= nil then
  1168. local STUFF = BODY[e]
  1169. local PART = STUFF[1]
  1170. local PARENT = STUFF[2]
  1171. local MATERIAL = STUFF[3]
  1172. local COLOR = STUFF[4]
  1173. local TRANSPARENCY = STUFF[5]
  1174. if PART:IsA("BasePart") and PART ~= RootPart then
  1175. PART.Material = MATERIAL
  1176. PART.Color = COLOR
  1177. PART.Transparency = TRANSPARENCY+EXTRATRANS
  1178. end
  1179. if PART.Parent ~= PARENT then
  1180. Humanoid:remove()
  1181. PART.Parent = PARENT
  1182. Humanoid = IT("Humanoid",Character)
  1183. end
  1184. end
  1185. end
  1186. end
  1187.  
  1188. Humanoid.Died:connect(function()
  1189. refit()
  1190. end)
  1191.  
  1192. --//=================================\\
  1193. --|| DAMAGING
  1194. --\\=================================//
  1195.  
  1196. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1197. Damage = Damage * DAMAGEMULTIPLIER
  1198. if Humanoid.Health ~= 0 then
  1199. Humanoid.Health = Humanoid.Health - Damage
  1200. end
  1201. end
  1202.  
  1203. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,ROCK)
  1204. local CHILDREN = workspace:GetDescendants()
  1205. for index, CHILD in pairs(CHILDREN) do
  1206. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1207. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1208. if HUM then
  1209. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1210. if TORSO then
  1211. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1212. if INSTAKILL == true or HUM.MaxHealth > 5000 then
  1213. CHILD:BreakJoints()
  1214. else
  1215. local DMG = MRANDOM(MINDMG,MAXDMG)
  1216. ApplyDamage(HUM,DMG,TORSO)
  1217. end
  1218. if FLING > 0 then
  1219. for _, c in pairs(CHILD:GetChildren()) do
  1220. if c:IsA("BasePart") then
  1221. local bv = Instance.new("BodyVelocity",c)
  1222. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1223. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1224. Debris:AddItem(bv,0.05)
  1225. end
  1226. end
  1227. end
  1228. end
  1229. end
  1230. end
  1231. elseif CHILD:IsA("BasePart") and ROCK ~= nil then
  1232. if (CHILD.Position - POSITION).Magnitude <= RANGE then
  1233. RespondToImpact(CHILD,ROCK)
  1234. end
  1235. end
  1236. end
  1237. end
  1238.  
  1239. --//=================================\\
  1240. --|| ATTACK FUNCTIONS AND STUFF
  1241. --\\=================================//
  1242.  
  1243. function RockExplosion(Rock,Multiplier,Survive)
  1244. local EXPLOSION = Rock.Core:FindFirstChildOfClass("ParticleEmitter")
  1245. EXPLOSION.Color = ColorSequence.new(Rock.Color)
  1246. local SIZE = (Rock.Size.Y*4)*Multiplier
  1247. EXPLOSION.Enabled = false
  1248. EXPLOSION.Speed = NumberRange.new(0,SIZE*5)
  1249. EXPLOSION.Size = NumberSequence.new(SIZE/15,0)
  1250. EXPLOSION:Emit(200,300)
  1251. WaveParticles(Rock.Position,SIZE*2,Rock.Color)
  1252. coroutine.resume(coroutine.create(function()
  1253. Rock:BreakJoints()
  1254. if Survive == nil then
  1255. Rock.Transparency = 1
  1256. Rock.CanCollide = false
  1257. Rock.Anchored = true
  1258. Debris:AddItem(Rock,5)
  1259. end
  1260. CreateSound(165970126, Rock, 2, MRANDOM(8,12)/10, false)
  1261. ApplyAoE(Rock.Position,SIZE,25,30,35,false,Rock)
  1262. local HITFLOOR,HITPOS = Raycast(Rock.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, Rock.Size.Y/2, Character)
  1263. Swait()
  1264. if HITFLOOR then
  1265. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SIZE*7,3,SIZE*7), Transparency = 0.7, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = HITFLOOR.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1266. end
  1267. for i = 1, 5 do
  1268. WACKYEFFECT({Time = MRANDOM(15,55), EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SIZE*5,0.2,SIZE*5), Transparency = 0.95, Transparency2 = 1, CFrame = CF(Rock.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Rock.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1269. end
  1270. end))
  1271. end
  1272.  
  1273. function Bullet()
  1274. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1275. ATTACK = true
  1276. Rooted = true
  1277. local GYRO = IT("BodyGyro",RootPart)
  1278. GYRO.D = 2
  1279. GYRO.P = 2000
  1280. GYRO.MaxTorque = VT(0,4000000,0)
  1281. coroutine.resume(coroutine.create(function()
  1282. repeat
  1283. Swait()
  1284. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1285. until ATTACK == false
  1286. GYRO:Remove()
  1287. end))
  1288. local FLOOR = false
  1289. if HITFLOOR then
  1290. if HITFLOOR.Material ~= Enum.Material.Foil and HITFLOOR.Material ~= Enum.Material.Glass then
  1291. FLOOR = true
  1292. end
  1293. end
  1294. if FLOOR == true then
  1295. for i=0, 0.5, 0.1 / Animation_Speed do
  1296. Swait()
  1297. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
  1298. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1299. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1300. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1301. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.75) * ANGLES(RAD(-30), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1302. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1303. end
  1304. for i=0, 0.25, 0.1 / Animation_Speed do
  1305. Swait()
  1306. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1307. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1308. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1309. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1310. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1311. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1312. end
  1313. local ROCKPLACED = false
  1314. local Rock = nil
  1315. if HITFLOOR.Anchored == true then
  1316. Rock = GetRock(HITFLOOR)
  1317. Rock.Core.Emit.Enabled = true
  1318. Rock.Size = VT(6,6,6)
  1319. Rock.CFrame = CF(RootPart.CFrame*CF(0,-9,-6).p,Mouse.Hit.p)
  1320. CreateSound(130972023, Rock, 2, MRANDOM(5,8)/10, false)
  1321. coroutine.resume(coroutine.create(function()
  1322. for i = 1, 30 do
  1323. Swait()
  1324. Rock.CFrame = Clerp(Rock.CFrame, CF(RootPart.CFrame*CF(0,1,-6).p,Mouse.Hit.p), 0.8 / Animation_Speed)
  1325. end
  1326. ROCKPLACED = true
  1327. Rock.Core.Emit.Enabled = false
  1328. end))
  1329. else
  1330. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1331. local TORSO = HITFLOOR.Parent:FindFirstChild("Torso") or HITFLOOR.Parent:FindFirstChild("UpperTorso")
  1332. if TORSO then
  1333. Rock = TORSO
  1334. ROCK.Core:Clone().Parent = Rock
  1335. else
  1336. Rock = HITFLOOR
  1337. ROCK.Core:Clone().Parent = Rock
  1338. end
  1339. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1340. local TORSO = HITFLOOR.Parent.Parent:FindFirstChild("Torso") or HITFLOOR.Parent.Parent:FindFirstChild("UpperTorso")
  1341. if TORSO then
  1342. Rock = TORSO
  1343. ROCK.Core:Clone().Parent = Rock
  1344. else
  1345. Rock = HITFLOOR
  1346. ROCK.Core:Clone().Parent = Rock
  1347. end
  1348. else
  1349. Rock = HITFLOOR
  1350. ROCK.Core:Clone().Parent = Rock
  1351. end
  1352. Rock.Anchored = true
  1353. coroutine.resume(coroutine.create(function()
  1354. for i = 1, 30 do
  1355. Swait()
  1356. Rock.CFrame = Clerp(Rock.CFrame, CF(RootPart.CFrame*CF(0,1,-6).p,Mouse.Hit.p), 0.8 / Animation_Speed)
  1357. end
  1358. ROCKPLACED = true
  1359. end))
  1360. end
  1361. for i=0, 0.1, 0.1 / Animation_Speed do
  1362. Swait()
  1363. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1364. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1365. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1366. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1367. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1368. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1369. end
  1370. repeat
  1371. Swait()
  1372. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
  1373. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1374. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1375. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1376. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
  1377. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1378. until ROCKPLACED == true
  1379. for i=0, 0.1, 0.1 / Animation_Speed do
  1380. Swait()
  1381. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  1382. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1383. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1384. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1385. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  1386. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1387. end
  1388. WaveParticles(Rock.Position,12,C3(1,1,1))
  1389. CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
  1390. coroutine.resume(coroutine.create(function()
  1391. if Rock.Parent:FindFirstChildOfClass("Humanoid") == nil then
  1392. for i = 1, 200 do
  1393. Swait()
  1394. Rock.CFrame = Rock.CFrame * CF(0,0,-1.2)
  1395. local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
  1396. if HIT then
  1397. RespondToImpact(HIT,Rock)
  1398. break
  1399. end
  1400. end
  1401. RockExplosion(Rock,1)
  1402. else
  1403. for i = 1, 60 do
  1404. Swait()
  1405. Rock.CFrame = Rock.CFrame * CF(0,0,-2)
  1406. local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, 3, Character)
  1407. if HIT then
  1408. RespondToImpact(HIT,Rock)
  1409. break
  1410. end
  1411. end
  1412. RockExplosion(Rock,2)
  1413. end
  1414. end))
  1415. for i=0, 0.4, 0.1 / Animation_Speed do
  1416. Swait()
  1417. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  1418. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1419. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1420. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1421. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  1422. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1423. end
  1424. else
  1425. local GRAV = IT("BodyPosition",RootPart)
  1426. GRAV.D = 250
  1427. GRAV.P = 20000
  1428. GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
  1429. GRAV.Position = RootPart.Position
  1430. local Rock = GetRock()
  1431. Rock.Size = VT(0,0,0)
  1432. Rock.CFrame = CF(RightLeg.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
  1433. CreateSound(201858045, Rock, 1, MRANDOM(10,12)/10, false)
  1434. local DONEROCK = false
  1435. coroutine.resume(coroutine.create(function()
  1436. for i = 1, 15 do
  1437. Swait()
  1438. Rock.Size = Rock.Size + VT(0.1,0.1,0.1)
  1439. Rock.Size = Rock.Size * 1.1
  1440. Rock.CFrame = CF(RightLeg.CFrame*CF(0,-1-Rock.Size.Y/2,0).p,Mouse.Hit.p)
  1441. end
  1442. DONEROCK = true
  1443. end))
  1444. repeat
  1445. Swait()
  1446. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-65), RAD(0), RAD(0)), 1 / Animation_Speed)
  1447. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1448. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1449. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1450. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(90), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1451. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1452. until DONEROCK == true
  1453. local LOOP = 0
  1454. for i=0, 0.2, 0.1 / Animation_Speed do
  1455. Swait()
  1456. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-70), RAD(0), RAD(0)), 1 / Animation_Speed)
  1457. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1458. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1459. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1460. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(130), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1461. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1462. end
  1463. WaveParticles(Rock.Position,5,C3(1,1,1))
  1464. CreateSound(621557962, RightLeg, 1, MRANDOM(10,12)/10, false)
  1465. coroutine.resume(coroutine.create(function()
  1466. for i = 1, 300 do
  1467. Swait()
  1468. Rock.CFrame = Rock.CFrame * CF(0,0,-1.6)
  1469. local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
  1470. if HIT then
  1471. RespondToImpact(HIT,Rock)
  1472. break
  1473. end
  1474. end
  1475. RockExplosion(Rock,1)
  1476. end))
  1477. for i=0, 0.3, 0.1 / Animation_Speed do
  1478. Swait()
  1479. LOOP = LOOP + 15*3
  1480. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-65+(LOOP)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1481. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1482. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1483. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1484. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1485. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1486. end
  1487. GRAV:remove()
  1488. end
  1489. ATTACK = false
  1490. Rooted = false
  1491. end
  1492.  
  1493. function Melee()
  1494. ATTACK = true
  1495. Rooted = false
  1496. Speed = 12
  1497. repeat
  1498. Swait()
  1499. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-35)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1500. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(15)), 1 / Animation_Speed)
  1501. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1502. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1503. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1504. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1505. until KEYHOLD == false
  1506. Speed = 0
  1507. local ROOT = nil
  1508. local TORS = nil
  1509. local HUMAN = nil
  1510. local DIST = 4
  1511. for i=0, 0.2, 0.1 / Animation_Speed do
  1512. Swait()
  1513. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1514. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1515. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1516. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1517. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1518. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1519. end
  1520. for i=0, 1, 0.1 / Animation_Speed do
  1521. Swait()
  1522. local CHILDREN = workspace:GetDescendants()
  1523. for index, CHILD in pairs(CHILDREN) do
  1524. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1525. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1526. if HUM then
  1527. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1528. if TORSO and HUM.Health > 0 then
  1529. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  1530. DIST = (TORSO.Position - RightArm.Position).Magnitude
  1531. ROOT = TORSO
  1532. HUMAN = HUM
  1533. TORS = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1534. end
  1535. end
  1536. end
  1537. end
  1538. end
  1539. if ROOT then
  1540. break
  1541. end
  1542. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1543. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1544. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1545. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1546. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1547. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1548. end
  1549. if ROOT then
  1550. local POSITIONED = false
  1551. coroutine.resume(coroutine.create(function()
  1552. ROOT.Anchored = true
  1553. local POS = RootPart.CFrame*CF(0,-3,-1) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(90), RAD(0), RAD(0))
  1554. for i = 1, 25 do
  1555. ROOT.Anchored = true
  1556. Swait()
  1557. ROOT.CFrame = Clerp(ROOT.CFrame, POS, 0.8 / Animation_Speed)
  1558. end
  1559. POSITIONED = true
  1560. repeat Swait() ROOT.Anchored = true until ATTACK == false
  1561. ROOT.Anchored = false
  1562. end))
  1563. repeat
  1564. Swait()
  1565. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1566. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1567. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1568. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1569. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1570. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1571. until POSITIONED == true
  1572. for i = 1, 3 do
  1573. for i=0, 0.5, 0.1 / Animation_Speed do
  1574. Swait()
  1575. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
  1576. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1577. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1578. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1579. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.75) * ANGLES(RAD(50), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1580. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1581. end
  1582. for i=0, 0.15, 0.1 / Animation_Speed do
  1583. Swait()
  1584. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1585. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1586. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1587. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1588. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1589. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1590. end
  1591. local EMIT = script.Emit:Clone()
  1592. EMIT.Parent = TORS
  1593. EMIT.Size = NumberSequence.new(1,0)
  1594. EMIT:Emit(120)
  1595. Debris:AddItem(EMIT,5)
  1596. CreateSound(138186576, RightLeg, 1, MRANDOM(13,15)/10, false)
  1597. WaveParticles(TORS.Position,12,C3(1,1,1))
  1598. ApplyAoE(RightLeg.Position,8,25,35,0,false)
  1599. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(35,3,35), Transparency = 0.2, Transparency2 = 1, CFrame = CF(TORS.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1600. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(25,4,25), Transparency = 0.2, Transparency2 = 1, CFrame = CF(TORS.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1601. for i=0, 0.25, 0.1 / Animation_Speed do
  1602. Swait()
  1603. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1604. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1605. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1606. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1607. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1608. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1609. end
  1610. if HUMAN.Health == 0 then
  1611. break
  1612. end
  1613. for i=0, 0.2, 0.1 / Animation_Speed do
  1614. Swait()
  1615. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1616. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1617. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1618. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1619. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1620. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1621. end
  1622. end
  1623. end
  1624. Speed = 25
  1625. ATTACK = false
  1626. Rooted = false
  1627. end
  1628.  
  1629. function Launch()
  1630. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1631. if HITFLOOR then
  1632. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(15,3,15), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 138186576, SoundPitch = 1, SoundVolume = 2})
  1633. local P = PILLAR:Clone()
  1634. P.Color = HITFLOOR.Color
  1635. P.Material = HITFLOOR.Material
  1636. P.Parent = Effects
  1637. P.CFrame = CF(HITPOS-VT(0,4.5,0))
  1638. coroutine.resume(coroutine.create(function()
  1639. for i = 1, 6 do
  1640. Swait()
  1641. P.CFrame = P.CFrame * CF(0,0.9,0)
  1642. end
  1643. wait(1)
  1644. for i = 1, 45 do
  1645. Swait()
  1646. P.Transparency =P.Transparency + 1/45
  1647. end
  1648. P:remove()
  1649. end))
  1650. RootPart.CFrame = RootPart.CFrame*CF(0,1,0)
  1651. RootPart.Velocity = VT(0,0,0)
  1652. local bv = Instance.new("BodyVelocity",RootPart)
  1653. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1654. bv.velocity = CF(RootPart.Position,RootPart.Position+VT(0,100,0)).lookVector*350
  1655. Debris:AddItem(bv,0.1)
  1656. end
  1657. end
  1658.  
  1659. function Ravage()
  1660. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1661. if HITFLOOR then
  1662. ATTACK = true
  1663. Rooted = false
  1664. for i=0, 0.3, 0.1 / Animation_Speed do
  1665. Swait()
  1666. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
  1667. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1668. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1669. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1670. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1671. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1672. end
  1673. WaveParticles(RightArm.CFrame*CF(0,-1,0).p,4,C3(1,1,1))
  1674. Rooted = true
  1675. CreateSound(217767125, RightArm, 5, 1, false)
  1676. for i=0, 0.15, 0.1 / Animation_Speed do
  1677. Swait()
  1678. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
  1679. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1680. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(145)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1681. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1682. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1683. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1684. end
  1685. local HOLD = true
  1686. coroutine.resume(coroutine.create(function()
  1687. repeat
  1688. Swait()
  1689. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1690. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
  1691. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.2) * ANGLES(RAD(145), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1692. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1693. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1694. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1695. until HOLD == false
  1696. end))
  1697. repeat
  1698. wait(0.3)
  1699. coroutine.resume(coroutine.create(function()
  1700. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1701. if HITFLOOR then
  1702. if HITFLOOR.Anchored == true then
  1703. local ROCK = GetRock(HITFLOOR)
  1704. CreateSound(130972023, ROCK, 2, MRANDOM(8,12)/10, false)
  1705. ROCK.Size = VT(4,4,4)*(MRANDOM(8,12)/10)
  1706. ROCK.Core.Emit.Enabled = true
  1707. ROCK.CFrame = CF(HITPOS+VT(0,-6,0)) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1708. local POS = ROCK.CFrame*CF(0,12,0)
  1709. for i = 1, 25 do
  1710. ROCK.Anchored = true
  1711. Swait()
  1712. ROCK.CFrame = Clerp(ROCK.CFrame, POS, 0.8 / Animation_Speed)
  1713. end
  1714. ROCK.Core.Emit.Enabled = false
  1715. wait(0.3)
  1716. RockExplosion(ROCK,1)
  1717. end
  1718. end
  1719. end))
  1720. until KEYHOLD == false
  1721. wait(0.5)
  1722. HOLD = false
  1723. ATTACK = false
  1724. Rooted = false
  1725. end
  1726. end
  1727.  
  1728. function Shield()
  1729. ATTACK = true
  1730. Rooted = false
  1731. local GYRO = IT("BodyGyro",RootPart)
  1732. GYRO.D = 2
  1733. GYRO.P = 2000
  1734. GYRO.MaxTorque = VT(40000000000,4000000,40000000000)
  1735. local GRAV = IT("BodyPosition",RootPart)
  1736. GRAV.D = 250
  1737. GRAV.P = 20000
  1738. GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
  1739. GRAV.Position = RootPart.Position
  1740. coroutine.resume(coroutine.create(function()
  1741. repeat
  1742. Swait()
  1743. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1744. until ATTACK == false
  1745. GYRO:Remove()
  1746. GRAV:Remove()
  1747. end))
  1748. for i=0, 0.3, 0.1 / Animation_Speed do
  1749. Swait()
  1750. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
  1751. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1752. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1753. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1754. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1755. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1756. end
  1757. local Defence = GetShield()
  1758. Defence.Size = VT(0,2,0)
  1759. Defence.Parent = Effects
  1760. Defence.CFrame = RightArm.CFrame*CF(0,-6,0) * ANGLES(RAD(180), RAD(90), RAD(0))
  1761. WaveParticles(Defence.Position,12,Defence.Color)
  1762. CreateSound(201858045, Defence, 2, MRANDOM(10,12)/10, false)
  1763. local FIX = Defence.AncestryChanged:Connect(function()
  1764. Defence.Parent = Effects
  1765. end)
  1766. for i = 1, 40 do
  1767. Swait()
  1768. Defence.Size = Defence.Size + VT(0.5,0,0.7)
  1769. Defence.CFrame = RightArm.CFrame*CF(0,-6,0) * ANGLES(RAD(180), RAD(90), RAD(0))
  1770. end
  1771. repeat
  1772. Swait()
  1773. Defence.CFrame = RightArm.CFrame*CF(0,-6,0) * ANGLES(RAD(180), RAD(90), RAD(0))
  1774. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
  1775. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1776. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1777. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1778. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1779. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1780. until KEYHOLD == false
  1781. FIX:Disconnect()
  1782. coroutine.resume(coroutine.create(function()
  1783. for i = 1, 40 do
  1784. Swait()
  1785. Defence.Size = Defence.Size - VT(0.5,0,0.7)
  1786. end
  1787. WaveParticles(Defence.Position,12,Defence.Color)
  1788. Defence:remove()
  1789. end))
  1790. ATTACK = false
  1791. Rooted = false
  1792. end
  1793.  
  1794. function TwinMeteor()
  1795. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
  1796. if HITFLOOR == nil then
  1797. ATTACK = true
  1798. Rooted = false
  1799. local GYRO = IT("BodyGyro",RootPart)
  1800. GYRO.D = 2
  1801. GYRO.P = 2000
  1802. GYRO.MaxTorque = VT(40000000000,4000000,40000000000)
  1803. local GRAV = IT("BodyPosition",RootPart)
  1804. GRAV.D = 250
  1805. GRAV.P = 20000
  1806. GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
  1807. GRAV.Position = RootPart.Position
  1808. coroutine.resume(coroutine.create(function()
  1809. repeat
  1810. Swait()
  1811. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1812. until ATTACK == false
  1813. GYRO:Remove()
  1814. GRAV:Remove()
  1815. end))
  1816. local CHARGED = false
  1817. coroutine.resume(coroutine.create(function()
  1818. repeat
  1819. Swait()
  1820. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1821. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1822. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1823. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1824. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1825. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1826. until CHARGED == true
  1827. end))
  1828. local ROCK1 = GetRock()
  1829. local ROCK2 = GetRock()
  1830. local VORTEX1 = script.Vortex:Clone()
  1831. local VORTEX2 = script.Vortex:Clone()
  1832. VORTEX1.Parent = ROCK1.Core
  1833. VORTEX2.Parent = ROCK2.Core
  1834. ROCK1.Core.Emit.Enabled = true
  1835. ROCK2.Core.Emit.Enabled = true
  1836. ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
  1837. ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
  1838. CreateSound(1664710821, ROCK1, 10, MRANDOM(8,12)/10, false)
  1839. CreateSound(1664710821, ROCK2, 10, MRANDOM(8,12)/10, false)
  1840. for i = 1, 70 do
  1841. Swait()
  1842. ROCK1.Size = ROCK1.Size + VT(0.3,0.3,0.3)
  1843. ROCK2.Size = ROCK2.Size + VT(0.3,0.3,0.3)
  1844. ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
  1845. ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
  1846. VORTEX1.Size = NumberSequence.new(ROCK1.Size.Y*2,0)
  1847. VORTEX2.Size = NumberSequence.new(ROCK1.Size.Y*2,0)
  1848. VORTEX1:Emit(1)
  1849. VORTEX2:Emit(1)
  1850. end
  1851. CHARGED = true
  1852. for i=0, 1, 0.1 / Animation_Speed do
  1853. Swait()
  1854. ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
  1855. ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
  1856. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1857. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1858. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1859. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1860. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1861. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1862. end
  1863. for i=0, 0.5, 0.1 / Animation_Speed do
  1864. Swait()
  1865. ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
  1866. ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
  1867. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1868. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  1869. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1870. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1871. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1872. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1873. end
  1874. coroutine.resume(coroutine.create(function()
  1875. local Rock = ROCK1
  1876. WaveParticles(Rock.Position,30,C3(1,1,1))
  1877. CreateSound(134012322, Rock, 2, MRANDOM(10,12)/10, false)
  1878. for i = 1, 200 do
  1879. Swait()
  1880. Rock.CFrame = Rock.CFrame * CF(0,0,-3.2)
  1881. local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
  1882. if HIT then
  1883. RespondToImpact(HIT,Rock)
  1884. break
  1885. end
  1886. end
  1887. ApplyAoE(Rock.Position,ROCK.Size.Y,50,55,55,false)
  1888. for i = 1, 6 do
  1889. RockExplosion(Rock,1.5,true)
  1890. wait(1)
  1891. end
  1892. RockExplosion(Rock,1.5)
  1893. end))
  1894. for i=0, 1, 0.1 / Animation_Speed do
  1895. Swait()
  1896. ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
  1897. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  1898. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 1 / Animation_Speed)
  1899. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1900. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1901. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1902. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1903. end
  1904. for i=0, 0.5, 0.1 / Animation_Speed do
  1905. Swait()
  1906. ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
  1907. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1908. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  1909. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1910. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1911. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1912. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1913. end
  1914. coroutine.resume(coroutine.create(function()
  1915. local Rock = ROCK2
  1916. WaveParticles(Rock.Position,30,C3(1,1,1))
  1917. CreateSound(134012322, Rock, 2, MRANDOM(10,12)/10, false)
  1918. for i = 1, 200 do
  1919. Swait()
  1920. Rock.CFrame = Rock.CFrame * CF(0,0,-3.2)
  1921. local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
  1922. if HIT then
  1923. RespondToImpact(HIT,Rock)
  1924. break
  1925. end
  1926. end
  1927. ApplyAoE(Rock.Position,ROCK.Size.Y,50,55,55,false)
  1928. for i = 1, 6 do
  1929. RockExplosion(Rock,1.5,true)
  1930. wait(1)
  1931. end
  1932. RockExplosion(Rock,1.5)
  1933. end))
  1934. for i=0, 1, 0.1 / Animation_Speed do
  1935. Swait()
  1936. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-35)), 1 / Animation_Speed)
  1937. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  1938. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1939. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(55), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1940. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1941. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1942. end
  1943. ATTACK = false
  1944. Rooted = false
  1945. end
  1946. end
  1947.  
  1948. function Spikes()
  1949. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 12, Character)
  1950. if HITFLOOR then
  1951. ATTACK = true
  1952. Rooted = true
  1953. local GYRO = IT("BodyGyro",RootPart)
  1954. GYRO.D = 2
  1955. GYRO.P = 2000
  1956. GYRO.MaxTorque = VT(0,4000000,0)
  1957. coroutine.resume(coroutine.create(function()
  1958. repeat
  1959. Swait()
  1960. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1961. until ATTACK == false
  1962. GYRO:Remove()
  1963. end))
  1964. for i=0, 1, 0.1 / Animation_Speed do
  1965. Swait()
  1966. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
  1967. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1968. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1969. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1970. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.75) * ANGLES(RAD(30), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1971. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1972. end
  1973. for i=0, 0.25, 0.1 / Animation_Speed do
  1974. Swait()
  1975. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1976. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1977. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1978. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1979. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1980. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1981. end
  1982. CreateSound(165970126, RightLeg, 1, MRANDOM(13,15)/10, false)
  1983. WaveParticles(RightLeg.CFrame*CF(0,-1,0).p,15,C3(1,1,1))
  1984. coroutine.resume(coroutine.create(function()
  1985. local CFRAME = RootPart.CFrame*CF(0,-3,0)
  1986. for i = 1, 60 do
  1987. Swait()
  1988. local SPIKE = GetSpike(HITFLOOR)
  1989. SPIKE.CFrame = CFRAME*CF(0,-11,-i*2)
  1990. ApplyAoE(CFRAME*CF(0,0,-i*2).p,4,10,35,15,false)
  1991. coroutine.resume(coroutine.create(function()
  1992. local POS = SPIKE.CFrame*CF(0,11,0)
  1993. for i = 1, 25 do
  1994. Swait()
  1995. SPIKE.CFrame = Clerp(SPIKE.CFrame, POS, 0.8 / Animation_Speed)
  1996. end
  1997. wait(0.2)
  1998. for i = 1, 45 do
  1999. Swait()
  2000. SPIKE.Transparency = SPIKE.Transparency + 1/45
  2001. SPIKE.CFrame = SPIKE.CFrame * CF(0,-2/15,0)
  2002. end
  2003. SPIKE:remove()
  2004. end))
  2005. end
  2006. end))
  2007. wait(0.3)
  2008. ATTACK = false
  2009. Rooted = false
  2010. end
  2011. end
  2012.  
  2013. function TakeOnMe()
  2014. Speed = 5
  2015. local MEME = CreateSound(288703954, Effects, 2, 1, false)
  2016. ATTACK = true
  2017. Rooted = false
  2018. local DANCE = true
  2019. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  2020. if NEWKEY == "p" then
  2021. DANCE = false
  2022. end
  2023. end)
  2024. PLAYSONG = false
  2025. while true do
  2026. for i = 1, 15 do
  2027. Swait()
  2028. MEME.Parent = Effects
  2029. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2030. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2031. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2032. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2033. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2034. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2035. end
  2036. if DANCE == false then
  2037. break
  2038. end
  2039. for i = 1, 15 do
  2040. Swait()
  2041. MEME.Parent = Effects
  2042. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2043. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2044. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2045. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2046. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2047. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2048. end
  2049. end
  2050. PLAYSONG = true
  2051. KEY:Disconnect()
  2052. MEME:remove()
  2053. Speed = 25
  2054. ATTACK = false
  2055. Rooted = false
  2056. end
  2057.  
  2058. function Noclip()
  2059. ATTACK = true
  2060. Rooted = true
  2061. UNANCHOR = false
  2062. RootPart.Anchored = true
  2063. local CLIPPING = true
  2064. local MOVEMENT = nil
  2065. CreateSound(96098241, Torso, 3, MRANDOM(9,12)/10, false)
  2066. for i = 1, 50 do
  2067. Swait()
  2068. EXTRATRANS = EXTRATRANS + 0.5/50
  2069. RootPart.CFrame = RootPart.CFrame * CF(0,(1-(i/50))/4.3,0)
  2070. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2071. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2072. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2073. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2074. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2075. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2076. end
  2077. local AURA = CreateSound(1393698948, Torso, 3, 1, true)
  2078. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  2079. if NEWKEY == "w" then
  2080. MOVEMENT = "Forward"
  2081. repeat
  2082. Swait()
  2083. RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.2)
  2084. until KEYHOLD == false
  2085. elseif NEWKEY == "s" then
  2086. MOVEMENT = "Backwards"
  2087. repeat
  2088. Swait()
  2089. RootPart.CFrame = RootPart.CFrame * CF(0,0,0.2)
  2090. until KEYHOLD == false
  2091. elseif NEWKEY == "a" then
  2092. MOVEMENT = "Strafe"
  2093. repeat
  2094. Swait()
  2095. RootPart.CFrame = RootPart.CFrame * CF(0.2,0,0)
  2096. until KEYHOLD == false
  2097. elseif NEWKEY == "d" then
  2098. MOVEMENT = "Strafe"
  2099. repeat
  2100. Swait()
  2101. RootPart.CFrame = RootPart.CFrame * CF(-0.2,0,0)
  2102. until KEYHOLD == false
  2103. elseif NEWKEY == "y" then
  2104. CLIPPING = false
  2105. end
  2106. MOVEMENT = nil
  2107. end)
  2108. local LOOP = 0
  2109. repeat
  2110. Swait()
  2111. AURA.Parent = Torso
  2112. LOOP = LOOP + 1
  2113. if LOOP >= 15 then
  2114. LOOP = 0
  2115. WaveParticles(Torso.Position,15,C3(1,1,1))
  2116. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(15,1,15), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RootPart.CFrame*CF(0,-3.5,0).p), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2117. end
  2118. if MOVEMENT == nil then
  2119. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2120. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2121. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2122. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2123. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2124. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2125. elseif MOVEMENT == "Forward" then
  2126. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2127. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2128. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2129. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2130. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2131. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2132. elseif MOVEMENT == "Backwards" then
  2133. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2134. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2135. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2136. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2137. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2138. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2139. elseif MOVEMENT == "Strafe" then
  2140. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2141. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2142. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2143. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2144. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2145. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2146. end
  2147. until CLIPPING == false
  2148. KEY:Disconnect()
  2149. coroutine.resume(coroutine.create(function()
  2150. for i = 1, 20 do
  2151. Swait()
  2152. AURA.Volume = AURA.Volume - 3/20
  2153. end
  2154. AURA:remove()
  2155. end))
  2156. CreateSound(814168787, Torso, 1, MRANDOM(9,12)/10, false)
  2157. for i = 1, 50 do
  2158. Swait()
  2159. EXTRATRANS = EXTRATRANS - 0.5/50
  2160. RootPart.CFrame = RootPart.CFrame * CF(0,-(1-(i/50))/4.3,0)
  2161. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2163. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2164. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2165. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2166. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  2167. end
  2168. EXTRATRANS = 0
  2169. UNANCHOR = true
  2170. ATTACK = false
  2171. Rooted = false
  2172. end
  2173.  
  2174. function Taunt()
  2175. ATTACK = true
  2176. Rooted = true
  2177. local TAUNT = CreateSound(159882635, Torso, 7, 1, false)
  2178. repeat
  2179. Swait()
  2180. TAUNT.Parent = Torso
  2181. TAUNT.Playing = true
  2182. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2183. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2184. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2185. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2186. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2187. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2188. until TAUNT.TimePosition >= 1.25
  2189. for i=0, 1.6, 0.1 / Animation_Speed do
  2190. Swait()
  2191. TAUNT.Parent = Torso
  2192. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  2193. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  2194. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2195. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2196. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2197. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2198. end
  2199. ATTACK = false
  2200. Rooted = false
  2201. end
  2202.  
  2203. --//=================================\\
  2204. --|| ASSIGN THINGS TO KEYS
  2205. --\\=================================//
  2206.  
  2207. function MouseDown(Mouse)
  2208. if ATTACK == false then
  2209. end
  2210. end
  2211.  
  2212. function MouseUp(Mouse)
  2213. HOLD = false
  2214. end
  2215.  
  2216. function KeyDown(Key)
  2217. KEYHOLD = true
  2218. if Key == "z" and ATTACK == false then
  2219. Bullet()
  2220. end
  2221.  
  2222. if Key == "b" and ATTACK == false then
  2223. Melee()
  2224. end
  2225.  
  2226. if Key == "c" and ATTACK == false then
  2227. Launch()
  2228. end
  2229.  
  2230. if Key == "v" and ATTACK == false then
  2231. Ravage()
  2232. end
  2233.  
  2234. if Key == "e" and ATTACK == false then
  2235. Shield()
  2236. end
  2237.  
  2238. if Key == "q" and ATTACK == false then
  2239. Spikes()
  2240. end
  2241.  
  2242. if Key == "x" and ATTACK == false then
  2243. TwinMeteor()
  2244. end
  2245.  
  2246. if Key == "y" and ATTACK == false then
  2247. Noclip()
  2248. end
  2249.  
  2250. if Key == "p" and ATTACK == false then
  2251. TakeOnMe()
  2252. end
  2253.  
  2254. if Key == "t" and ATTACK == false then
  2255. Taunt()
  2256. end
  2257.  
  2258. if Key == "]" and ATTACK == false then
  2259. if PLAYSONG == true then
  2260. PLAYSONG = false
  2261. else
  2262. PLAYSONG = true
  2263. end
  2264. end
  2265. end
  2266.  
  2267. function KeyUp(Key)
  2268. KEYHOLD = false
  2269. end
  2270.  
  2271. Mouse.Button1Down:connect(function(NEWKEY)
  2272. MouseDown(NEWKEY)
  2273. end)
  2274. Mouse.Button1Up:connect(function(NEWKEY)
  2275. MouseUp(NEWKEY)
  2276. end)
  2277. Mouse.KeyDown:connect(function(NEWKEY)
  2278. KeyDown(NEWKEY)
  2279. end)
  2280. Mouse.KeyUp:connect(function(NEWKEY)
  2281. KeyUp(NEWKEY)
  2282. end)
  2283.  
  2284. --//=================================\\
  2285. --\\=================================//
  2286.  
  2287. function AntiTimeStop()
  2288. for _, c in pairs(Character:GetChildren()) do
  2289. if c:IsA("BasePart") and c ~= RootPart then
  2290. c.Anchored = false
  2291. end
  2292. end
  2293. if UNANCHOR == true then
  2294. RootPart.Anchored = false
  2295. else
  2296. RootPart.Anchored = true
  2297. end
  2298. end
  2299.  
  2300. --//=================================\\
  2301. --|| WRAP THE WHOLE SCRIPT UP
  2302. --\\=================================//
  2303.  
  2304. Humanoid.Changed:connect(function(Jump)
  2305. if Jump == "Jump" and (Disable_Jump == true) then
  2306. Humanoid.Jump = false
  2307. end
  2308. end)
  2309.  
  2310. while true do
  2311. Swait()
  2312. Head:ClearAllChildren()
  2313. script.Parent = WEAPONGUI
  2314. ANIMATE.Parent = nil
  2315. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2316. v:Stop();
  2317. end
  2318. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2319. Humanoid = IT("Humanoid",Character)
  2320. end
  2321. SINE = SINE + CHANGE
  2322. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2323. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2324. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2325. local WALKSPEEDVALUE = 4
  2326. Neck.C1 = Clerp(Neck.C1, CF(0, 0, 0.03) * ANGLES(RAD(90), RAD(180), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(180)) , 1 / Animation_Speed)
  2327. if ANIM == "Walk" and TORSOVELOCITY > 1 and PLAYSONG == true then
  2328. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2329. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2330. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2331. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2332. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or PLAYSONG == false then
  2333. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2334. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2335. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2336. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2337. end
  2338. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2339. ANIM = "Jump"
  2340. if ATTACK == false then
  2341. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2342. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2343. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2344. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2345. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2346. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2347. end
  2348. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2349. ANIM = "Fall"
  2350. if ATTACK == false then
  2351. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2352. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2353. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2354. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2355. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2356. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2357. end
  2358. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2359. ANIM = "Idle"
  2360. if ATTACK == false then
  2361. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2362. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2363. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2364. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2365. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2366. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2367. end
  2368. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2369. ANIM = "Walk"
  2370. if ATTACK == false then
  2371. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2372. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, -0.025, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2373. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2374. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2375. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2376. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2377. end
  2378. end
  2379. for _, c in pairs(Character:GetChildren()) do
  2380. if c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2381. c:remove()
  2382. end
  2383. end
  2384. AntiTimeStop()
  2385. Humanoid.MaxHealth = 10e10
  2386. Humanoid.Health = 10e10
  2387. if Rooted == false then
  2388. Disable_Jump = false
  2389. Humanoid.WalkSpeed = Speed
  2390. elseif Rooted == true then
  2391. Disable_Jump = true
  2392. Humanoid.WalkSpeed = 0
  2393. end
  2394. for E = 1, #TAIL do
  2395. TAIL[E].C1 = Clerp(TAIL[E].C1,CF(0, 0, 0) * ANGLES(RAD(5-1 * SIN(SINE / 12)), RAD(-2 * COS(SINE / 24)), RAD(4 * SIN(SINE / 24))), 1 / Animation_Speed)
  2396. end
  2397. sick.SoundId = "rbxassetid://0"
  2398. sick.Looped = true
  2399. sick.Pitch = 1
  2400. sick.Volume = 2
  2401. sick.Parent = Effects
  2402. sick.Playing = PLAYSONG
  2403. Humanoid.PlatformStand = false
  2404. Humanoid.Name = "I am the god of earth"
  2405. refit()
  2406. if Character:FindFirstChild("Pants") == nil then
  2407. script.Pants:Clone().Parent = Character
  2408. end
  2409. if Character:FindFirstChild("Shirt") == nil then
  2410. script.Shirt:Clone().Parent = Character
  2411. end
  2412. for _, c in pairs(Character:GetChildren()) do
  2413. if c:IsA("BasePart") and ATTACK == false then
  2414. for _, e in pairs(c:GetChildren()) do
  2415. if e:IsA("ParticleEmitter") or e:IsA("BodyPosition") or e:IsA("BodyGyro") then
  2416. e:remove()
  2417. end
  2418. end
  2419. end
  2420. end
  2421. end
  2422.  
  2423. --//=================================\\
  2424. --\\=================================//
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430. --//====================================================\\--
  2431. --|| END OF SCRIPT
  2432. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement