Advertisement
13242

Untitled

Nov 30th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 105.85 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6. --------------------\\
  7. --||||||||||]]]]]]]]]\\
  8. ---------------------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  9. --EDIT BY INFINITEONEWITHDANK NAME OF SCRIPT: TERRA WARRIOR PROTECTOR OF THE PLANET EARTH|]]>>
  10. ---------------------////////////////////////////////////////////////////////////////////////
  11. --||||||||||]]]]]]]]]//
  12. --------------------//
  13. -------------------||
  14. local Player = game:GetService("Players").InfiniteOneWithdank
  15. local Mouse,mouse,UserInputService,ContextActionService
  16. do
  17. script.Parent = Player.Character
  18. local CAS = {Actions={}}
  19. local Event = Instance.new("RemoteEvent")
  20. Event.Name = "UserInput_Event"
  21. Event.Parent = Player.Character
  22. local fakeEvent = function()
  23. local t = {_fakeEvent=true}
  24. t.Connect = function(self,f)self.Function=f end
  25. t.connect = t.Connect
  26. return t
  27. end
  28. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  29. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  30. function CAS:BindAction(name,fun,touch,...)
  31. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  32. end
  33. function CAS:UnbindAction(name)
  34. CAS.Actions[name] = nil
  35. end
  36. local function te(self,ev,...)
  37. local t = m[ev]
  38. if t and t._fakeEvent and t.Function then
  39. t.Function(...)
  40. end
  41. end
  42. m.TrigEvent = te
  43. UIS.TrigEvent = te
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=Player then return end
  46. if io.isMouse then
  47. m.Target = io.Target
  48. m.Hit = io.Hit
  49. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  50. if io.UserInputState == Enum.UserInputState.Begin then
  51. m:TrigEvent("Button1Down")
  52. else
  53. m:TrigEvent("Button1Up")
  54. end
  55. else
  56. for n,t in pairs(CAS.Actions) do
  57. for _,k in pairs(t.Keys) do
  58. if k==io.KeyCode then
  59. t.Function(t.Name,io.UserInputState,io)
  60. end
  61. end
  62. end
  63. if io.UserInputState == Enum.UserInputState.Begin then
  64. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  65. UIS:TrigEvent("InputBegan",io,false)
  66. else
  67. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  68. UIS:TrigEvent("InputEnded",io,false)
  69. end
  70. end
  71. end)
  72. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  73. end
  74.  
  75. wait(0.2)
  76.  
  77. print("Edited By InfiniteOneWithdank")
  78. print("Maybe Updates In The Future")
  79. warn("I will not let no one destroy my only home for i must protect it")
  80.  
  81. Player = game:GetService("Players").InfiniteOneWithdank
  82. PlayerGui = Player.PlayerGui
  83. Cam = workspace.CurrentCamera
  84. Backpack = Player.Backpack
  85. Character = Player.Character
  86. Humanoid = Character.Humanoid
  87. RootPart = Character.HumanoidRootPart
  88. Torso = Character.Torso
  89. Head = Character.Head
  90. RightArm = Character["Right Arm"]
  91. LeftArm = Character["Left Arm"]
  92. RightLeg = Character["Right Leg"]
  93. LeftLeg = Character["Left Leg"]
  94. RootJoint = RootPart.RootJoint
  95. Neck = Torso.Neck
  96. RightShoulder = Torso["Right Shoulder"]
  97. LeftShoulder = Torso["Left Shoulder"]
  98. RightHip = Torso["Right Hip"]
  99. LeftHip = Torso["Left Hip"]
  100. local p = game:GetService("Players").InfiniteOneWithdank
  101. local plr = game:GetService("Players").InfiniteOneWithdank
  102. local player = game:GetService("Players").InfiniteOneWithdank
  103. local char = p.Character
  104. local larm = char:WaitForChild("Left Arm")
  105. local rarm = char:WaitForChild("Right Arm")
  106. local lleg = char:WaitForChild("Left Leg")
  107. local rleg = char:WaitForChild("Right Leg")
  108. local hed = char:WaitForChild("Head")
  109. local torso = char:WaitForChild("Torso")
  110. local root = char:WaitForChild("HumanoidRootPart")
  111. local hum = char:FindFirstChildOfClass("Humanoid")
  112. local debris = game:GetService("Debris")
  113. local run = game:GetService("RunService")
  114. local rs = run.RenderStepped
  115. local cam = workspace.CurrentCamera
  116. local DAMAGEMULTIPLIER = 1
  117. local sick = Instance.new("Sound",Character)
  118. sick.SoundId = "rbxassetid://381048611"
  119. sick.Looped = true
  120. sick.Pitch = 1
  121. sick.Volume = 5
  122. sick:Play()
  123.  
  124. IT = Instance.new
  125. CF = CFrame.new
  126. VT = Vector3.new
  127. RAD = math.rad
  128. C3 = Color3.new
  129. UD2 = UDim2.new
  130. BRICKC = BrickColor.new
  131. ANGLES = CFrame.Angles
  132. EULER = CFrame.fromEulerAnglesXYZ
  133. COS = math.cos
  134. ACOS = math.acos
  135. SIN = math.sin
  136. ASIN = math.asin
  137. ABS = math.abs
  138. MRANDOM = math.random
  139. FLOOR = math.floor
  140. local PLAYMAINANIM = true
  141.  
  142. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  143. local NEWMESH = IT(MESH)
  144. if MESH == "SpecialMesh" then
  145. NEWMESH.MeshType = MESHTYPE
  146. if MESHID ~= "nil" and MESHID ~= "" then
  147. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  148. end
  149. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  150. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  151. end
  152. end
  153. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  154. NEWMESH.Scale = SCALE
  155. NEWMESH.Parent = PARENT
  156. return NEWMESH
  157. end
  158.  
  159. local AT1 = IT("Attachment",RightArm)
  160. AT1.Position = VT(0,-1.15,0)
  161. local AT2 = IT("Attachment",LeftArm)
  162. AT2.Position = VT(0,-1.15,0)
  163.  
  164. Humanoid.HealthChanged:connect(function()
  165. if Humanoid.Health ~= "inf" then
  166. Humanoid.Health = "inf"
  167. end
  168. if Humanoid.MaxHealth ~= "inf" then
  169. Humanoid.MaxHealth = "inf"
  170. end
  171. end)
  172.  
  173. local EyeSizes={
  174. NumberSequenceKeypoint.new(0,1.2,0),
  175. NumberSequenceKeypoint.new(1,0,0)
  176. }
  177. local EyeTrans={
  178. NumberSequenceKeypoint.new(0,0.8,0),
  179. NumberSequenceKeypoint.new(1,1,0)
  180. }
  181.  
  182. local PE=Instance.new("ParticleEmitter")
  183. PE.Speed = NumberRange.new(2, 3)
  184. PE.Rotation = NumberRange.new(-180, 180)
  185. PE.Color = ColorSequence.new(Color3.new(1, 0.72549, 0.482353),Color3.new(1, 0.72549, 0.482353))
  186. PE.LightEmission = 0.5
  187. PE.Texture = "http://www.roblox.com/asset/?id=301261210"
  188. PE.Transparency = NumberSequence.new(1,0,0,1)
  189. PE.Size = NumberSequence.new(0,0.075000002980232,0.025000000372529)
  190. PE.Acceleration = Vector3.new(0, 2.5, 0)
  191. PE.Lifetime = NumberRange.new(1, 3)
  192. PE.Rate = 50
  193. PE.SpreadAngle = Vector2.new(22.5, 22.5)
  194. PE.VelocitySpread = 22.5
  195.  
  196. local LIGHTHITSOUNDS = {"1177780949","1177781153","1177784554"}
  197. local ENERGYDISPERSE = {"2013169887","2013169887"}
  198. local PRESSURERELEASE = {"401056199"}
  199. local TERRAWRATH = {"824687369"}
  200.  
  201. function particles(art)
  202. local o = PE:Clone()
  203. o.Parent = art
  204. o.Enabled = true
  205. return o
  206. end
  207.  
  208. particles(AT1)
  209. particles(AT2)
  210.  
  211.  
  212. local AT3 = IT("Attachment",RightArm)
  213. AT1.Position = VT(0,-1.15,0)
  214. local AT4 = IT("Attachment",LeftArm)
  215. AT2.Position = VT(0,-1.15,0)
  216.  
  217. local PE2=Instance.new("ParticleEmitter")
  218. PE2.Speed = NumberRange.new(5, 7)
  219. PE2.Rotation = NumberRange.new(4, 9)
  220. PE2.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  221. PE2.LightEmission = 0.86000001430511
  222. PE2.Texture = "http://www.roblox.com/asset/?id=248625108"
  223. PE2.Transparency = NumberSequence.new(0,0.54374998807907,0.73749995231628,0,0.72500002384186,0.45625001192093,0.63749998807907,0,0.52499997615814,0)
  224. PE2.Size = NumberSequence.new(3.3125,2.8125,2.6875,2.5624995231628,2.3125,2.1875,1.7500001192093,0.43749988079071,0.12499988079071)
  225. PE2.Acceleration = Vector3.new(1, 6, 0)
  226. PE2.Lifetime = NumberRange.new(0, 1)
  227. PE2.Rate = 70
  228. PE2.RotSpeed = NumberRange.new(5, 9)
  229. PE2.SpreadAngle = Vector2.new(28, 28)
  230. PE2.VelocitySpread = 28
  231.  
  232.  
  233. function particles(art)
  234. local o = PE2:Clone()
  235. o.Parent = art
  236. o.Enabled = true
  237. return o
  238. end
  239.  
  240.  
  241. particles(AT3)
  242. particles(AT4)
  243. -----------------------------------
  244.  
  245. Player = game.Players.InfiniteOneWithdank
  246. Character = Player.Character
  247. local txt = Instance.new("BillboardGui", Character)
  248. txt.Adornee = Character.Head
  249. txt.Name = "_status"
  250. txt.Size = UDim2.new(2, 0, 1.2, 0)
  251. txt.StudsOffset = Vector3.new(-9, 8, 0)
  252. local text = Instance.new("TextLabel", txt)
  253. text.Size = UDim2.new(10, 0, 7, 0)
  254. text.FontSize = "Size24"
  255. text.TextScaled = true
  256. text.TextTransparency = 0
  257. text.BackgroundTransparency = 1
  258. text.TextTransparency = 0
  259. text.TextStrokeTransparency = 0
  260. text.Font = "Bodoni"
  261. text.TextStrokeColor3 = Color3.new(0,.7,0)
  262. text.Text = "Terra Warrior"
  263.  
  264. function ApplyDamage(Humanoid, Damage, TorsoPart)
  265. local defence = Instance.new("BoolValue", Humanoid.Parent)
  266. defence.Name = "HitBy" .. Player.Name
  267. game:GetService("Debris"):AddItem(defence, 0.001)
  268. Damage = Damage * DAMAGEMULTIPLIER
  269. if Humanoid.Health ~= 0 then
  270. local CritChance = MRANDOM(1, 100)
  271. if Damage > Humanoid.Health then
  272. Damage = math.ceil(Humanoid.Health)
  273. if Damage == 0 then
  274. Damage = 0.1
  275. end
  276. end
  277. Humanoid.Health = Humanoid.Health - Damage
  278. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  279. end
  280. end
  281.  
  282. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  283. local CHILDREN = workspace:GetDescendants()
  284. for index, CHILD in pairs(CHILDREN) do
  285. if CHILD.ClassName == "Model" and CHILD ~= Character then
  286. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  287. if HUM then
  288. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  289. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  290. if INSTAKILL == true then
  291. CHILD:BreakJoints()
  292. else
  293. local DMG = MRANDOM(MINDMG, MAXDMG)
  294. ApplyDamage(HUM, DMG, TORSO)
  295. end
  296. if FLING > 0 then
  297. for _, c in pairs(CHILD:GetChildren()) do
  298. if c:IsA("BasePart") then
  299. local bv = Instance.new("BodyVelocity")
  300. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  301. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  302. bv.Parent = c
  303. Debris:AddItem(bv, 0.05)
  304. end
  305. end
  306. end
  307. end
  308. end
  309. end
  310. end
  311. end
  312.  
  313. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  314. local NEWPART = IT("Part")
  315. NEWPART.formFactor = FORMFACTOR
  316. NEWPART.Reflectance = REFLECTANCE
  317. NEWPART.Transparency = TRANSPARENCY
  318. NEWPART.CanCollide = false
  319. NEWPART.Locked = true
  320. NEWPART.Anchored = true
  321. if ANCHOR == false then
  322. NEWPART.Anchored = false
  323. end
  324. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  325. NEWPART.Name = NAME
  326. NEWPART.Size = SIZE
  327. NEWPART.Position = Torso.Position
  328. NEWPART.Material = MATERIAL
  329. NEWPART:BreakJoints()
  330. NEWPART.Parent = PARENT
  331. return NEWPART
  332. end
  333. Player_Size = 1
  334. Animation_Speed = 3
  335. Frame_Speed = 0.016666666666666666
  336. local Speed = 16
  337. local Effects2 = {}
  338. local weldBetween = function(a, b)
  339. local weldd = Instance.new("ManualWeld")
  340. weldd.Part0 = a
  341. weldd.Part1 = b
  342. weldd.C0 = CFrame.new()
  343. weldd.C1 = b.CFrame:inverse() * a.CFrame
  344. weldd.Parent = a
  345. return weldd
  346. end
  347. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  348. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  349. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  350. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  351. local CHANGEDEFENSE = 0
  352. local CHANGEDAMAGE = 0
  353. local CHANGEMOVEMENT = 0
  354. local ANIM = "Idle"
  355. local ATTACK = false
  356. local EQUIPPED = false
  357. local HOLD = false
  358. local COMBO = 1
  359. local Rooted = false
  360. local SINE = 0
  361. local KEYHOLD = false
  362. local CHANGE = 2 / Animation_Speed
  363. local WALKINGANIM = false
  364. local WALK = 0
  365. local VALUE1 = false
  366. local VALUE2 = false
  367. local ROBLOXIDLEANIMATION = IT("Animation")
  368. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  369. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  370. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  371. WEAPONGUI.Name = "Weapon GUI"
  372. local Effects = IT("Folder", Character)
  373. Effects.Name = "Effects"
  374. local ANIMATOR = Humanoid.Animator
  375. local ANIMATE = Character.Animate
  376. local ATTACKEDTAUNTS = {
  377. "907332040",
  378. "907332525",
  379. "907330011"
  380. }
  381. local ATTACKTAUNTS = {
  382. "907329893",
  383. "907329532",
  384. "907333294",
  385. "907332856"
  386. }
  387. local ULTTAUNTS = {
  388. "907332997",
  389. "907332670",
  390. "907330103"
  391. }
  392. local UNANCHOR = true
  393. local SKILLTEXTCOLOR = C3(0, .6, 0)
  394. ArtificialHB = Instance.new("BindableEvent", script)
  395. ArtificialHB.Name = "ArtificialHB"
  396. script:WaitForChild("ArtificialHB")
  397. frame = Frame_Speed
  398. tf = 0
  399. allowframeloss = false
  400. tossremainder = false
  401. lastframe = tick()
  402. script.ArtificialHB:Fire()
  403. game:GetService("RunService").Heartbeat:connect(function(s, p)
  404. tf = tf + s
  405. if tf >= frame then
  406. if allowframeloss then
  407. script.ArtificialHB:Fire()
  408. lastframe = tick()
  409. else
  410. for i = 1, math.floor(tf / frame) do
  411. script.ArtificialHB:Fire()
  412. end
  413. lastframe = tick()
  414. end
  415. if tossremainder then
  416. tf = 0
  417. else
  418. tf = tf - frame * math.floor(tf / frame)
  419. end
  420. end
  421. end)
  422.  
  423. --><Some Functions
  424.  
  425. function WACKYEFFECT(Table)
  426. local TYPE = Table.EffectType or "Sphere"
  427. local SIZE = Table.Size or VT(1, 1, 1)
  428. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  429. local TRANSPARENCY = Table.Transparency or 0
  430. local ENDTRANSPARENCY = Table.Transparency2 or 1
  431. local CFRAME = Table.CFrame or Torso.CFrame
  432. local MOVEDIRECTION = Table.MoveToPos or nil
  433. local ROTATION1 = Table.RotationX or 0
  434. local ROTATION2 = Table.RotationY or 0
  435. local ROTATION3 = Table.RotationZ or 0
  436. local MATERIAL = Table.Material or "Neon"
  437. local COLOR = Table.Color or C3(1, 1, 1)
  438. local TIME = Table.Time or 45
  439. local SOUNDID = Table.SoundID or nil
  440. local SOUNDPITCH = Table.SoundPitch or nil
  441. local SOUNDVOLUME = Table.SoundVolume or nil
  442. coroutine.resume(coroutine.create(function()
  443. local PLAYSSOUND = false
  444. local SOUND
  445. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  446. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  447. PLAYSSOUND = true
  448. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  449. end
  450. EFFECT.Color = COLOR
  451. local MSH
  452. if TYPE == "Sphere" then
  453. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  454. elseif TYPE == "Block" then
  455. MSH = IT("BlockMesh", EFFECT)
  456. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  457. elseif TYPE == "Wave" then
  458. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  459. elseif TYPE == "Ring" then
  460. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  461. elseif TYPE == "Slash" then
  462. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  463. elseif TYPE == "Round Slash" then
  464. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  465. elseif TYPE == "Swirl" then
  466. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  467. elseif TYPE == "Skull" then
  468. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  469. elseif TYPE == "Crystal" then
  470. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  471. end
  472. if MSH ~= nil then
  473. local MOVESPEED
  474. if MOVEDIRECTION ~= nil then
  475. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  476. end
  477. local GROWTH = SIZE - ENDSIZE
  478. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  479. if TYPE == "Block" then
  480. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  481. else
  482. EFFECT.CFrame = CFRAME
  483. end
  484. for LOOP = 1, TIME do
  485. Swait()
  486. MSH.Scale = MSH.Scale - GROWTH / TIME
  487. if TYPE == "Wave" then
  488. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  489. end
  490. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  491. if TYPE == "Block" then
  492. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  493. else
  494. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  495. end
  496. if MOVEDIRECTION ~= nil then
  497. local ORI = EFFECT.Orientation
  498. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  499. EFFECT.Orientation = ORI
  500. end
  501. end
  502. if PLAYSSOUND == false then
  503. EFFECT:remove()
  504. else
  505. repeat
  506. Swait()
  507. until SOUND.Playing == false
  508. EFFECT:remove()
  509. end
  510. elseif PLAYSSOUND == false then
  511. EFFECT:remove()
  512. else
  513. repeat
  514. Swait()
  515. until SOUND.Playing == false
  516. EFFECT:remove()
  517. end
  518. end))
  519. end
  520.  
  521. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  522. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  523. end
  524. function PositiveAngle(NUMBER)
  525. if NUMBER >= 0 then
  526. NUMBER = 0
  527. end
  528. return NUMBER
  529. end
  530. function NegativeAngle(NUMBER)
  531. if NUMBER <= 0 then
  532. NUMBER = 0
  533. end
  534. return NUMBER
  535. end
  536. function Swait(NUMBER)
  537. if NUMBER == 0 or NUMBER == nil then
  538. ArtificialHB.Event:wait()
  539. else
  540. for i = 1, NUMBER do
  541. ArtificialHB.Event:wait()
  542. end
  543. end
  544. end
  545. function chatfunc(text)
  546. local chat = coroutine.wrap(function()
  547. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  548. Character:FindFirstChild("TalkingBillBoard"):destroy()
  549. end
  550. local Bill = Instance.new("BillboardGui",Character)
  551. Bill.Size = UDim2.new(0,100,0,40)
  552. Bill.StudsOffset = Vector3.new(0,2,0)
  553. Bill.Adornee = Character.Head
  554. Bill.Name = "TalkingBillBoard"
  555. local Hehe = Instance.new("TextLabel",Bill)
  556. Hehe.BackgroundTransparency = 1
  557. Hehe.BorderSizePixel = 0
  558. Hehe.Text = ""
  559. Hehe.Font = "Antique"
  560. Hehe.TextSize = 40
  561. Hehe.TextStrokeTransparency = 0
  562. Hehe.Size = UDim2.new(1,0,0.5,0)
  563. coroutine.resume(coroutine.create(function()
  564. while Hehe ~= nil do
  565. Swait()
  566. Hehe.Position = UDim2.new(math.random(-.2,.2),math.random(-1,1),.05,math.random(-1,1))
  567. Hehe.Rotation = math.random(-5,5)
  568. Hehe.TextColor3 = Color3.new(0,.7,0)
  569. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  570. end
  571. end))
  572. for i = 1,string.len(text),1 do
  573. Swait()
  574. Hehe.Text = string.sub(text,1,i)
  575. end
  576. Swait(90)--Re[math.random(1, 93)]
  577. for i = 0, 1, .025 do
  578. Swait()
  579. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  580. Hehe.TextStrokeTransparency = i
  581. Hehe.TextTransparency = i
  582. end
  583. Bill:Destroy()
  584. end)
  585. chat()
  586. end
  587.  
  588. function onChatted(msg)
  589. chatfunc(msg)
  590. end
  591.  
  592. Player.Chatted:connect(onChatted)
  593.  
  594. function QuaternionFromCFrame(cf)
  595. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  596. local trace = m00 + m11 + m22
  597. if trace > 0 then
  598. local s = math.sqrt(1 + trace)
  599. local recip = 0.5 / s
  600. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  601. else
  602. local i = 0
  603. if m00 < m11 then
  604. i = 1
  605. end
  606. if m22 > (i == 0 and m00 or m11) then
  607. i = 2
  608. end
  609. if i == 0 then
  610. local s = math.sqrt(m00 - m11 - m22 + 1)
  611. local recip = 0.5 / s
  612. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  613. elseif i == 1 then
  614. local s = math.sqrt(m11 - m22 - m00 + 1)
  615. local recip = 0.5 / s
  616. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  617. elseif i == 2 then
  618. local s = math.sqrt(m22 - m00 - m11 + 1)
  619. local recip = 0.5 / s
  620. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  621. end
  622. end
  623. end
  624. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  625. local xs, ys, zs = x + x, y + y, z + z
  626. local wx, wy, wz = w * xs, w * ys, w * zs
  627. local xx = x * xs
  628. local xy = x * ys
  629. local xz = x * zs
  630. local yy = y * ys
  631. local yz = y * zs
  632. local zz = z * zs
  633. 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))
  634. end
  635. function QuaternionSlerp(a, b, t)
  636. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  637. local startInterp, finishInterp
  638. if cosTheta >= 1.0E-4 then
  639. if 1 - cosTheta > 1.0E-4 then
  640. local theta = ACOS(cosTheta)
  641. local invSinTheta = 1 / SIN(theta)
  642. startInterp = SIN((1 - t) * theta) * invSinTheta
  643. finishInterp = SIN(t * theta) * invSinTheta
  644. else
  645. startInterp = 1 - t
  646. finishInterp = t
  647. end
  648. elseif 1 + cosTheta > 1.0E-4 then
  649. local theta = ACOS(-cosTheta)
  650. local invSinTheta = 1 / SIN(theta)
  651. startInterp = SIN((t - 1) * theta) * invSinTheta
  652. finishInterp = SIN(t * theta) * invSinTheta
  653. else
  654. startInterp = t - 1
  655. finishInterp = t
  656. end
  657. 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
  658. end
  659. function Clerp(a, b, t)
  660. local qa = {
  661. QuaternionFromCFrame(a)
  662. }
  663. local qb = {
  664. QuaternionFromCFrame(b)
  665. }
  666. local ax, ay, az = a.x, a.y, a.z
  667. local bx, by, bz = b.x, b.y, b.z
  668. local _t = 1 - t
  669. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  670. end
  671.  
  672. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  673. local frame = IT("Frame")
  674. frame.BackgroundTransparency = TRANSPARENCY
  675. frame.BorderSizePixel = BORDERSIZEPIXEL
  676. frame.Position = POSITION
  677. frame.Size = SIZE
  678. frame.BackgroundColor3 = COLOR
  679. frame.BorderColor3 = BORDERCOLOR
  680. frame.Name = NAME
  681. frame.Parent = PARENT
  682. return frame
  683. end
  684. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  685. local label = IT("TextLabel")
  686. label.BackgroundTransparency = 1
  687. label.Size = UD2(1, 0, 1, 0)
  688. label.Position = UD2(0, 0, 0, 0)
  689. label.TextColor3 = TEXTCOLOR
  690. label.TextStrokeTransparency = STROKETRANSPARENCY
  691. label.TextTransparency = TRANSPARENCY
  692. label.FontSize = TEXTFONTSIZE
  693. label.Font = TEXTFONT
  694. label.BorderSizePixel = BORDERSIZEPIXEL
  695. label.TextScaled = false
  696. label.Text = TEXT
  697. label.Name = NAME
  698. label.Parent = PARENT
  699. return label
  700. end
  701. function NoOutlines(PART)
  702. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  703. end
  704. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  705. local NEWWELD = IT(TYPE)
  706. NEWWELD.Part0 = PART0
  707. NEWWELD.Part1 = PART1
  708. NEWWELD.C0 = C0
  709. NEWWELD.C1 = C1
  710. NEWWELD.Parent = PARENT
  711. return NEWWELD
  712. end
  713. local S = IT("Sound")
  714. function CreateSound(ID, PARENT, VOLUME, PITCH)
  715. local NEWSOUND
  716. coroutine.resume(coroutine.create(function()
  717. NEWSOUND = S:Clone()
  718. NEWSOUND.Parent = PARENT
  719. NEWSOUND.Volume = VOLUME
  720. NEWSOUND.Pitch = PITCH
  721. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  722. Swait()
  723. NEWSOUND:play()
  724. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  725. end))
  726. return NEWSOUND
  727. end
  728. function CFrameFromTopBack(at, top, back)
  729. local right = top:Cross(back)
  730. 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)
  731. end
  732.  
  733. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  734. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Color3.fromRGB(CR,CG,CB), "Effect", VT(0,0,0))
  735. local mesh = IT("SpecialMesh",wave)
  736. mesh.MeshType = "FileMesh"
  737. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  738. mesh.Scale = SIZE
  739. mesh.Offset = VT(0,0,-SIZE.X/8)
  740. wave.CFrame = CFRAME
  741. coroutine.resume(coroutine.create(function(PART)
  742. for i = 1, WAIT do
  743. Swait()
  744. mesh.Scale = mesh.Scale + GROW
  745. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  746. if DOESROT == true then
  747. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  748. end
  749. wave.Transparency = wave.Transparency + (0.5/WAIT)
  750. if wave.Transparency > 0.99 then
  751. wave:remove()
  752. end
  753. end
  754. end))
  755. end
  756. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  757. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  758. local mesh = IT("SpecialMesh",wave)
  759. mesh.MeshType = "FileMesh"
  760. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  761. mesh.Scale = SIZE
  762. mesh.Offset = VT(0,0,0)
  763. wave.CFrame = CFRAME
  764. coroutine.resume(coroutine.create(function(PART)
  765. for i = 1, WAIT do
  766. Swait()
  767. mesh.Scale = mesh.Scale + GROW
  768. if DOESROT == true then
  769. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  770. end
  771. wave.Transparency = wave.Transparency + (0.5/WAIT)
  772. if wave.Transparency > 0.99 then
  773. wave:remove()
  774. end
  775. end
  776. end))
  777. end
  778. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  779. local wave = CreatePart(3, Effects, "Neon", 0, 0, Color3.fromRGB(CR,CG,CB), "Effect", VT(1,1,1), true)
  780. local mesh = IT("SpecialMesh",wave)
  781. mesh.MeshType = "Sphere"
  782. mesh.Scale = SIZE
  783. mesh.Offset = VT(0,0,0)
  784. wave.CFrame = CFRAME
  785. coroutine.resume(coroutine.create(function(PART)
  786. for i = 1, WAIT do
  787. Swait()
  788. mesh.Scale = mesh.Scale + GROW
  789. wave.Transparency = wave.Transparency + (1/WAIT)
  790. if wave.Transparency > 0.99 then
  791. wave:remove()
  792. end
  793. end
  794. end))
  795. end
  796. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  797. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  798. local mesh
  799. if KIND == "Base" then
  800. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  801. elseif KIND == "Thin" then
  802. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  803. elseif KIND == "Round" then
  804. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  805. end
  806. wave.CFrame = CFRAME
  807. coroutine.resume(coroutine.create(function(PART)
  808. for i = 1, WAIT do
  809. Swait()
  810. mesh.Scale = mesh.Scale + GROW / 10
  811. wave.Transparency = wave.Transparency + 0.5 / WAIT
  812. if wave.Transparency > 0.99 then
  813. wave:remove()
  814. end
  815. end
  816. end))
  817. end
  818. function Crystsal(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  819. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  820. local mesh
  821. if KIND == "Base" then
  822. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  823. elseif KIND == "Thin" then
  824. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "9756362", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  825. elseif KIND == "Round" then
  826. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "9756362", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  827. end
  828. wave.CFrame = CFRAME
  829. coroutine.resume(coroutine.create(function(PART)
  830. for i = 1, WAIT do
  831. Swait()
  832. mesh.Scale = mesh.Scale + GROW / 10
  833. wave.Transparency = wave.Transparency + 0.5 / WAIT
  834. if wave.Transparency > 0.99 then
  835. wave:remove()
  836. end
  837. end
  838. end))
  839. end
  840. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  841. for _, c in pairs(PARENT:GetChildren()) do
  842. if c.ClassName == "Model" then
  843. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  844. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  845. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  846. if DIST > (TORSO.Position - FROM).Magnitude then
  847. table.insert(TABLE, c)
  848. end
  849. AddChildrenToTable(FROM, c, DIST, TABLE)
  850. elseif c.ClassName == "Folder" then
  851. AddChildrenToTable(FROM, c, DIST, TABLE)
  852. end
  853. end
  854. end
  855. end
  856. function MakeForm(PART, TYPE)
  857. if TYPE == "Cyl" then
  858. local MSH = IT("CylinderMesh", PART)
  859. elseif TYPE == "Ball" then
  860. local MSH = IT("SpecialMesh", PART)
  861. MSH.MeshType = "Sphere"
  862. elseif TYPE == "Wedge" then
  863. local MSH = IT("SpecialMesh", PART)
  864. MSH.MeshType = "Wedge"
  865. end
  866. end
  867. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  868. if DoesCourontine == false then
  869. local Direction = CF(Part.Position, ToLocation)
  870. local Distance = (Part.Position - ToLocation).magnitude
  871. for i = 1, AmountOfTime do
  872. Swait()
  873. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  874. Direction = Part.CFrame
  875. end
  876. Part:remove()
  877. elseif DoesCourontine == true then
  878. coroutine.resume(coroutine.create(function()
  879. local Direction = CF(Part.Position, ToLocation)
  880. local Distance = (Part.Position - ToLocation).magnitude
  881. for i = 1, AmountOfTime do
  882. Swait()
  883. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  884. Direction = Part.CFrame
  885. end
  886. Part:remove()
  887. end))
  888. end
  889. end
  890. function CheckTableForString(Table, String)
  891. for i, v in pairs(Table) do
  892. if string.find(string.lower(String), string.lower(v)) then
  893. return true
  894. end
  895. end
  896. return false
  897. end
  898. function CheckIntangible(Hit)
  899. local ProjectileNames = {
  900. "Water",
  901. "Arrow",
  902. "Projectile",
  903. "Effect",
  904. "Rail",
  905. "Lightning",
  906. "Bullet"
  907. }
  908. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  909. return true
  910. end
  911. return false
  912. end
  913. Debris = game:GetService("Debris")
  914. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  915. local Direction = CFrame.new(StartPos, Vec).lookVector
  916. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  917. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  918. if RayHit and CheckIntangible(RayHit) then
  919. if DelayIfHit then
  920. wait()
  921. end
  922. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  923. end
  924. return RayHit, RayPos, RayNormal
  925. end
  926.  
  927. --><Misc And Some Stuff
  928.  
  929. --gay rainbow stuff by davodio
  930.  
  931. local cR=255
  932. local cG=0
  933. local cB=0
  934. local flg5=1 local omgidk=1
  935. local add=10.5
  936. game:GetService('RunService').Heartbeat:connect(function()
  937. if omgidk>10000 then omgidk=0 end
  938. omgidk=omgidk+1
  939. if cR>=255 then flg5=1 end
  940. if cG>=255 then flg5=2 end
  941. if cB>=255 then flg5=3 end
  942. if flg5==1 then cR=cR-add cG=cG+add end
  943. if flg5==2 then cG=cG-add cB=cB+add end
  944. if flg5==3 then cB=cB-add cR=cR+add end
  945. end)
  946.  
  947. function turnto(position)
  948. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  949. end
  950.  
  951. local Particle = IT("ParticleEmitter",nil)
  952. Particle.Enabled = false
  953. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  954. Particle.LightEmission = 0.5
  955. Particle.Rate = 150
  956. Particle.ZOffset = 0.2
  957. Particle.Rotation = NumberRange.new(-180, 180)
  958. Particle.RotSpeed = NumberRange.new(-180, 180)
  959. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  960. Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
  961.  
  962. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  963. function ParticleEmitter(Table)
  964. local PRTCL = Particle:Clone()
  965. local Speed = Table.Speed or 5
  966. local Drag = Table.Drag or 0
  967. local Size1 = Table.Size1 or 1
  968. local Size2 = Table.Size2 or 5
  969. local Lifetime1 = Table.Lifetime1 or 1
  970. local Lifetime2 = Table.Lifetime2 or 1.5
  971. local Parent = Table.Parent or Torso
  972. local Emit = Table.Emit or 100
  973. local Offset = Table.Offset or 360
  974. local Acel = Table.Acel or VT(0,0,0)
  975. local Enabled = Table.Enabled or false
  976. PRTCL.Parent = Parent
  977. PRTCL.Size = NumberSequence.new(Size1,Size2)
  978. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  979. PRTCL.Speed = NumberRange.new(Speed)
  980. PRTCL.VelocitySpread = Offset
  981. PRTCL.Drag = Drag
  982. PRTCL.Acceleration = Acel
  983. if Enabled == false then
  984. PRTCL:Emit(Emit)
  985. Debris:AddItem(PRTCL,Lifetime2)
  986. else
  987. PRTCL.Enabled = true
  988. end
  989. return PRTCL
  990. end
  991.  
  992. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true, Acel = VT(13,19,18)})
  993. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true, Acel = VT(13,19,18)})
  994.  
  995. local SKILLTEXTCOLOR = C3(0,.6,0)
  996. local SKILLFONT = "Bodoni"
  997. local SKILLTEXTSIZE = 7
  998. Humanoid.Died:connect(function()
  999. Humanoid.Parent = nil
  1000. Humanoid.MaxHealth = "inf"
  1001. Humanoid.Health = "inf"
  1002. refit()
  1003. Humanoid.Parent = Character
  1004. CreateSound(ATTACKEDTAUNTS[MRANDOM(1, #ATTACKEDTAUNTS)], Head, 10, 0.9)
  1005. for i = 1, 5 do
  1006. Slice("Round", 0.6, 35, CF(Torso.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "New Yeller", VT(0.1, 0, 0.1))
  1007. end
  1008. killnearesta(Torso.Position, 25, 180)
  1009. end)
  1010. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1011. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1012. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1013. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1014. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1015. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1016. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.66, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1017. local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.62, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame")
  1018. local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.58, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
  1019. local SKILL10FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.54, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 10 Frame")
  1020. local SKILL11FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 11 Frame")
  1021.  
  1022. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 1")
  1023. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 2")
  1024. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 3")
  1025. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 4")
  1026. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 5")
  1027. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 6")
  1028. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[T]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 7")
  1029. local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 8")
  1030. local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[R]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 9")
  1031. local SKILL10TEXT = CreateLabel(SKILL10FRAME, "[F]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 10")
  1032. local SKILL11TEXT = CreateLabel(SKILL11FRAME, "Terra Warrior By InfiniteOneWithdank", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 255, 255, 0, "Text 11")
  1033. function StatLabel(CFRAME, TEXT, COLOR)
  1034. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1035. STATPART.CFrame = CF(CFRAME.p, CFRAME.p + VT(MRANDOM(-5, 5), MRANDOM(0, 5), MRANDOM(-5, 5)))
  1036. local BODYGYRO = IT("BodyGyro", STATPART)
  1037. game:GetService("Debris"):AddItem(STATPART, 5)
  1038. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1039. BILLBOARDGUI.Adornee = STATPART
  1040. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5, 0)
  1041. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1042. BILLBOARDGUI.AlwaysOnTop = false
  1043. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1044. TEXTLABEL.BackgroundTransparency = 1
  1045. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1046. TEXTLABEL.Text = TEXT
  1047. TEXTLABEL.Font = SKILLFONT
  1048. TEXTLABEL.FontSize = "Size42"
  1049. TEXTLABEL.TextColor3 = COLOR
  1050. TEXTLABEL.TextStrokeTransparency = 0
  1051. TEXTLABEL.TextScaled = true
  1052. TEXTLABEL.TextWrapped = true
  1053. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1054. for i = 1, 50 do
  1055. Swait()
  1056. STATPART.CFrame = STATPART.CFrame * CF(0, 0, -0.2)
  1057. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + 0.02
  1058. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1059. end
  1060. THEPART.Parent = nil
  1061. end), STATPART, TEXTLABEL)
  1062. end
  1063.  
  1064. --><Attack Stuffs B
  1065.  
  1066. function killnearesta(position, range, maxstrength)
  1067. for i, v in ipairs(workspace:GetChildren()) do
  1068. local body = v:GetChildren()
  1069. for part = 1, #body do
  1070. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  1071. if v.ClassName == "Model" then
  1072. v:BreakJoints()
  1073. end
  1074. local bv = Instance.new("BodyVelocity")
  1075. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1076. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  1077. bv.Parent = body[part]
  1078. Debris:AddItem(bv, 0.2)
  1079. end
  1080. end
  1081. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  1082. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  1083. end
  1084. end
  1085. end
  1086.  
  1087. function Petrify(Foe)
  1088. local STONEMODEL = IT("Model", Effects)
  1089. local CHILDREN = Foe:GetDescendants()
  1090. for index, CHILD in pairs(CHILDREN) do
  1091. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  1092. CHILD.Parent = STONEMODEL
  1093. CHILD.Material = "Neon"
  1094. coroutine.resume(coroutine.create(function()
  1095. while true do
  1096. Swait()
  1097. CHILD.Color = Color3.fromRGB(cR,cG,cB)
  1098. end
  1099. end))
  1100. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  1101. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  1102. mesh.TextureId = ""
  1103. end
  1104. if CHILD:FindFirstChildOfClass("Decal") then
  1105. local mesh = CHILD:FindFirstChildOfClass("Decal")
  1106. mesh:remove()
  1107. end
  1108. if CHILD.ClassName == "MeshPart" then
  1109. CHILD.TextureID = ""
  1110. end
  1111. if CHILD.ClassName == "UnionOperation" then
  1112. CHILD.UsePartColor = true
  1113. end
  1114. CHILD.CanCollide = true
  1115. end
  1116. end
  1117. Debris:AddItem(STONEMODEL, 5)
  1118. end
  1119.  
  1120. function Rainbowify(model,collide)
  1121. local RAINBOWMODEL = IT("Model", Effects)
  1122. local PARTS = model:GetChildren()
  1123. for index, part in pairs(PARTS) do
  1124. if part:IsA("Part") and part.Parent.ClassName ~= "Folder" then
  1125. part.Parent = RAINBOWMODEL
  1126. coroutine.resume(coroutine.create(function()
  1127. while true do
  1128. Swait()
  1129. part.Color = Color3.fromRGB(cR,cG,cB)
  1130. end
  1131. end))
  1132. if collide == true then
  1133. part.CanCollide = true
  1134. else
  1135. part.CanCollide = false
  1136. end
  1137. end
  1138. end
  1139. Debris:AddItem(RAINBOWMODEL, 1e9999)
  1140. end
  1141.  
  1142. function Charge(TIME,GYRO)
  1143. local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
  1144. local G = nil
  1145. if GYRO == true then
  1146. G = IT("BodyGyro",RootPart)
  1147. G.D = 250
  1148. G.P = 200000
  1149. G.MaxTorque = VT(math.huge,math.huge,math.huge)
  1150. end
  1151. for i=0, TIME, 0.1 / Animation_Speed do
  1152. Swait()
  1153. if G then
  1154. G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1155. end
  1156. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1157. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1158. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1159. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1160. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1161. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1162. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1163. end
  1164. SND:remove()
  1165. if G then
  1166. return G
  1167. end
  1168. end
  1169.  
  1170. function ApplyAoE2(POSITION,RANGE,ow)
  1171. local CHILDREN = workspace:GetDescendants()
  1172. for index, CHILD in pairs(CHILDREN) do
  1173. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1174. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1175. if HUM then
  1176. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1177. if TORSO then
  1178. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1179. if ow == true then
  1180. Petrify(CHILD)
  1181. else
  1182. CHILD:BreakJoints()
  1183. end
  1184. end
  1185. end
  1186. end
  1187. end
  1188. end
  1189. end
  1190.  
  1191. function yeetus()
  1192. print("this aint done boi")
  1193. end
  1194.  
  1195. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1196. local DIRECTION = CF(StartPos,EndPos).lookVector
  1197. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1198. end
  1199.  
  1200. function SpawnTrail(FROM,TO,BIG)
  1201. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Trail", VT(0,0,0))
  1202. MakeForm(TRAIL,"Sphere")
  1203. local DIST = (FROM - TO).Magnitude
  1204. if BIG == true then
  1205. TRAIL.Size = VT(0.35,DIST,0.35)
  1206. else
  1207. TRAIL.Size = VT(0.55,DIST,0.55)
  1208. end
  1209. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1210. coroutine.resume(coroutine.create(function()
  1211. for i = 1, 5 do
  1212. Swait()
  1213. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1214. end
  1215. TRAIL:remove()
  1216. end))
  1217. end
  1218.  
  1219. local PE3=Instance.new("ParticleEmitter",nil)
  1220. PE3.LightEmission=.8
  1221. PE3.Color = ColorSequence.new(BRICKC("Bright Green").Color)
  1222. coroutine.resume(coroutine.create(function()
  1223. while true do
  1224. Swait()
  1225. PE.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB))
  1226. end
  1227. end))
  1228. PE3.Size=NumberSequence.new(EyeSizes)
  1229. PE3.Transparency=NumberSequence.new(EyeTrans)
  1230. PE3.Lifetime=NumberRange.new(0.35,1.5)
  1231. PE3.Rotation=NumberRange.new(0,360)
  1232. PE3.Rate=999
  1233. PE3.VelocitySpread = 10000
  1234. PE3.Acceleration = Vector3.new(0,0,0)
  1235. PE3.Drag = 5
  1236. PE3.Speed = NumberRange.new(0,0,0)
  1237. PE3.Texture="http://www.roblox.com/asset/?id=1509406387"
  1238. PE3.ZOffset = -0
  1239. PE3.Name = "PE"
  1240. PE3.Enabled = false
  1241.  
  1242. function particles2(art)
  1243. local PARTICLES = PE3:Clone()
  1244. PARTICLES.Parent = art
  1245. end
  1246.  
  1247. function Dustify(v)
  1248. v:BreakJoints()
  1249. for _, c in pairs(v:GetChildren()) do
  1250. if c:IsA("BasePart") then
  1251. if c.Transparency < 1 then
  1252. if c:FindFirstChildOfClass("Decal") then
  1253. c:FindFirstChildOfClass("Decal"):remove()
  1254. end
  1255. particles2(c)
  1256. c.PE.Enabled = true
  1257. c.Parent = Effects
  1258. c.CanCollide = false
  1259. c.Material = "Neon"
  1260. c.Color = C3(0,1,0)
  1261. c.Transparency = 1
  1262. local grav = Instance.new("BodyPosition",c)
  1263. grav.P = 20000
  1264. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1265. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1266. grav.Name = "GravityForce"
  1267. coroutine.resume(coroutine.create(function()
  1268. for i = 1, 20 do
  1269. Swait()
  1270. c.Transparency = c.Transparency + 1/20
  1271. end
  1272. c.PE.Enabled = false
  1273. Debris:AddItem(c,3)
  1274. end))
  1275. end
  1276. end
  1277. end
  1278. end
  1279.  
  1280. function killnearest(position,range,maxstrength,direction)
  1281. for i,v in ipairs(workspace:GetChildren()) do
  1282. local body = v:GetChildren()
  1283. for part = 1, #body do
  1284. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1285. if(body[part].Position - position).Magnitude < range then
  1286. if v.ClassName == "Model" then
  1287. --v:BreakJoints()
  1288. end
  1289. local POS = position
  1290. coroutine.resume(coroutine.create(function()
  1291. body[part].Anchored = true
  1292. body[part].Parent = Effects
  1293. body[part].CanCollide = true
  1294. local SIZE = body[part].Size
  1295. body[part].Material = "Neon"
  1296. CreateSound("2013169887", body[part], 2, MRANDOM(7, 12) / 10)
  1297. for i = 1, 75 do
  1298. Swait()
  1299. body[part].Color = Color3.fromRGB(cR,cG,cB)
  1300. end
  1301. coroutine.resume(coroutine.create(function()
  1302. while true do
  1303. Swait()
  1304. body[part].Color = Color3.fromRGB(cR,cG,cB)
  1305. body[part]:BreakJoints()
  1306. end
  1307. end))
  1308. body[part].Anchored = false
  1309. body[part]:BreakJoints()
  1310. body[part].Velocity = direction.lookVector*maxstrength
  1311. wait(3.7)
  1312. body[part]:Destroy()
  1313. end))
  1314. end
  1315. end
  1316. end
  1317. if v.ClassName == "Part" then
  1318. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1319. local POS = position
  1320. coroutine.resume(coroutine.create(function()
  1321. v.Anchored = true
  1322. v.Parent = Effects
  1323. local SIZE = v.Size
  1324. v.Material = "Neon"
  1325. CreateSound("2013169887", v, 2, MRANDOM(7, 12) / 10)
  1326. for i = 1, 75 do
  1327. Swait()
  1328. v.Color = Color3.fromRGB(cR,cG,cB)
  1329. end
  1330. coroutine.resume(coroutine.create(function()
  1331. while true do
  1332. Swait()
  1333. v.Color = Color3.fromRGB(cR,cG,cB)
  1334. end
  1335. end))
  1336. v.Anchored = false
  1337. v.Velocity = direction.lookVector*maxstrength
  1338. wait(3.7)
  1339. v:Destroy()
  1340. end))
  1341. end
  1342. end
  1343. end
  1344. end
  1345.  
  1346. local SIZE = 1
  1347.  
  1348. local Weapon = IT("Model")
  1349. Weapon.Name = "Adds"
  1350.  
  1351. local TT = Instance.new("Part")
  1352. TT.Parent = Weapon
  1353. TT.Transparency = 1
  1354. TT.Size = Vector3.new(1, 1, 1)
  1355. TT.CFrame = char.Torso.CFrame
  1356. TT.CanCollide = false
  1357. TT.Color = Color3.new(255,255,255)
  1358. TT.TopSurface = "Smooth"
  1359. TT.BottomSurface = "Smooth"
  1360.  
  1361. function Duster()
  1362. ATTACK = true
  1363. Rooted = true
  1364. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1365. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1366. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1367. if TORSO then
  1368. local GYRO = IT("BodyGyro", RootPart)
  1369. GYRO.D = 750
  1370. GYRO.P = 2000
  1371. GYRO.MaxTorque = VT(0, 40000, 0)
  1372. for i = 0, 0.3, 0.1 / Animation_Speed do
  1373. Swait()
  1374. WACKYEFFECT({
  1375. Time = 5,
  1376. EffectType = "Round Slash",
  1377. Size = VT(0, 0, 0),
  1378. Size2 = VT(0.01, 0, 0.01),
  1379. Transparency = 0.5,
  1380. Transparency2 = 1,
  1381. CFrame = CF(TT.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1382. MoveToPos = nil,
  1383. RotationX = MRANDOM(-50, 50) / 10,
  1384. RotationY = MRANDOM(-50, 50) / 10,
  1385. RotationZ = MRANDOM(-50, 50) / 10,
  1386. Material = "Neon",
  1387. Color = C3(1, 0, 0),
  1388. SoundID = nil,
  1389. SoundPitch = nil,
  1390. SoundVolume = nil
  1391. })
  1392. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  1393. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1394. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1395. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1396. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1397. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1398. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1399. if ANIM == "Idle" then
  1400. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1401. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1402. elseif ANIM == "Walk" then
  1403. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1404. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1405. elseif ANIM == "Jump" or ANIM == "Fall" then
  1406. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1407. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1408. end
  1409. end
  1410. GYRO:remove()
  1411. for i = 0.4, 15 do
  1412. WACKYEFFECT({
  1413. Time = MRANDOM(15, 85),
  1414. EffectType = "Round Slash",
  1415. Size = VT(0, 0, 0),
  1416. Size2 = VT(0.3, 0, 0.3),
  1417. Transparency = 0.5,
  1418. Transparency2 = 1,
  1419. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1420. MoveToPos = nil,
  1421. RotationX = MRANDOM(-50, 50) / 10,
  1422. RotationY = MRANDOM(-50, 50) / 10,
  1423. RotationZ = MRANDOM(-50, 50) / 10,
  1424. Material = "Neon",
  1425. Color = C3(255, 255, 255),
  1426. SoundID = nil,
  1427. SoundPitch = nil,
  1428. SoundVolume = nil
  1429. })
  1430. end
  1431. local bv = Instance.new("BodyVelocity")
  1432. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1433. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  1434. bv.Parent = TORSO
  1435. Debris:AddItem(bv, 0.05)
  1436. CreateSound("539792706", TORSO, 10, 1)
  1437. Dustify(HUM.Parent)
  1438. CreateSound("2231214507", Torso, 10, 1)
  1439. for i = 0, 0.25, 0.1 / Animation_Speed do
  1440. Swait()
  1441. WACKYEFFECT({
  1442. Time = 5,
  1443. EffectType = "Round Slash",
  1444. Size = VT(0, 0, 0),
  1445. Size2 = VT(0.01, 0, 0.01),
  1446. Transparency = 0.5,
  1447. Transparency2 = 1,
  1448. CFrame = CF(TT.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1449. MoveToPos = nil,
  1450. RotationX = MRANDOM(-50, 50) / 10,
  1451. RotationY = MRANDOM(-50, 50) / 10,
  1452. RotationZ = MRANDOM(-50, 50) / 10,
  1453. Material = "Neon",
  1454. Color = C3(255, 255, 255),
  1455. SoundID = nil,
  1456. SoundPitch = nil,
  1457. SoundVolume = nil
  1458. })
  1459. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  1460. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1461. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1462. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1463. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1464. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1465. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1466. if ANIM == "Idle" then
  1467. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1468. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1469. elseif ANIM == "Walk" then
  1470. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1471. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1472. elseif ANIM == "Jump" or ANIM == "Fall" then
  1473. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1474. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1475. end
  1476. end
  1477. end
  1478. end
  1479. ATTACK = false
  1480. Rooted = false
  1481. end
  1482.  
  1483. function ApplyDamage2(Humanoid,Damage,CritRate,CritMultiplier)
  1484. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1485. defence.Name = ("HitBy"..Player.Name)
  1486. game:GetService("Debris"):AddItem(defence, 0.5)
  1487. Humanoid.Health = Humanoid.Health - Damage
  1488. if Humanoid.Parent:FindFirstChild("Head") then
  1489. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1490. end
  1491. end
  1492.  
  1493.  
  1494. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1495. local dmg = math.random(min,max)
  1496. for i,v in ipairs(workspace:GetChildren()) do
  1497. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1498. local body = v:GetChildren()
  1499. for part = 1, #body do
  1500. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1501. if(body[part].Position - position).Magnitude < radius then
  1502. if v.ClassName == "Model" then
  1503. if v:FindFirstChildOfClass("Humanoid") then
  1504. if CanBeDodgedByJumping == true then
  1505. if body[part].Position.Y < position.Y+5 then
  1506. ApplyDamage2(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1507. end
  1508. else
  1509. ApplyDamage2(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1510. end
  1511. local bv = Instance.new("BodyVelocity")
  1512. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1513. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1514. bv.Parent = body[part]
  1515. Debris:AddItem(bv,0.2)
  1516. end
  1517. end
  1518. end
  1519. end
  1520. end
  1521. end
  1522. if v:FindFirstChild("HitBy"..Player.Name) then
  1523. v:FindFirstChild("HitBy"..Player.Name):remove()
  1524. end
  1525. end
  1526. end
  1527.  
  1528. function Oblivion()
  1529. ATTACK = true
  1530. Rooted = true
  1531. for i=0, 2, 0.1 / Animation_Speed do
  1532. Swait()
  1533. 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)
  1534. --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)
  1535. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1536. 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)
  1537. 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)
  1538. 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)
  1539. end
  1540. for i=0, 0.5, 0.1 / Animation_Speed do
  1541. Swait()
  1542. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1543. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1544. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1545. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1546. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1547. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1548. end
  1549. for i = 1, 75 do
  1550. Swait()
  1551. MagicSphere(VT(0.5,0.5,5),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Really red",VT(-0.005,-0.005,0.03),0)
  1552. end
  1553. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  1554. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  1555. ApplyAoE4(Torso.Position, 100, 0, 0, 0, true)
  1556. CreateSound(ENERGYDISPERSE[MRANDOM(1,#ENERGYDISPERSE)], Torso, 10, 0.5)
  1557. CreateSound(ENERGYDISPERSE[MRANDOM(1,#ENERGYDISPERSE)], Torso, 10, 0.5)
  1558. MagicSphere(VT(0,0,0),25,Torso.CFrame,"Really red",VT(5,5,5))
  1559. MagicSphere(VT(0,0,0),50,Torso.CFrame,"Lime green",VT(2.5,2.5,2.5))
  1560. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Really black",VT(6,0,6))
  1561. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Pearl",VT(6,0,6))
  1562. ATTACK = false
  1563. Rooted = false
  1564. end
  1565.  
  1566. local Terra = CreatePart(3, nil, "Neon", 0, 0, BRICKC("New Yeller"), "TerA", VT(1.2,1.2,1.2), true)
  1567. Terra.Color = C3(0,.6,0)
  1568.  
  1569. function brougay()
  1570. CreateSound(137463716, RightArm, 8, MRANDOM(7,13)/10, false)
  1571. for i=0, 1, 0.1 / Animation_Speed do
  1572. Swait()
  1573. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1574. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1575. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1576. --LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1577. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1578. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1579. end
  1580. local HIT,POS = CastProperRay(RightArm.Position,Mouse.Hit.p,1000,Character)
  1581. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Bright green"), "Beam", VT(0,0,0), true)
  1582. BEAM.Color = Terra.Color
  1583. MakeForm(BEAM,"Cyl")
  1584. local DIST = (RightArm.Position - POS).Magnitude
  1585. BEAM.Size = VT(0,DIST,0)
  1586. BEAM.CFrame = CF(RightArm.Position,POS)*CF(0,0,-DIST/2) * ANGLES(RAD(90), RAD(0), RAD(0))
  1587. if HIT ~= nil then
  1588. if HIT.Parent.ClassName == "Model" then
  1589. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  1590. if HIT.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
  1591. local HED = HIT.Parent:FindFirstChild("Head")
  1592. if HED and MRANDOM(1,15) == 1 then
  1593. CreateSound(2231214507, HED, 4, MRANDOM(9,11)/10, false)
  1594. end
  1595. Dustify(HIT.Parent)
  1596. end
  1597. end
  1598. end
  1599. end
  1600. for i = 1, 15 do
  1601. Swait()
  1602. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1603. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1604. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1605. --LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1606. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1607. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1608. BEAM.Size = BEAM.Size + VT(0.25,0,0.25)
  1609. BEAM.Transparency = BEAM.Transparency + 1/15
  1610. end
  1611. BEAM:remove()
  1612. end
  1613.  
  1614. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1615. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Color3.fromRGB(CR,CG,CB), "Effect", VT(0,0,0))
  1616. local mesh = IT("SpecialMesh",wave)
  1617. mesh.MeshType = "FileMesh"
  1618. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1619. mesh.Scale = SIZE
  1620. wave.CFrame = CFRAME
  1621. coroutine.resume(coroutine.create(function(PART)
  1622. for i = 1, WAIT do
  1623. Swait()
  1624. mesh.Scale = mesh.Scale + GROW
  1625. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1626. if DOESROT == true then
  1627. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1628. end
  1629. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1630. if wave.Transparency > 0.99 then
  1631. wave:remove()
  1632. end
  1633. end
  1634. end))
  1635. end
  1636.  
  1637. function stoopid()
  1638. ATTACK = true
  1639. Rooted = true
  1640. for i=0, 1, 0.1 / Animation_Speed do
  1641. Swait()
  1642. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.6 / Animation_Speed)
  1643. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.6 / Animation_Speed)
  1644. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1645. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  1646. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1647. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1648. end
  1649. for i=0, 0.4, 0.1 / Animation_Speed do
  1650. Swait()
  1651. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -1, -0.3) * ANGLES(RAD(75), RAD(0), RAD(75)), 1 / Animation_Speed)
  1652. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 1/ Animation_Speed)
  1653. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1654. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1655. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.01) * ANGLES(RAD(75), RAD(25), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1656. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1657. end
  1658. CreateSound(TERRAWRATH[MRANDOM(1,#TERRAWRATH)], Torso, 10, 1)
  1659. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Bright green", "Beam", VT(0,0,0))
  1660. local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Beam", VT(0,0,0))
  1661. MakeForm(BEAM,"Ball")
  1662. MakeForm(BEAM2,"Ball")
  1663. BEAM.CFrame = CF(RootPart.Position)
  1664. BEAM2.CFrame = CF(RootPart.Position)
  1665. for i=1, 100 do
  1666. Swait()
  1667. BEAM.Size = BEAM.Size + VT(0.7,8,0.7)
  1668. BEAM2.Size = BEAM2.Size + VT(2,2,2)
  1669. ApplyAoE2(BEAM2.Position,BEAM2.Size.Z/2,5,5,15,true)
  1670. BEAM.CFrame = CF(RootPart.Position)
  1671. BEAM2.CFrame = CF(RootPart.Position)
  1672. WACKYEFFECT({TIME = 5+i, EffectType = "Ring", Size = BEAM2.Size*1.15, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0.8, Transparency2 = 1, CFrame = BEAM.CFrame * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1673. end
  1674. WACKYEFFECT({TIME = 75, EffectType = "Crystal", Size = BEAM.Size, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0, Transparency2 = 0, CFrame = BEAM.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1675. WACKYEFFECT({TIME = 75, EffectType = "Sphere", Size = BEAM2.Size, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.6, CFrame = BEAM2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1676. WACKYEFFECT({TIME = 75, EffectType = "Ring", Size = BEAM2.Size, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.6, CFrame = BEAM2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1677. ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
  1678. BEAM2:remove()
  1679. BEAM:remove()
  1680. ATTACK = false
  1681. Rooted = false
  1682. end
  1683.  
  1684. local SIZE = 1
  1685.  
  1686. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  1687. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1688. local mesh = IT("SpecialMesh",wave)
  1689. mesh.MeshType = "FileMesh"
  1690. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1691. mesh.Scale = SIZE
  1692. mesh.Offset = VT(0,0,0)
  1693. wave.CFrame = CFRAME
  1694. coroutine.resume(coroutine.create(function(PART)
  1695. for i = 1, WAIT do
  1696. Swait()
  1697. mesh.Scale = mesh.Scale + GROW
  1698. if DOESROT == true then
  1699. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1700. end
  1701. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1702. if wave.Transparency > 0.99 then
  1703. wave:remove()
  1704. end
  1705. end
  1706. end))
  1707. end
  1708.  
  1709.  
  1710. function ApplyAoE4(POSITION, RANGE, MINDMG, MAXDMG, FLING, ow)
  1711. local CHILDREN = workspace:GetDescendants()
  1712. for index, CHILD in pairs(CHILDREN) do
  1713. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1714. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1715. if HUM then
  1716. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1717. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1718. if ow == true then
  1719. Petrify(CHILD)
  1720. else
  1721. local DMG = MRANDOM(MINDMG, MAXDMG)
  1722. ApplyDamage(HUM, DMG, TORSO)
  1723. end
  1724. if FLING > 0 then
  1725. for _, c in pairs(CHILD:GetChildren()) do
  1726. if c:IsA("BasePart") then
  1727. local bv = Instance.new("BodyVelocity")
  1728. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1729. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1730. bv.Parent = c
  1731. Debris:AddItem(bv, 0.05)
  1732. end
  1733. end
  1734. end
  1735. end
  1736. end
  1737. end
  1738. end
  1739. end
  1740.  
  1741. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  1742. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1743. local mesh = IT("SpecialMesh",wave)
  1744. mesh.MeshType = "Sphere"
  1745. mesh.Scale = SIZE
  1746. mesh.Offset = VT(0,0,0)
  1747. wave.CFrame = CFRAME
  1748. coroutine.resume(coroutine.create(function(PART)
  1749. for i = 1, WAIT do
  1750. Swait()
  1751. mesh.Scale = mesh.Scale + GROW
  1752. wave.Transparency = wave.Transparency + (1/WAIT)
  1753. if wave.Transparency > 0.99 then
  1754. wave:remove()
  1755. end
  1756. end
  1757. end))
  1758. end
  1759.  
  1760. local Weapon = IT("Model")
  1761. Weapon.Name = "Adds"
  1762.  
  1763. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.1,0.1,0.1),false)
  1764. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1765.  
  1766. function ApplyAoE3(POSITION,RANGE,BRUTAL,ICE)
  1767. local CHILDREN = workspace:GetDescendants()
  1768. for index, CHILD in pairs(CHILDREN) do
  1769. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1770. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1771. if HUM then
  1772. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1773. if TORSO then
  1774. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1775. if BRUTAL == true then
  1776. Petrify(CHILD)
  1777. end
  1778. end
  1779. end
  1780. end
  1781. end
  1782. end
  1783. end
  1784.  
  1785. function NothingPersonal()
  1786. ATTACK = true
  1787. Rooted = true
  1788. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1789. coroutine.resume(coroutine.create(function()
  1790. WACKYEFFECT({Time = 60, EffectType = "Wave", Size = VT(12,0.55,12)*SIZE, Size2 = VT(12,0.55,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  1791. Swait(10)
  1792. WACKYEFFECT({Time = 60, EffectType = "Crystal", Size = VT(0.8,0.88,0.8), Size2 = VT(0.5,4,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 743521450, SoundPitch = 1.15, SoundVolume = 6})
  1793. WACKYEFFECT({Time = 60, EffectType = "Skull", Size = VT(0.88,0.8,0.8), Size2 = VT(4,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
  1794. Swait(57)
  1795. WACKYEFFECT({Time = 150, EffectType = "Wave", Size = VT(12,0.55,12)*SIZE, Size2 = VT(12,0.55,12), Transparency = 1, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 1259054947, SoundPitch = 1, SoundVolume = 6})
  1796. Swait(6.5)
  1797. for i=0, 1, 0.1 / Animation_Speed do
  1798. WACKYEFFECT({Time = 85, EffectType = "Crystal", Size = VT(8,8,8)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1799. end
  1800. end))
  1801. for i=0, 1.5, 0.1 / Animation_Speed do
  1802. Swait()
  1803. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1804. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1805. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1806. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1807. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1808. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1809. end
  1810. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
  1811. CreateSound("1137548130", Effects, 10, 1)
  1812. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  1813. ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
  1814. for i=0, 0.4, 0.1 / Animation_Speed do
  1815. Swait()
  1816. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1817. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1818. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(50), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1819. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-50), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1820. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1821. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1822. end
  1823. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
  1824. CreateSound("1137548130", Effects, 10, 1)
  1825. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  1826. ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
  1827. for i=0, 1, 0.1 / Animation_Speed do
  1828. Swait()
  1829. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1830. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1831. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, -0.7) * ANGLES(RAD(0), RAD(170), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1832. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, -0.7) * ANGLES(RAD(0), RAD(-170), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1833. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(10), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1834. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(10), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1835. end
  1836. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
  1837. CreateSound("1137548130", Effects, 10, 1)
  1838. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  1839. ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
  1840. for i=0, 5, 0.1 / Animation_Speed do
  1841. Swait()
  1842. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1843. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1844. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1845. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1846. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  1847. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  1848. CreateSound(155202884, Torso, 6, 1, false)
  1849. WACKYEFFECT({
  1850. Time = 85,
  1851. EffectType = "Sphere",
  1852. Size = VT(0.2,0.2,0.2),
  1853. Size2 = VT(0, 1000, 0),
  1854. Transparency = 0.5,
  1855. Transparency2 = 1,
  1856. CFrame = Eon.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1857. MoveToPos = nil,
  1858. RotationX = MRANDOM(-50, 50) / 10,
  1859. RotationY = MRANDOM(-50, 50) / 10,
  1860. RotationZ = MRANDOM(-50, 50) / 10,
  1861. Material = "Neon",
  1862. Color = C3(0,.7,0),
  1863. SoundID = nil,
  1864. SoundPitch = nil,
  1865. SoundVolume = nil
  1866. })
  1867. end
  1868. local HITFLOOR, HITPOS = Raycast(VT(0,250,0), (CF(Eon.Position, Eon.Position + VT(0, -1, 0))).lookVector, 500, Character)
  1869. CreateSound("1368598393", Effects, 10, 1)
  1870. for i=0, 2, 0.1 / Animation_Speed do
  1871. Swait()
  1872. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1873. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1874. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1875. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1876. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1877. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1878. WACKYEFFECT({
  1879. Time = 15,
  1880. EffectType = "Sphere",
  1881. Size = VT(4, 4, 4),
  1882. Size2 = VT(0, 0, 0),
  1883. Transparency = 1,
  1884. Transparency2 = 0,
  1885. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1886. MoveToPos = Eon.Position,
  1887. RotationX = 0,
  1888. RotationY = 0,
  1889. RotationZ = 0,
  1890. Material = "Neon",
  1891. Color = C3(1, 0, 0),
  1892. SoundID = nil,
  1893. SoundPitch = nil,
  1894. SoundVolume = nil
  1895. })
  1896. end
  1897. WACKYEFFECT({
  1898. Time = 15,
  1899. EffectType = "Sphere",
  1900. Size = VT(4, 4, 4),
  1901. Size2 = VT(0, 0, 0),
  1902. Transparency = 1,
  1903. Transparency2 = 0,
  1904. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1905. MoveToPos = Eon.Position,
  1906. RotationX = 0,
  1907. RotationY = 0,
  1908. RotationZ = 0,
  1909. Material = "Neon",
  1910. Color = C3(1, 0, 0),
  1911. SoundID = nil,
  1912. SoundPitch = nil,
  1913. SoundVolume = nil
  1914. })
  1915. local CORE = CreatePart(3, Effects, "Cobblestone", 0, 0, BRICKC("Lime Green"), "CORE", VT(10,10,10))
  1916. MakeForm(CORE, "Ball")
  1917. CORE.CFrame = Eon.CFrame
  1918. local AURA = CreatePart(3, Effects, "Neon", 0, 0.7, BRICKC("Earth Green"), "AURA", VT(10.1,10.1,10.1))
  1919. MakeForm(AURA, "Ball")
  1920. AURA.CFrame = Eon.CFrame
  1921. local AURA1 = CreatePart(3, Effects, "Neon", 0, 0.8, BRICKC("Bright green"), "AURA1", VT(12,12,12))
  1922. MakeForm(AURA1, "Ball")
  1923. AURA1.CFrame = Eon.CFrame
  1924. CreateSound("1368583274", Effects, 10, 1)
  1925. for i=0, 6, 0.1 / Animation_Speed do
  1926. Swait()
  1927. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1928. MagicSphere(VT(0,0,0),15,CFRAME,C3(0,.7,0),VT(0.1,0.1,55))
  1929. MagicSphere(VT(0,0,0),15,CFRAME,C3(0,.7,0),VT(2,2,2))
  1930. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,C3(0,.7,0),VT(0.1,0.1,55))
  1931. WACKYEFFECT({
  1932. Time = 15,
  1933. EffectType = "Sphere",
  1934. Size = VT(4, 4, 4),
  1935. Size2 = VT(0, 0, 0),
  1936. Transparency = 1,
  1937. Transparency2 = 0,
  1938. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1939. MoveToPos = Eon.Position,
  1940. RotationX = 0,
  1941. RotationY = 0,
  1942. RotationZ = 0,
  1943. Material = "Neon",
  1944. Color = C3(1, 0, 0),
  1945. SoundID = nil,
  1946. SoundPitch = nil,
  1947. SoundVolume = nil
  1948. })
  1949. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1950. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1951. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1952. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1953. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1954. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1955. end
  1956. Swait(175)
  1957. CreateSound("1368605755", Effects, 10, 1)
  1958. CreateSound("1368637781", Effects, 10, 1)
  1959. MagicSphere(VT(0,0,0),45,Torso.CFrame,C3(0,.6,0),VT(5,5,5))
  1960. for i=0, 1, 0.1 / Animation_Speed do
  1961. Swait()
  1962. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1963. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1964. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1965. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1966. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  1967. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  1968. end
  1969. CORE.Size = VT(10 + 0.3 * COS(SINE / 4), 10 + 0.3 * COS(SINE / 4), 10 + 0.3 * COS(SINE / 4))
  1970. AURA.Size = VT(10.1 + 0.4 * COS(SINE / 4), 10.1 + 0.4 * COS(SINE / 4), 10.1 + 0.4 * COS(SINE / 4))
  1971. AURA1.Size = VT(12 + 0.09 * COS(SINE / 4), 12 + 0.09 * COS(SINE / 4), 12 + 0.09 * COS(SINE / 4))
  1972. ApplyAoE3(CORE.Position, 15,true,false)
  1973. ATTACK = false
  1974. Rooted = false
  1975. end
  1976.  
  1977. function PressureControl()
  1978. ATTACK = true
  1979. Rooted = false
  1980. CreateSound(PRESSURERELEASE[MRANDOM(1,#PRESSURERELEASE)], Torso, 10, 1)
  1981. for i=0, 0.05, 0.1 / Animation_Speed do
  1982. Swait()
  1983. turnto(Mouse.Hit.p)
  1984. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(140), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1985. repeat
  1986. for i=0, 0.05, 0.1 / Animation_Speed do
  1987. Swait()
  1988. turnto(Mouse.Hit.p)
  1989. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1990. local HIT,POS = CastProperRay(LeftArm.Position, Mouse.Hit.p, 1000, Character)
  1991. if HIT ~= nil then
  1992. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1993. Dustify(HIT.Parent)
  1994. end
  1995. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(100,0,100), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,LeftArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,.4,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1996. WACKYEFFECT({Time = 25, EffectType = "Crystal", Size = VT(100,0,100), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,LeftArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,.4,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1997. for i=0, 0.05, 0.1 / Animation_Speed do
  1998. Swait()
  1999. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2000. end
  2001. end
  2002. end
  2003. until KEYHOLD == false
  2004. ATTACK = false
  2005. Rooted = false
  2006. end
  2007. end
  2008.  
  2009. function RainbowBeam()
  2010. ATTACK = true
  2011. Rooted = false
  2012. VALUE2 = true
  2013. local GYRO = IT("BodyGyro", RootPart)
  2014. GYRO.D = 20
  2015. GYRO.P = 4000
  2016. GYRO.MaxTorque = VT(0, 40000, 0)
  2017. local POS = RootPart.Position + VT(0, 25, 0)
  2018. CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
  2019. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2020. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2021. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2022. --LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2023. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2024. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2025. coroutine.resume(coroutine.create(function()
  2026. local E = 0
  2027. repeat
  2028. E = E + 5
  2029. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2030. Swait()
  2031. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2032. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2033. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2034. --LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2035. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2036. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2037. until ATTACK == false
  2038. GYRO:remove()
  2039. end))
  2040. for i = 1, 50 do
  2041. Swait()
  2042. end
  2043. for i = 1, 25 do
  2044. Swait()
  2045. WACKYEFFECT({
  2046. Time = 15,
  2047. EffectType = "Skull",
  2048. Size = VT(4, 4, 4),
  2049. Size2 = VT(0, 0, 0),
  2050. Transparency = 1,
  2051. Transparency2 = 0,
  2052. CFrame = CF(RightArm.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  2053. MoveToPos = RightArm.Position,
  2054. RotationX = 0,
  2055. RotationY = 0,
  2056. RotationZ = 0,
  2057. Material = "Neon",
  2058. Color = C3(1, 0, 0),
  2059. SoundID = nil,
  2060. SoundPitch = nil,
  2061. SoundVolume = nil
  2062. })
  2063. end
  2064. local LOOP = 0
  2065. local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Beamo", VT(0,0,0))
  2066. MakeForm(BEAMO, "Ball")
  2067. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  2068. MakeForm(BEAM, "Cyl")
  2069. repeat
  2070. local DISTANCE = (RightArm.Position - Mouse.Hit.p).Magnitude
  2071. if DISTANCE < 2000 then
  2072. BEAMO.Size = VT(3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
  2073. BEAMO.CFrame = CF(RightArm.Position)
  2074. BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
  2075. BEAM.CFrame = CF(RightArm.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  2076. killnearest(Mouse.Hit.p,14,156,RootPart.CFrame)
  2077. WACKYEFFECT({
  2078. Time = 35,
  2079. EffectType = "Sphere",
  2080. Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2,
  2081. Size2 = VT(5, 75, 5),
  2082. Transparency = 0,
  2083. Transparency2 = 1,
  2084. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2085. MoveToPos = nil,
  2086. RotationX = 0,
  2087. RotationY = 0,
  2088. RotationZ = 0,
  2089. Material = "Neon",
  2090. Color = C3(1, 0, 0),
  2091. SoundID = nil,
  2092. SoundPitch = MRANDOM(9, 12) / 10,
  2093. SoundVolume = 10
  2094. })
  2095. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = RightArm.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-6).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2096. Swait()
  2097. LOOP = LOOP + 1
  2098. end
  2099. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  2100. coroutine.resume(coroutine.create(function()
  2101. for i = 1, 15 do
  2102. Swait()
  2103. BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
  2104. BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
  2105. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  2106. BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
  2107. end
  2108. BEAM:remove()
  2109. BEAMO:remove()
  2110. end))
  2111. ATTACK = false
  2112. Rooted = false
  2113. VALUE2 = false
  2114. end
  2115.  
  2116. local BODY = {}
  2117. for _, c in pairs(Character:GetDescendants()) do
  2118. if c:IsA("BasePart") and c.Name ~= "Handle" then
  2119. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2120. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2121. end
  2122. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  2123. elseif c:IsA("JointInstance") then
  2124. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  2125. end
  2126. end
  2127.  
  2128. function Teleport()
  2129. ATTACK = true
  2130. Rooted = false
  2131. for i=0, 0.5, 0.1 / Animation_Speed do
  2132. Swait()
  2133. 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)
  2134. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2135. end
  2136. for e = 1, #BODY do
  2137. if BODY[e] ~= nil then
  2138. local STUFF = BODY[e]
  2139. local PART = STUFF[1]
  2140. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  2141. local PRT = PART:Clone()
  2142. PRT.Anchored = true
  2143. PRT.CanCollide = false
  2144. PRT.Material = "Neon"
  2145. PRT.Color = C3(0,0,0)
  2146. PRT.Name = "WarpEffect"
  2147. PRT.Parent = Effects
  2148. PRT.CFrame = PART.CFrame
  2149. PRT:BreakJoints()
  2150. if PRT:FindFirstChildOfClass("Sound") then
  2151. PRT:FindFirstChildOfClass("Sound"):remove()
  2152. end
  2153. if PRT:FindFirstChildOfClass("Decal") then
  2154. PRT:FindFirstChildOfClass("Decal"):remove()
  2155. end
  2156. coroutine.resume(coroutine.create(function()
  2157. for i = 1, 100 do
  2158. Swait()
  2159. PRT.Transparency = PRT.Transparency + 1/100
  2160. end
  2161. PRT:remove()
  2162. end))
  2163. end
  2164. end
  2165. end
  2166. CreateSound(289556450, Torso, 10, 1)
  2167. local POS = RootPart.Orientation
  2168. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  2169. RootPart.Orientation = POS
  2170. RootJoint.Parent = RootPart
  2171. for i=0, 0.5, 0.1 / Animation_Speed do
  2172. Swait()
  2173. 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)
  2174. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2175. end
  2176. for i=0, 0.1, 0.1 / Animation_Speed do
  2177. Swait()
  2178. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2179. end
  2180. ATTACK = false
  2181. Rooted = false
  2182. end
  2183.  
  2184. local DECAL = IT("Decal")
  2185. function MakeRing()
  2186. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  2187. local MSH = IT("BlockMesh", RING)
  2188. local TOP = DECAL:Clone()
  2189. local BOTTOM = DECAL:Clone()
  2190. TOP.Parent = RING
  2191. BOTTOM.Parent = RING
  2192. TOP.Face = "Top"
  2193. BOTTOM.Face = "Bottom"
  2194. TOP.Texture = "http://www.roblox.com/asset/?id=647661410"
  2195. BOTTOM.Texture = "http://www.roblox.com/asset/?id=647661410"
  2196. local function REMOVE()
  2197. coroutine.resume(coroutine.create(function()
  2198. local SIZE = MSH.Scale.X
  2199. for i = 1, 35 do
  2200. Swait()
  2201. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  2202. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  2203. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  2204. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  2205. end
  2206. RING:remove()
  2207. end))
  2208. end
  2209. return RING, MSH, REMOVE
  2210. end
  2211.  
  2212. function ThanosShoe(POSITION,RANGE,ISGAY)
  2213. local CHILDREN = workspace:GetDescendants()
  2214. for index, CHILD in pairs(CHILDREN) do
  2215. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2216. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2217. if HUM then
  2218. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2219. if TORSO then
  2220. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2221. if ISGAY == true then
  2222. Petrify(CHILD)
  2223. else
  2224. if ISGAY == "Gravity" then
  2225. HUM.PlatformStand = true
  2226. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2227. local grav = Instance.new("BodyPosition",TORSO)
  2228. grav.D = 15
  2229. grav.P = 20000
  2230. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2231. grav.position = TORSO.Position
  2232. grav.Name = "V3BanishForce"..Player.Name
  2233. else
  2234. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2235. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2236. end
  2237. else
  2238. HUM.PlatformStand = false
  2239. end
  2240. end
  2241. elseif ISGAY == "Gravity" then
  2242. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2243. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2244. HUM.PlatformStand = false
  2245. end
  2246. end
  2247. end
  2248. end
  2249. end
  2250. end
  2251. end
  2252.  
  2253. function PlanetaryDevastation()
  2254. ATTACK = true
  2255. Rooted = true
  2256. chatfunc("This Is The Power Of My Core.")
  2257. local SIZE = 1
  2258. local GYRO = IT("BodyGyro", RootPart)
  2259. GYRO.D = 20
  2260. GYRO.P = 4000
  2261. GYRO.MaxTorque = VT(0, 40000, 0)
  2262. local RING, MESH, DELET = MakeRing()
  2263. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  2264. RING.CFrame = CF(HITPOS)
  2265. for i = 0, 0.6, 0.1 / Animation_Speed do
  2266. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2267. Swait()
  2268. MESH.Scale = MESH.Scale + VT(53, 0, 53)
  2269. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2270. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2271. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2272. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2273. end
  2274. local BLASTS = {675172759}
  2275. coroutine.resume(coroutine.create(function()
  2276. local CFRAME = RootPart.CFrame
  2277. for i = 1, 100 do
  2278. CFRAME = CFRAME * CF(0, 0, -35)
  2279. do
  2280. local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  2281. if HITFLOOR then
  2282. Swait()
  2283. do
  2284. local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
  2285. coroutine.resume(coroutine.create(function()
  2286. local RING, MESH, DELET = MakeRing()
  2287. RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
  2288. for i = 1, 25 do
  2289. Swait()
  2290. MESH.Scale = MESH.Scale + VT(42, 0, 42)
  2291. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2292. end
  2293. ThanosShoe(RING.Position, 65, true)
  2294. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2295. WACKYEFFECT({
  2296. Time = 25,
  2297. EffectType = "Sphere",
  2298. Size = VT(22, 22, 22),
  2299. Size2 = VT(85, 85, 85),
  2300. Transparency = 0,
  2301. Transparency2 = 1,
  2302. CFrame = CF(RING.Position),
  2303. MoveToPos = nil,
  2304. RotationX = 0,
  2305. RotationY = 0,
  2306. RotationZ = 0,
  2307. Material = "Neon",
  2308. Color = C3(0, 0, 0),
  2309. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  2310. SoundPitch = MRANDOM(9, 12) / 10,
  2311. SoundVolume = 10
  2312. })
  2313. for e = 1, 3 do
  2314. WACKYEFFECT({
  2315. EffectType = "Wave",
  2316. Size = VT(25, 0, 25),
  2317. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  2318. Transparency = 0,
  2319. Transparency2 = 1,
  2320. CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2321. MoveToPos = nil,
  2322. RotationX = 0,
  2323. RotationY = 3,
  2324. RotationZ = 0,
  2325. Material = "Neon",
  2326. Color = C3(0, 0, 0),
  2327. SoundID = nil,
  2328. SoundPitch = nil,
  2329. SoundVolume = nil
  2330. })
  2331. WACKYEFFECT({
  2332. Time = 35,
  2333. EffectType = "Sphere",
  2334. Size = VT(22, 45, 22),
  2335. Size2 = VT(25, 45 + e * 75, 25),
  2336. Transparency = 0,
  2337. Transparency2 = 1,
  2338. CFrame = CF(RING.Position) * TURN,
  2339. MoveToPos = nil,
  2340. RotationX = 0,
  2341. RotationY = 0,
  2342. RotationZ = 0,
  2343. Material = "Neon",
  2344. Color = C3(0, 0, 0),
  2345. SoundID = nil,
  2346. SoundPitch = MRANDOM(9, 12) / 10,
  2347. SoundVolume = 10
  2348. })
  2349. end
  2350. wait(0.3)
  2351. DELET()
  2352. end))
  2353. end
  2354. end
  2355. end
  2356. end
  2357. end))
  2358. Rooted = false
  2359. DELET()
  2360. GYRO:remove()
  2361. ATTACK = false
  2362. Rooted = false
  2363. end
  2364.  
  2365. function Taunt()
  2366. ATTACK = true
  2367. Rooted = false
  2368. CreateSound(907331575, Torso, 6, 1, false)
  2369. chatfunc("You Have No One Left.")
  2370. ATTACK = false
  2371. Rooted = false
  2372. end
  2373.  
  2374. --><Assign Things To Keys
  2375.  
  2376. function MouseDown(Mouse)
  2377. if ATTACK == false then
  2378. end
  2379. end
  2380. function MouseUp(Mouse)
  2381. HOLD = false
  2382. end
  2383. function KeyDown(Key)
  2384. KEYHOLD = true
  2385. if Key == "z" and ATTACK == false then
  2386. stoopid()
  2387. end
  2388. if Key == "b" and ATTACK == false then
  2389. NothingPersonal()
  2390. end
  2391. if Key == "c" and ATTACK == false then
  2392. Duster()
  2393. end
  2394. if Key == "v" and ATTACK == false then
  2395. Oblivion()
  2396. end
  2397. if Key == "x" and ATTACK == false then
  2398. PressureControl()
  2399. end
  2400. if Key == "q" and ATTACK == false then
  2401. RainbowBeam()
  2402. end
  2403. if Key == "t" and ATTACK == false then
  2404. Taunt()
  2405. end
  2406. if Key == "e" and ATTACK == false then
  2407. brougay()
  2408. end
  2409. if Key == "r" and ATTACK == false then
  2410. PlanetaryDevastation()
  2411. end
  2412. if Key == "f" and ATTACK == false then
  2413. Teleport()
  2414. end
  2415. end
  2416. function KeyUp(Key)
  2417. KEYHOLD = false
  2418. end
  2419. Mouse.Button1Down:connect(function(NEWKEY)
  2420. MouseDown(NEWKEY)
  2421. end)
  2422. Mouse.Button1Up:connect(function(NEWKEY)
  2423. MouseUp(NEWKEY)
  2424. end)
  2425. Mouse.KeyDown:connect(function(NEWKEY)
  2426. KeyDown(NEWKEY)
  2427. end)
  2428. Mouse.KeyUp:connect(function(NEWKEY)
  2429. KeyUp(NEWKEY)
  2430. end)
  2431.  
  2432. --><:Thinking:
  2433. function unanchor()
  2434. if UNANCHOR == true then
  2435. g = Character:GetChildren()
  2436. for i = 1, #g do
  2437. if g[i].ClassName == "Part" then
  2438. g[i].Anchored = false
  2439. end
  2440. end
  2441. end
  2442. end
  2443.  
  2444. --><Wrap The Script
  2445. function refit()
  2446. RootJoint.Parent = RootPart
  2447. Neck.Parent = Torso
  2448. RightShoulder.Parent = Torso
  2449. LeftShoulder.Parent = Torso
  2450. RightHip.Parent = Torso
  2451. LeftHip.Parent = Torso
  2452. RootPart.Parent = Character
  2453. LeftArm.Parent = Character
  2454. RightArm.Parent = Character
  2455. RightLeg.Parent = Character
  2456. LeftLeg.Parent = Character
  2457. Torso.Parent = Character
  2458. Head.Parent = Character
  2459. end
  2460. Humanoid.Changed:connect(function(Jump)
  2461. if Jump == "Jump" and Disable_Jump == true then
  2462. Humanoid.Jump = false
  2463. end
  2464. end)
  2465. Humanoid.HipHeight = 2
  2466. local FF = IT("ForceField", Character)
  2467. FF.Visible = false
  2468. Speed = 45
  2469. CreateSound("907332997", Head, 10, 0.9)
  2470. while true do
  2471. Swait()
  2472. ANIMATE.Parent = nil
  2473. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2474. IDLEANIMATION:Play()
  2475. SINE = SINE + CHANGE
  2476. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2477. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2478. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2479. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  2480. if ATTACK == false then
  2481. if TORSOVELOCITY < 1 then
  2482. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2483. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2484. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2485. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, 0.3) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2486. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2487. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2488. elseif TORSOVELOCITY > 1 then
  2489. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2490. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2491. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2492. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, 0.3) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2493. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2494. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2495. end
  2496. end
  2497. if VALUE2 == false then
  2498. Slice("Thin", 0.1, 5, Torso.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, .7, 0), VT(-0.15, 0, -0.15))
  2499. Slice("Thin", 0.1, 5, Torso.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, .7, 0), VT(-0.15, 0, -0.15))
  2500. Crystsal("Thin", 0.1, 5, RightArm.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, .7, 0), VT(-0.445, 0, -0.445))
  2501. Crystsal("Thin", 0.1, 5, LeftArm.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, .7, 0), VT(-0.445, 0, -0.445))
  2502. end
  2503. unanchor()
  2504. Humanoid.MaxHealth = "inf"
  2505. Humanoid.Health = "inf"
  2506. if Rooted == false then
  2507. Disable_Jump = false
  2508. Humanoid.WalkSpeed = Speed
  2509. elseif Rooted == true then
  2510. Disable_Jump = true
  2511. Humanoid.WalkSpeed = 0
  2512. end
  2513. for _, c in pairs(Character:GetChildren()) do
  2514. if c.ClassName == "Part" then
  2515. c.Material = "Neon"
  2516. if c:FindFirstChildOfClass("ParticleEmitter") then
  2517. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2518. end
  2519. end
  2520. end
  2521. FF.Parent = Character
  2522. sick.Parent = Character
  2523. refit()
  2524. script.Parent = WEAPONGUI
  2525. Character.Parent = workspace
  2526. Humanoid.PlatformStand = false
  2527. Humanoid.Name = "protector of the earth"
  2528. for _, c in pairs(game.Players:GetChildren()) do
  2529. if c.Character ~= nil and c.Character.Parent ~= workspace and c.Character.Parent ~= nil then
  2530. c.Character:BreakJoints()
  2531. end
  2532. end
  2533. Humanoid.DisplayDistanceType = "None"
  2534. end
  2535.  
  2536. -------------------||
  2537. --------------------\\
  2538. --||||||||||]]]]]]]]]\\
  2539. ---------------------\\\\\\\\\\\\\\\\\\\\
  2540. --END OF EDIT BY INFINITEONEWITHDANK|]]>>
  2541. ---------------------////////////////////
  2542. --||||||||||]]]]]]]]]//
  2543. --------------------//
  2544. -------------------||
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement