Advertisement
Christoffer07700Extr

Untitled

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