Advertisement
ghostteen14

Untitled

Mar 7th, 2019
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 83.07 KB | None | 0 0
  1. -- This script has convert to FE by who i don't know?
  2.  
  3. -----------------------------------------------------
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Joseph Deramus")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local Mouse = Player:GetMouse()
  69. local UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87.  
  88. ----Sandboxed game object that allows the usage of client-side methods and services
  89. --Real game object
  90. local _rg = game
  91.  
  92. --Metatable for fake service
  93. local fsmt = {
  94. __index = function(self,k)
  95. local s = rawget(self,"_RealService")
  96. if s then return s[k] end
  97. end,
  98. __newindex = function(self,k,v)
  99. local s = rawget(self,"_RealService")
  100. if s then s[k]=v end
  101. end,
  102. __call = function(self,...)
  103. local s = rawget(self,"_RealService")
  104. if s then return s(...) end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129.  
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,{
  137. __index=function(self,s)
  138. return _rg:GetService(s) or typeof(_rg[s])=="function"
  139. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140. end,
  141. __newindex = fsmt.__newindex,
  142. __call = fsmt.__call
  143. })
  144. --Changing owner to fake player object to support owner:GetMouse()
  145. game,owner = g,g.Players.LocalPlayer
  146. end
  147. ----God of shapes created by Father_Heaven
  148. --using shackluster scripts--
  149. --More added by XDavodioX--
  150. --That includes--
  151. --Name
  152. --Smite
  153. --The Gui
  154. --Teleport
  155.  
  156.  
  157.  
  158. function sandbox(var,func)
  159. local env = getfenv(func)
  160. local newenv = setmetatable({},{
  161. __index = function(self,k)
  162. if k=="script" then
  163. return var
  164. else
  165. return env[k]
  166. end
  167. end,
  168. })
  169. setfenv(func,newenv)
  170. return func
  171. end
  172. function NS(...)
  173. local tab = {...}
  174. local fat = {}
  175. for i = 1, #tab do
  176. local v = tab[i]
  177. table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2]))
  178. end
  179. return NumberSequence.new(fat);
  180. end
  181.  
  182. cors = {}
  183. mas = Instance.new("Model",game:GetService("Lighting"))
  184. ParticleEmitter0 = Instance.new("ParticleEmitter")
  185. ParticleEmitter1 = Instance.new("ParticleEmitter")
  186. ParticleEmitter2 = Instance.new("ParticleEmitter")
  187. ParticleEmitter0.Name = "Flames"
  188. ParticleEmitter0.Parent = mas
  189. ParticleEmitter0.Speed = NumberRange.new(0, 15)
  190. ParticleEmitter0.Rotation = NumberRange.new(0, 360)
  191. ParticleEmitter0.Enabled = false
  192. ParticleEmitter0.LightEmission = 1
  193. ParticleEmitter0.LightInfluence = 1
  194. ParticleEmitter0.Transparency = NumberSequence.new(1,0)
  195. ParticleEmitter0.ZOffset = 1
  196. ParticleEmitter0.Size = NumberSequence.new(10,0)
  197. ParticleEmitter0.EmissionDirection = Enum.NormalId.Back
  198. ParticleEmitter0.Lifetime = NumberRange.new(0, 2)
  199. ParticleEmitter0.Rate = 9999
  200. ParticleEmitter0.RotSpeed = NumberRange.new(-25, 25)
  201. ParticleEmitter0.SpreadAngle = Vector2.new(25, 25)
  202. ParticleEmitter0.VelocitySpread = 25
  203. ParticleEmitter0.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  204. ParticleEmitter1.Name = "Death"
  205. ParticleEmitter1.Parent = mas
  206. ParticleEmitter1.Rotation = NumberRange.new(0, 360)
  207. ParticleEmitter1.Enabled = false
  208. ParticleEmitter1.LightEmission = 0.75
  209. ParticleEmitter1.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  210. ParticleEmitter1.Transparency = NS({0,0.47540986537933},{.168,0.37704920768738},{.457,0.25683063268661},{.803,0.4426229596138},{.948,0.62841534614563},{1,1})
  211. ParticleEmitter1.ZOffset = 0.5
  212. ParticleEmitter1.Size = NS({0,1},{.656,1.8032789230347},{.843,1.4207655191422},{1,0})
  213. ParticleEmitter1.Acceleration = Vector3.new(0, 35, 0)
  214. ParticleEmitter1.Drag = 5
  215. ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
  216. ParticleEmitter1.Lifetime = NumberRange.new(0, 1)
  217. ParticleEmitter1.Rate = 999
  218. ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
  219. ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
  220. ParticleEmitter1.VelocitySpread = 360
  221. ParticleEmitter2.Name = "Wing"
  222. ParticleEmitter2.Parent = mas
  223. ParticleEmitter2.Rotation = NumberRange.new(0, 360)
  224. ParticleEmitter2.Enabled = false
  225. ParticleEmitter2.LightEmission = 1
  226. ParticleEmitter2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  227. ParticleEmitter2.Size = NS({0,0.05464494228363},{.193,1.0382515192032},{.352,1.3661205768585},{1,0})
  228. ParticleEmitter2.Acceleration = Vector3.new(0, -7, 15)
  229. ParticleEmitter2.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093)
  230. ParticleEmitter2.LockedToPart = true
  231. ParticleEmitter2.Rate = 300
  232.  
  233. for i,v in pairs(mas:GetChildren()) do
  234. v.Parent = script
  235. pcall(function() v:MakeJoints() end)
  236. end
  237. mas:Destroy()
  238. for i,v in pairs(cors) do
  239. spawn(function()
  240. pcall(v)
  241. end)
  242. end
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250. function onKeyPress(inputObject, gameProcessedEvent)
  251. if inputObject.KeyCode == Enum.KeyCode.L then
  252.  
  253.  
  254. local q = game.Players:GetChildren() for i = 1, #q do if q[i].Character.Parent ~= workspace and q[i].Parent ~= nil then q[i].Character.Parent = workspace local sound2 = Instance.new("Sound",workspace) sound2.SoundId = "rbxassetid://245910488" sound2.Volume = 5 sound2:Play() end end end
  255.  
  256.  
  257. end
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274. Player = game:GetService("Players").LocalPlayer
  275. Character = Player.Character
  276.  
  277.  
  278.  
  279. Torso = Character["Torso"]
  280. Head = Character["Head"]
  281. RightArm = Character["Right Arm"]
  282. LeftArm = Character["Left Arm"]
  283. RightLeg = Character["Right Leg"]
  284. LeftLeg = Character["Left Leg"]
  285. Neck = Torso["Neck"]
  286.  
  287. wait(1)
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294. local createstuff = function()
  295. local stuff = Instance.new("Model")
  296.  
  297. local ParticleBox = Instance.new("Part")
  298.  
  299.  
  300. stuff.Name = "Stuff"
  301. stuff.Parent = workspace
  302.  
  303. ParticleBox.Size = Vector3.new(10, 10, 10)
  304. ParticleBox.BottomSurface = Enum.SurfaceType.Smooth
  305. ParticleBox.Material = Enum.Material.SmoothPlastic
  306. ParticleBox.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  307. ParticleBox.BrickColor = BrickColor.new("Really black")
  308. ParticleBox.TopSurface = Enum.SurfaceType.Smooth
  309. ParticleBox.Name = "ParticleBox"
  310. ParticleBox.Parent = stuff
  311. ParticleBox.CFrame = CFrame.new(9.8, 44.1, -48.7)
  312. ParticleBox.Transparency = 1
  313.  
  314. local headness = Instance.new("Part")
  315. headness.Parent = stuff
  316. headness.Name = ("headness")
  317. headness.Size = Vector3.new(2,1,1)
  318. headness.Transparency = 0.5
  319. headness.Material = ("Neon")
  320. headness.BrickColor = BrickColor.new("Navy blue")
  321. headness.CanCollide = false
  322.  
  323.  
  324. local Blockhead = Instance.new("BlockMesh")
  325. Blockhead.Name = ("Blockhead")
  326. Blockhead.Offset = Vector3.new(0,-0.45,0)
  327. Blockhead.Scale = Vector3.new(0.56,1.1,1.1)
  328. Blockhead.Parent = stuff
  329.  
  330. local MajesticGlow = Instance.new("PointLight")
  331. MajesticGlow.Color = Color3.new(6/225,6/255,159/255)
  332. MajesticGlow.Range = 25
  333. MajesticGlow.Shadows = false
  334. MajesticGlow.Brightness = 1
  335. MajesticGlow.Name = ("MajesticGlow")
  336. MajesticGlow.Parent = stuff
  337.  
  338.  
  339.  
  340. for i,v in pairs(stuff:GetChildren()) do
  341. v.Parent = script
  342. end
  343. end
  344.  
  345. createstuff()
  346.  
  347.  
  348. wait(1)
  349.  
  350. Player = game:GetService("Players").LocalPlayer
  351. PlayerGui = Player.PlayerGui
  352. Cam = workspace.CurrentCamera
  353. Backpack = Player.Backpack
  354. Character = Player.Character
  355. Humanoid = Character.Humanoid
  356. Mouse = Player:GetMouse()
  357. RootPart = Character["HumanoidRootPart"]
  358. Torso = Character["Torso"]
  359. Head = Character["Head"]
  360. RightArm = Character["Right Arm"]
  361. LeftArm = Character["Left Arm"]
  362. RightLeg = Character["Right Leg"]
  363. LeftLeg = Character["Left Leg"]
  364. RootJoint = RootPart["RootJoint"]
  365. Neck = Torso["Neck"]
  366. RightShoulder = Torso["Right Shoulder"]
  367. LeftShoulder = Torso["Left Shoulder"]
  368. RightHip = Torso["Right Hip"]
  369. LeftHip = Torso["Left Hip"]
  370. local sick = Instance.new("Sound",Character)
  371. Player_Size = 1
  372.  
  373. IT = Instance.new
  374. CF = CFrame.new
  375. VT = Vector3.new
  376. RAD = math.rad
  377. C3 = Color3.new
  378. UD2 = UDim2.new
  379. BRICKC = BrickColor.new
  380. ANGLES = CFrame.Angles
  381. EULER = CFrame.fromEulerAnglesXYZ
  382. COS = math.cos
  383. ACOS = math.acos
  384. SIN = math.sin
  385. ASIN = math.asin
  386. ABS = math.abs
  387. MRANDOM = math.random
  388. FLOOR = math.floor
  389.  
  390. Animation_Speed = 3
  391. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  392. local Speed = 35
  393. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  394. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  395. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  396. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  397. local DAMAGEMULTIPLIER = 1
  398. local ANIM = "Idle"
  399. local ATTACK = false
  400. local EQUIPPED = false
  401. local HOLD = false
  402. local COMBO = 1
  403. local Rooted = false
  404. local SINE = 0
  405. local KEYHOLD = false
  406. local CHANGE = 2 / Animation_Speed
  407. local WALKINGANIM = false
  408. local VALUE1 = false
  409. local VALUE2 = false
  410. local ROBLOXIDLEANIMATION = IT("Animation")
  411. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  412. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  413. --ROBLOXIDLEANIMATION.Parent = Humanoid
  414. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  415. WEAPONGUI.Name = "Weapon GUI"
  416. local Effects = IT("Folder", Character)
  417. Effects.Name = "Effects"
  418.  
  419. local SKILLTEXTCOLOR = C3(0,1,0)
  420.  
  421.  
  422. local remember = coroutine.wrap(function()
  423. while true do
  424.  
  425. for _, c in pairs(Character:GetChildren()) do
  426. if c:IsA("Folder") then
  427. Effects = c
  428.  
  429.  
  430.  
  431.  
  432. end
  433.  
  434.  
  435.  
  436. end
  437.  
  438.  
  439.  
  440.  
  441. wait()
  442. end
  443.  
  444. end)
  445.  
  446. remember()
  447.  
  448.  
  449.  
  450.  
  451. local ANIMATOR = Humanoid.Animator
  452. local ANIMATE = Character.Animate
  453. local UNANCHOR = true
  454. local PLAYSONG = true
  455. local EXTRATRANS = 0
  456.  
  457. --//=================================\\
  458. --\\=================================//
  459.  
  460.  
  461. --//=================================\\
  462. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  463. --\\=================================//
  464.  
  465. ArtificialHB = Instance.new("BindableEvent", script)
  466. ArtificialHB.Name = "ArtificialHB"
  467.  
  468. script:WaitForChild("ArtificialHB")
  469.  
  470. frame = Frame_Speed
  471. tf = 0
  472. allowframeloss = false
  473. tossremainder = false
  474. lastframe = tick()
  475. script.ArtificialHB:Fire()
  476.  
  477. game:GetService("RunService").Heartbeat:connect(function(s, p)
  478. tf = tf + s
  479. if tf >= frame then
  480. if allowframeloss then
  481. script.ArtificialHB:Fire()
  482. lastframe = tick()
  483. else
  484. for i = 1, math.floor(tf / frame) do
  485. script.ArtificialHB:Fire()
  486. end
  487. lastframe = tick()
  488. end
  489. if tossremainder then
  490. tf = 0
  491. else
  492. tf = tf - frame * math.floor(tf / frame)
  493. end
  494. end
  495. end)
  496.  
  497. --//=================================\\
  498. --|| Nameing crep ||
  499. --\\=================================//
  500.  
  501.  
  502. m = game.Players.LocalPlayer
  503. char = m.Character
  504. local txt = Instance.new("BillboardGui", char)
  505. txt.Adornee = char.Head
  506. txt.Name = "_status"
  507. txt.Size = UDim2.new(2, 0, 1.2, 0)
  508. txt.StudsOffset = Vector3.new(-9, 8, 0)
  509. local text = Instance.new("TextLabel", txt)
  510. text.Size = UDim2.new(10, 0, 7, 0)
  511. text.FontSize = "Size24"
  512. text.TextScaled = true
  513. text.TextTransparency = 0
  514. text.BackgroundTransparency = 1
  515. text.TextTransparency = 0
  516. text.TextStrokeTransparency = 1
  517. text.Font = "Arcade"
  518. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  519. v = Instance.new("Part")
  520. v.Name = "ColorBrick"
  521. v.Parent = m.Character
  522. v.FormFactor = "Symmetric"
  523. v.Anchored = true
  524. v.CanCollide = false
  525. v.BottomSurface = "Smooth"
  526. v.TopSurface = "Smooth"
  527. v.Size = Vector3.new(10, 5, 3)
  528. v.Transparency = 1
  529. v.CFrame = char.Torso.CFrame
  530. v.BrickColor = BrickColor.new("Really black")
  531. v.Transparency = 1
  532. v.Shape = "Block"
  533. spawn(function()
  534. local TweenService = game:GetService("TweenService")
  535. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  536. local Int = 0
  537. while wait(0.5) do
  538. if Int == #Colours then Int = 0 end
  539. Int = Int+1
  540. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  541. end
  542. end)
  543. text.Text = "God of Shapes"
  544.  
  545.  
  546. --//=================================\\
  547. --|| SOME FUNCTIONS
  548. --\\=================================//
  549.  
  550. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  551. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  552. end
  553.  
  554. function PositiveAngle(NUMBER)
  555. if NUMBER >= 0 then
  556. NUMBER = 0
  557. end
  558. return NUMBER
  559. end
  560.  
  561. function NegativeAngle(NUMBER)
  562. if NUMBER <= 0 then
  563. NUMBER = 0
  564. end
  565. return NUMBER
  566. end
  567.  
  568. function Swait(NUMBER)
  569. if NUMBER == 0 or NUMBER == nil then
  570. ArtificialHB.Event:wait()
  571. else
  572. for i = 1, NUMBER do
  573. ArtificialHB.Event:wait()
  574. end
  575. end
  576. end
  577.  
  578. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  579. local NEWMESH = IT(MESH)
  580. if MESH == "SpecialMesh" then
  581. NEWMESH.MeshType = MESHTYPE
  582. if MESHID ~= "nil" and MESHID ~= "" then
  583. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  584. end
  585. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  586. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  587. end
  588. end
  589. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  590. NEWMESH.Scale = SCALE
  591. NEWMESH.Parent = PARENT
  592. return NEWMESH
  593. end
  594.  
  595.  
  596.  
  597. local function weldBetween(a, b)
  598. local weldd = Instance.new("ManualWeld")
  599. weldd.Part0 = a
  600. weldd.Part1 = b
  601. weldd.C0 = CFrame.new()
  602. weldd.C1 = b.CFrame:inverse() * a.CFrame
  603. weldd.Parent = a
  604. return weldd
  605. end
  606.  
  607.  
  608. function QuaternionFromCFrame(cf)
  609. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  610. local trace = m00 + m11 + m22
  611. if trace > 0 then
  612. local s = math.sqrt(1 + trace)
  613. local recip = 0.5 / s
  614. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  615. else
  616. local i = 0
  617. if m11 > m00 then
  618. i = 1
  619. end
  620. if m22 > (i == 0 and m00 or m11) then
  621. i = 2
  622. end
  623. if i == 0 then
  624. local s = math.sqrt(m00 - m11 - m22 + 1)
  625. local recip = 0.5 / s
  626. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  627. elseif i == 1 then
  628. local s = math.sqrt(m11 - m22 - m00 + 1)
  629. local recip = 0.5 / s
  630. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  631. elseif i == 2 then
  632. local s = math.sqrt(m22 - m00 - m11 + 1)
  633. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  634. end
  635. end
  636. end
  637.  
  638. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  639. local xs, ys, zs = x + x, y + y, z + z
  640. local wx, wy, wz = w * xs, w * ys, w * zs
  641. local xx = x * xs
  642. local xy = x * ys
  643. local xz = x * zs
  644. local yy = y * ys
  645. local yz = y * zs
  646. local zz = z * zs
  647. 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))
  648. end
  649.  
  650. function QuaternionSlerp(a, b, t)
  651. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  652. local startInterp, finishInterp;
  653. if cosTheta >= 0.0001 then
  654. if (1 - cosTheta) > 0.0001 then
  655. local theta = ACOS(cosTheta)
  656. local invSinTheta = 1 / SIN(theta)
  657. startInterp = SIN((1 - t) * theta) * invSinTheta
  658. finishInterp = SIN(t * theta) * invSinTheta
  659. else
  660. startInterp = 1 - t
  661. finishInterp = t
  662. end
  663. else
  664. if (1 + cosTheta) > 0.0001 then
  665. local theta = ACOS(-cosTheta)
  666. local invSinTheta = 1 / SIN(theta)
  667. startInterp = SIN((t - 1) * theta) * invSinTheta
  668. finishInterp = SIN(t * theta) * invSinTheta
  669. else
  670. startInterp = t - 1
  671. finishInterp = t
  672. end
  673. end
  674. 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
  675. end
  676.  
  677. function Clerp(a, b, t)
  678. local qa = {QuaternionFromCFrame(a)}
  679. local qb = {QuaternionFromCFrame(b)}
  680. local ax, ay, az = a.x, a.y, a.z
  681. local bx, by, bz = b.x, b.y, b.z
  682. local _t = 1 - t
  683. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  684. end
  685.  
  686. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  687. local frame = IT("Frame")
  688. frame.BackgroundTransparency = TRANSPARENCY
  689. frame.BorderSizePixel = BORDERSIZEPIXEL
  690. frame.Position = POSITION
  691. frame.Size = SIZE
  692. frame.BackgroundColor3 = COLOR
  693. frame.BorderColor3 = BORDERCOLOR
  694. frame.Name = NAME
  695. frame.Parent = PARENT
  696. return frame
  697. end
  698.  
  699. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  700. local label = IT("TextLabel")
  701. label.BackgroundTransparency = 1
  702. label.Size = UD2(1, 0, 1, 0)
  703. label.Position = UD2(0, 0, 0, 0)
  704. label.TextColor3 = TEXTCOLOR
  705. label.TextStrokeTransparency = STROKETRANSPARENCY
  706. label.TextTransparency = TRANSPARENCY
  707. label.FontSize = TEXTFONTSIZE
  708. label.Font = TEXTFONT
  709. label.BorderSizePixel = BORDERSIZEPIXEL
  710. label.TextScaled = false
  711. label.Text = TEXT
  712. label.Name = NAME
  713. label.Parent = PARENT
  714. return label
  715. end
  716.  
  717. function NoOutlines(PART)
  718. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  719. end
  720.  
  721. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  722. local NEWWELD = IT(TYPE)
  723. NEWWELD.Part0 = PART0
  724. NEWWELD.Part1 = PART1
  725. NEWWELD.C0 = C0
  726. NEWWELD.C1 = C1
  727. NEWWELD.Parent = PARENT
  728. return NEWWELD
  729. end
  730.  
  731. local S = IT("Sound")
  732. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  733. local NEWSOUND = nil
  734. coroutine.resume(coroutine.create(function()
  735. NEWSOUND = S:Clone()
  736. NEWSOUND.Parent = PARENT
  737. NEWSOUND.Volume = VOLUME
  738. NEWSOUND.Pitch = PITCH
  739. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  740. NEWSOUND:play()
  741. if DOESLOOP == true then
  742. NEWSOUND.Looped = true
  743. else
  744. repeat wait(1) until NEWSOUND.Playing == false
  745. NEWSOUND:remove()
  746. end
  747. end))
  748. return NEWSOUND
  749. end
  750.  
  751. function CFrameFromTopBack(at, top, back)
  752. local right = top:Cross(back)
  753. 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)
  754. end
  755.  
  756. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,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=20329976"
  761. mesh.Scale = SIZE
  762. mesh.Offset = VT(0,0,-SIZE.X/8)
  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. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  769. if DOESROT == true then
  770. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  771. end
  772. wave.Transparency = wave.Transparency + (0.5/WAIT)
  773. if wave.Transparency > 0.99 then
  774. wave:remove()
  775. end
  776. end
  777. end))
  778. end
  779.  
  780. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  781. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  782. local mesh = IT("SpecialMesh",wave)
  783. mesh.MeshType = "FileMesh"
  784. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  785. mesh.Scale = SIZE
  786. mesh.Offset = VT(0,0,-SIZE.X/8)
  787. wave.CFrame = CFRAME
  788. coroutine.resume(coroutine.create(function(PART)
  789. for i = 1, WAIT do
  790. Swait()
  791. mesh.Scale = mesh.Scale + GROW
  792. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  793. if DOESROT == true then
  794. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  795. end
  796. wave.Transparency = wave.Transparency + (0.5/WAIT)
  797. if wave.Transparency > 0.99 then
  798. wave:remove()
  799. end
  800. end
  801. end))
  802. end
  803.  
  804. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  805. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  806. local mesh = IT("SpecialMesh",wave)
  807. mesh.MeshType = "FileMesh"
  808. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  809. mesh.Scale = SIZE
  810. wave.CFrame = CFRAME
  811. coroutine.resume(coroutine.create(function(PART)
  812. for i = 1, WAIT do
  813. Swait()
  814. mesh.Scale = mesh.Scale + GROW
  815. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  816. if DOESROT == true then
  817. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  818. end
  819. wave.Transparency = wave.Transparency + (0.5/WAIT)
  820. if wave.Transparency > 0.99 then
  821. wave:remove()
  822. end
  823. end
  824. end))
  825. end
  826.  
  827. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  828. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  829. local mesh = IT("SpecialMesh",wave)
  830. mesh.MeshType = "Sphere"
  831. mesh.Scale = SIZE
  832. mesh.Offset = VT(0,0,0)
  833. wave.CFrame = CFRAME
  834. coroutine.resume(coroutine.create(function(PART)
  835. for i = 1, WAIT do
  836. Swait()
  837. mesh.Scale = mesh.Scale + GROW
  838. wave.Transparency = wave.Transparency + (1/WAIT)
  839. if wave.Transparency > 0.99 then
  840. wave:remove()
  841. end
  842. end
  843. end))
  844. end
  845.  
  846.  
  847. -------------------------------------------
  848. ------------------------------------------------
  849.  
  850. ------------------------------------------------------------------------------------------------------------------------------
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857. local headness = script.headness
  858. headness.Parent = Character
  859. headness.CFrame = Torso.CFrame*CFrame.new(0,2,0)
  860. weldBetween(Head,headness)
  861.  
  862. local Blockhead = script.Blockhead
  863. Blockhead.Parent = headness
  864.  
  865.  
  866.  
  867. for _, c in pairs(Character:GetChildren()) do
  868.  
  869. if c:IsA("BasePart") then
  870. if c:FindFirstChildOfClass("ParticleEmitter") then
  871. c:Remove()
  872. end
  873. if c == Head then
  874. if c:FindFirstChild("face") then
  875. c.face:remove()
  876. end
  877. end
  878. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" or c.ClassName == "ShirtGraphic"then
  879. c:remove()
  880. end
  881. end
  882. local BODY = {}
  883. for _, c in pairs(Character:GetDescendants()) do
  884. if c:IsA("BasePart") and c.Name ~= "Handle" then
  885. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  886. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  887.  
  888. end
  889.  
  890. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  891.  
  892. elseif c:IsA("JointInstance") then
  893. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  894. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  895. c:remove()
  896.  
  897. end
  898.  
  899.  
  900. end
  901.  
  902. for e = 1, #BODY do
  903. if BODY[e] ~= nil then
  904. local STUFF = BODY[e]
  905. local PART = STUFF[1]
  906. local PARENT = STUFF[2]
  907. local MATERIAL = STUFF[3]
  908. local COLOR = STUFF[4]
  909. local TRANSPARENCY = STUFF[5]
  910. if PART.ClassName == "Part" and PART ~= RootPart then
  911. PART.Material = MATERIAL
  912. PART.Color = COLOR
  913. PART.Transparency = TRANSPARENCY
  914. end
  915. PART.AncestryChanged:Connect(function()
  916. PART.Parent = PARENT
  917. end)
  918. end
  919. end
  920. function refit()
  921.  
  922.  
  923. Character.Parent = workspace
  924. for e = 1, #BODY do
  925. if BODY[e] ~= nil then
  926. local STUFF = BODY[e]
  927. local PART = STUFF[1]
  928. local PARENT = STUFF[2]
  929. local MATERIAL = STUFF[3]
  930. local COLOR = STUFF[4]
  931. local TRANSPARENCY = STUFF[5]
  932. if PART:IsA("BasePart") and PART ~= RootPart then
  933.  
  934. end
  935.  
  936. if PART.Parent ~= PARENT then
  937. Humanoid:remove()
  938. PART.Parent = PARENT
  939. Humanoid = IT("Humanoid",Character)
  940. end
  941.  
  942. end
  943. end
  944. end
  945.  
  946. Humanoid.Died:connect(function()
  947. for _, c in pairs(Character:GetChildren()) do
  948. c:Remove()
  949. local headness = script.headness
  950. headness.Parent = Character
  951. headness.CFrame = Torso.CFrame*CFrame.new(0,2,0)
  952. weldBetween(headness,Head)
  953.  
  954. local Blockhead = script.Blockhead
  955. Blockhead.Parent = headness
  956. end
  957. refit()
  958. createstuff()
  959. end)
  960.  
  961. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  962. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  963. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  964. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  965. --local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  966. --local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  967. local SKILL7FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.01, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  968.  
  969. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Change to Cube", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text 1")
  970. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[R] Change to Explosion", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text 2")
  971. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[Q] Teleport", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text 3")
  972. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[F] Rainbow Smite", SKILLTEXTCOLOR, 6, "Arcade", 0, 2, 1, "Text4")
  973. --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[G] Rainbow Nuke (NOT WORKING UGH)", SKILLTEXTCOLOR, 6, "Arcade", 0, 2, 1, "Text5")
  974. --local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[] ", SKILLTEXTCOLOR, 6, "Arcade", 0, 2, 1, "Text6")
  975. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[CLICK] Cube of Rainbow", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text7")
  976.  
  977. spawn(function()
  978. local TweenService = game:GetService("TweenService")
  979. local Colourss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  980. local Intt = 0
  981. while wait(0.5) do
  982. if Intt == #Colourss then Intt = 0 end
  983. Intt = Intt+1
  984. TweenService:Create(SKILL7TEXT,TweenInfo.new(1),{TextColor3 = Colourss[Intt]}):Play()
  985. end
  986. end)
  987.  
  988. spawn(function()
  989. local TweenService = game:GetService("TweenService")
  990. local Coloursss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  991. local Inttt = 0
  992. while wait(0.5) do
  993. if Inttt == #Coloursss then Inttt = 0 end
  994. Inttt = Inttt+1
  995. TweenService:Create(SKILL4TEXT,TweenInfo.new(1),{TextColor3 = Coloursss[Inttt]}):Play()
  996. end
  997. end)
  998.  
  999. --spawn(function()
  1000. --local TweenService = game:GetService("TweenService")
  1001. --local Clourss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  1002. --local Itt = 0
  1003. --while wait(0.5) do
  1004. -- --if Itt == #Clourss then Itt = 0 end
  1005. -- --Itt = Itt+1
  1006. -- --TweenService:Create(SKILL5TEXT,TweenInfo.new(1),{TextColor3 = Clourss[Itt]}):Play()
  1007. --end
  1008. --end)
  1009.  
  1010. spawn(function()
  1011. local TweenService = game:GetService("TweenService")
  1012. local Clouurss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  1013. local Itlt = 0
  1014. while wait(0.5) do
  1015. if Itlt == #Clouurss then Itlt = 0 end
  1016. Itlt = Itlt+1
  1017. TweenService:Create(SKILL1TEXT,TweenInfo.new(1),{TextColor3 = Clouurss[Itlt]}):Play()
  1018. end
  1019. end)
  1020.  
  1021. spawn(function()
  1022. local TweenService = game:GetService("TweenService")
  1023. local Cloouurss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  1024. local Ixtlt = 0
  1025. while wait(0.5) do
  1026. if Ixtlt == #Cloouurss then Ixtlt = 0 end
  1027. Ixtlt = Ixtlt+1
  1028. TweenService:Create(SKILL2TEXT,TweenInfo.new(1),{TextColor3 = Cloouurss[Ixtlt]}):Play()
  1029. end
  1030. end)
  1031.  
  1032. spawn(function()
  1033. local TweenService = game:GetService("TweenService")
  1034. local Cllouurss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  1035. local Itplt = 0
  1036. while wait(0.5) do
  1037. if Itplt == #Cllouurss then Itplt = 0 end
  1038. Itplt = Itplt+1
  1039. TweenService:Create(SKILL3TEXT,TweenInfo.new(1),{TextColor3 = Cllouurss[Itplt]}):Play()
  1040. end
  1041. end)
  1042.  
  1043. local r = 255
  1044. local g = 0
  1045. local b = 0
  1046.  
  1047. local random3 = coroutine.wrap(function()
  1048. while true do
  1049.  
  1050. for i = 0, 254/5 do
  1051. Swait()
  1052.  
  1053. g = g + 5
  1054. end
  1055. for i = 0, 254/5 do
  1056. Swait()
  1057.  
  1058. r = r - 5
  1059. end
  1060. for i = 0, 254/5 do
  1061. Swait()
  1062. b = b + 5
  1063. end
  1064. for i = 0, 254/5 do
  1065. Swait()
  1066. g = g - 5
  1067. end
  1068. for i = 0, 254/5 do
  1069. Swait()
  1070. r = r + 5
  1071. end
  1072. for i = 0, 254/5 do
  1073. Swait()
  1074. b = b - 5
  1075. end
  1076.  
  1077.  
  1078.  
  1079. Swait()
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088. end
  1089.  
  1090. end)
  1091. random3()
  1092. local r1 = r
  1093. local g1 = g
  1094. local b1 = b
  1095.  
  1096. local RainbowEffect = coroutine.wrap(function()
  1097. while true do
  1098. Swait()
  1099. r1 = r
  1100. g1 = g
  1101. b1 = b
  1102.  
  1103. end
  1104.  
  1105. end)
  1106.  
  1107.  
  1108. function WACKYEFFECT(Table)
  1109.  
  1110. local TYPE = Table.EffectType or "Sphere"
  1111. local SIZE = Table.Size or VT(1, 1, 1)
  1112. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  1113. local TRANSPARENCY = Table.Transparency or 0
  1114. local ENDTRANSPARENCY = Table.Transparency2 or 1
  1115. local CFRAME = Table.CFrame or Torso.CFrame
  1116. local MOVEDIRECTION = Table.MoveToPos or nil
  1117. local ROTATION1 = Table.RotationX or 0
  1118. local ROTATION2 = Table.RotationY or 0
  1119. local ROTATION3 = Table.RotationZ or 0
  1120. local MATERIAL = Table.Material or "Neon"
  1121. local COLOR = Table.Color or C3(r1/255,g1/255, b1/255)
  1122.  
  1123.  
  1124. RainbowEffect()
  1125. local TIME = Table.Time or 45
  1126. local SOUNDID = Table.SoundID or nil
  1127. local SOUNDPITCH = Table.SoundPitch or nil
  1128. local SOUNDVOLUME = Table.SoundVolume or nil
  1129. coroutine.resume(coroutine.create(function()
  1130.  
  1131.  
  1132. local PLAYSSOUND = false
  1133. local SOUND
  1134. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  1135. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1136. PLAYSSOUND = true
  1137. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1138. end
  1139.  
  1140. local colorss = coroutine.wrap(function()
  1141. for i = 0,50,1 do
  1142.  
  1143. Swait()
  1144.  
  1145. EFFECT.Color = Color3.new(r1/255,g1/255, b1/255)
  1146. end
  1147. end)
  1148. colorss()
  1149. local MSH
  1150. if TYPE == "Sphere" then
  1151. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1152. elseif TYPE == "Block" then
  1153. MSH = IT("BlockMesh", EFFECT)
  1154. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  1155. elseif TYPE == "Wave" then
  1156. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1157. elseif TYPE == "Ring" then
  1158. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  1159. elseif TYPE == "Slash" then
  1160. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1161. elseif TYPE == "Round Slash" then
  1162. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1163. elseif TYPE == "Swirl" then
  1164. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  1165. elseif TYPE == "Skull" then
  1166. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  1167. elseif TYPE == "Crystal" then
  1168. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  1169. end
  1170. if MSH ~= nil then
  1171. local MOVESPEED
  1172. if MOVEDIRECTION ~= nil then
  1173. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  1174. end
  1175. local GROWTH = SIZE - ENDSIZE
  1176. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1177. if TYPE == "Block" then
  1178. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1179. else
  1180. EFFECT.CFrame = CFRAME
  1181. end
  1182. for LOOP = 1, TIME + 1 do
  1183. Swait()
  1184.  
  1185. MSH.Scale = MSH.Scale - GROWTH / TIME
  1186. if TYPE == "Wave" then
  1187. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  1188. end
  1189. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  1190. if TYPE == "Block" then
  1191. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1192. else
  1193. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  1194. end
  1195. if MOVEDIRECTION ~= nil then
  1196. local ORI = EFFECT.Orientation
  1197. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  1198. EFFECT.Orientation = ORI
  1199. end
  1200. end
  1201. if PLAYSSOUND == false then
  1202. EFFECT:remove()
  1203. else
  1204. repeat
  1205. Swait()
  1206. until SOUND.Playing == false
  1207. EFFECT:remove()
  1208. end
  1209. elseif PLAYSSOUND == false then
  1210. EFFECT:remove()
  1211. else
  1212. repeat
  1213. Swait()
  1214. until SOUND.Playing == false
  1215. EFFECT:remove()
  1216. end
  1217. end))
  1218. end
  1219.  
  1220. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1221. local NEWMESH = IT(MESH)
  1222. if MESH == "SpecialMesh" then
  1223. NEWMESH.MeshType = MESHTYPE
  1224. if MESHID ~= "nil" and MESHID ~= "" then
  1225. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  1226. end
  1227. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1228. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  1229. end
  1230. end
  1231. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1232. NEWMESH.Scale = SCALE
  1233. NEWMESH.Parent = PARENT
  1234. return NEWMESH
  1235. end
  1236. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1237. local NEWPART = IT("Part")
  1238. NEWPART.formFactor = FORMFACTOR
  1239. NEWPART.Reflectance = REFLECTANCE
  1240. NEWPART.Transparency = TRANSPARENCY
  1241. NEWPART.CanCollide = false
  1242. NEWPART.Locked = true
  1243. NEWPART.Anchored = true
  1244. if ANCHOR == false then
  1245. NEWPART.Anchored = false
  1246. end
  1247. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1248. NEWPART.Name = NAME
  1249. NEWPART.Size = SIZE
  1250. NEWPART.Position = Torso.Position
  1251. NEWPART.Material = MATERIAL
  1252. NEWPART:BreakJoints()
  1253. NEWPART.Parent = PARENT
  1254. return NEWPART
  1255. end
  1256.  
  1257. local DParticles = script.Death
  1258. DParticles:remove()
  1259. DParticles.Name = "ArchangelDeathParticles"
  1260.  
  1261. function MakeForm(PART, TYPE)
  1262. if TYPE == "Cyl" then
  1263. local MSH = IT("CylinderMesh", PART)
  1264. elseif TYPE == "Ball" then
  1265. local MSH = IT("SpecialMesh", PART)
  1266. MSH.MeshType = "Sphere"
  1267. elseif TYPE == "Wedge" then
  1268. local MSH = IT("SpecialMesh", PART)
  1269. MSH.MeshType = "Wedge"
  1270. end
  1271. end
  1272. Debris = game:GetService("Debris")
  1273.  
  1274. local DECAL = IT("Decal")
  1275. function MakeRing()
  1276. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  1277. local MSH = IT("BlockMesh", RING)
  1278. local TOP = DECAL:Clone()
  1279. local BOTTOM = DECAL:Clone()
  1280. TOP.Parent = RING
  1281. BOTTOM.Parent = RING
  1282. TOP.Face = "Top"
  1283. BOTTOM.Face = "Bottom"
  1284. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  1285. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  1286. local function REMOVE()
  1287. coroutine.resume(coroutine.create(function()
  1288. local SIZE = MSH.Scale.X
  1289. for i = 1, 35 do
  1290. Swait()
  1291. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1292. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1293. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1294. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1295. end
  1296. RING:remove()
  1297. end))
  1298. end
  1299. return RING, MSH, REMOVE
  1300. end
  1301.  
  1302. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  1303. local TORSO = Torso
  1304. local HUM = Humanoid
  1305. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1306. coroutine.wrap(function()
  1307. VT = Vector3.new
  1308. MRANDOM = math.random
  1309. local A = TIME
  1310. local B = INTENSITY
  1311. local C = true
  1312. local HUMANOID = Humanoid
  1313. local TIMER = A or 35
  1314. local SHAKE = B or 5
  1315. local FADE = C or true
  1316. if HUMANOID then
  1317. local FADER = SHAKE / TIMER
  1318. for i = 1, TIMER do
  1319. wait()
  1320. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  1321. end
  1322. HUMANOID.CameraOffset = VT(0, 0, 0)
  1323. end
  1324.  
  1325. end)()
  1326. end
  1327. end
  1328.  
  1329. function KillChildren(v)
  1330. v:BreakJoints()
  1331. for _, c in pairs(v:GetChildren()) do
  1332. if c:IsA("BasePart") then
  1333. if c.Transparency < 1 then
  1334. if c:FindFirstChildOfClass("Decal") then
  1335. c:FindFirstChildOfClass("Decal"):remove()
  1336. end
  1337. particles(c)
  1338. c.PE.Enabled = true
  1339. c.Parent = Effects
  1340. c.CanCollide = false
  1341. c.Material = "Neon"
  1342. c.Color = C3(1,1,1)
  1343. c.Transparency = 1
  1344. local grav = Instance.new("BodyPosition",c)
  1345. grav.P = 20000
  1346. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1347. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1348. grav.Name = "GravityForce"
  1349. coroutine.resume(coroutine.create(function()
  1350. for i = 1, 20 do
  1351. Swait()
  1352. c.Transparency = c.Transparency + 1/20
  1353. end
  1354. c.PE.Enabled = false
  1355. Debris:AddItem(c,2)
  1356. end))
  1357. end
  1358. end
  1359. end
  1360. end
  1361.  
  1362. function killnearest(position,range,maxstrength)
  1363. for i,v in ipairs(workspace:GetChildren()) do
  1364. local body = v:GetChildren()
  1365. for part = 1, #body do
  1366. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1367. if(body[part].Position - position).Magnitude < range then
  1368. if v.ClassName == "Model" then
  1369. v:BreakJoints()
  1370. end
  1371. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1372. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1373. end
  1374. end
  1375. end
  1376. if v.ClassName == "Part" then
  1377. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1378. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1379. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1380. end
  1381. end
  1382. end
  1383. end
  1384.  
  1385. function ApplyAoE(POSITION, RANGE)
  1386. local PARTS = {}
  1387. for index, CHILD in pairs(workspace:GetDescendants()) do
  1388. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1389. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1390. if HUM then
  1391. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1392. if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1393. CHILD:BreakJoints()
  1394. for index, PART in pairs(CHILD:GetChildren()) do
  1395. if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
  1396. local P = DParticles:Clone()
  1397.  
  1398. P.Color = ColorSequence.new(PART.Color, C3(1, 1, 1))
  1399.  
  1400. table.insert(PARTS, {PART, P})
  1401. end
  1402. end
  1403. end
  1404. end
  1405. elseif CHILD:IsA("BasePart") and CHILD.Parent.Parent ~= Character and CHILD.Parent:FindFirstChildOfClass("Humanoid") == nil and CHILD:FindFirstChild("ewdfrfgrwefd") == nil and CHILD.Size.Magnitude < RANGE * 2 and CHILD.Size.Magnitude < 200 and RANGE > (CHILD.Position - POSITION).Magnitude then
  1406. local FOLDER = IT("Folder", CHILD)
  1407. FOLDER.Name = "ewdfrfgrwefd"
  1408. local P = DParticles:Clone()
  1409.  
  1410. CHILD.Velocity = Vector3.new(math.huge,math.huge,math.huge)
  1411.  
  1412.  
  1413. P.Rate = math.ceil(CHILD.Size.Magnitude / 2)
  1414. P.Color = ColorSequence.new(CHILD.Color, C3(1, 1, 1))
  1415. table.insert(PARTS, {CHILD, P})
  1416. end
  1417. end
  1418. coroutine.resume(coroutine.create(function()
  1419. if #PARTS > 0 then
  1420. for i = 1, 85 do
  1421. Swait()
  1422. for E = 1, #PARTS do
  1423. local F = PARTS[E]
  1424. local A = F[1]
  1425. local B = F[2]
  1426. A.Transparency = A.Transparency + 0.011764705882352941
  1427. B.Rate = math.ceil(B.Rate * 1.2)
  1428. for index, E in pairs(A:GetChildren()) do
  1429.  
  1430. end
  1431. end
  1432. end
  1433. for E = 1, #PARTS do
  1434. local F = PARTS[E]
  1435. local A = F[1]
  1436. local B = F[2]
  1437. B.Enabled = false
  1438. Debris:AddItem(A, 3)
  1439. end
  1440. end
  1441. end))
  1442. end
  1443.  
  1444. function AntiTimeStop()
  1445. for _, c in pairs(Character:GetChildren()) do
  1446. if c:IsA("Part") and c ~= RootPart then
  1447. c.Anchored = false
  1448. end
  1449. end
  1450. if UNANCHOR == true then
  1451. RootPart.Anchored = false
  1452. else
  1453. RootPart.Anchored = true
  1454. end
  1455. end
  1456.  
  1457. Humanoid.Changed:connect(function(Jump)
  1458. if Jump == "Jump" and (Disable_Jump == true) then
  1459. Humanoid.Jump = false
  1460. end
  1461.  
  1462.  
  1463. end)
  1464.  
  1465.  
  1466. local cR=255
  1467. local cG=0
  1468. local cB=0
  1469. local flg5=1 local omgidk=1
  1470. local add=7.5
  1471. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1472. if omgidk>10000 then omgidk=0 end
  1473. omgidk=omgidk+1
  1474. if cR>=255 then flg5=1 end
  1475. if cG>=255 then flg5=2 end
  1476. if cB>=255 then flg5=3 end
  1477. if flg5==1 then cR=cR-add cG=cG+add end
  1478. if flg5==2 then cG=cG-add cB=cB+add end
  1479. if flg5==3 then cB=cB-add cR=cR+add end
  1480. color=Color3.fromRGB(cR,cG,cB)
  1481. end)
  1482.  
  1483. --------------------------------------------------\\\\
  1484. -- ATTACKS ||||
  1485. --------------------------------------------------////
  1486.  
  1487. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1488. coroutine.resume(coroutine.create(function()
  1489. local METEOR = IT("Model",Effects)
  1490. METEOR.Name = "Meteorite"
  1491. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1492. METEOR.PrimaryPart = CENTER
  1493. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1494. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1495. for i = 1, 15 do
  1496. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "White", "Fire", VT(5.1,1,5.1)*SIZE)
  1497. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1498. end
  1499. if ISDEBREE ~= true then
  1500. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1501. else
  1502. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1503. end
  1504. local IMPACT = false
  1505. CreateSound(463593339, CENTER, 10, 0.6)
  1506. if SIZE >= 3.5 then
  1507. for i = 1, MRANDOM(3,7) do
  1508. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1509. end
  1510. end
  1511. for i = 1, 200 do
  1512. Swait()
  1513. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1514. if HITFLOOR == nil then
  1515. local ORI = CENTER.Orientation
  1516. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1517. else
  1518. if HITFLOOR.Anchored == true then
  1519. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1520. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1521. end
  1522. IMPACT = true
  1523. break
  1524. end
  1525. end
  1526. if IMPACT == true then
  1527. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1528. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1529. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1530. ApplyAoE(CENTER.Position,30*SIZE)
  1531. end
  1532. METEOR:remove()
  1533. end))
  1534. end
  1535.  
  1536. function SpawnSmite(POS)
  1537. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1538. local EMITPOS = HITPOS
  1539. if HITFLOOR ~= nil then
  1540. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1541. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1542. EMITPOS = HITPOS
  1543. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1544. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1545. EMITPOS = HITPOS
  1546. end
  1547. end
  1548. if HITFLOOR ~= nil then
  1549. ApplyAoE(EMITPOS,10)
  1550. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 1602946208, SoundPitch = 1, SoundVolume = 5})
  1551. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1552. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1553. for i = 1, 5 do
  1554. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1555. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 1602946208, SoundPitch = 1, SoundVolume = 5})
  1556. end
  1557. end
  1558. end
  1559.  
  1560. function Meteor()
  1561. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1562. if DIST > 180 then
  1563. DIST = 180
  1564. end
  1565. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1566. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1567. if HITFLOOR then
  1568. local POS = HITPOS
  1569. ATTACK = true
  1570. Rooted = true
  1571. local WARPED = false
  1572. local SMASHED = false
  1573. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1574. coroutine.resume(coroutine.create(function()
  1575. repeat
  1576. Swait()
  1577. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1578. 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)
  1579. RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1580. 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)
  1581. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1582. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1583. until WARPED == true
  1584. repeat
  1585. Swait()
  1586. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1587. 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)
  1588. RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1589. 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)
  1590. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1591. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1592. until SMASHED == true
  1593. repeat
  1594. Swait()
  1595. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1596. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
  1597. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1598. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1599. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  1600. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1601. until ATTACK == false
  1602. end))
  1603. VALUE1 = true
  1604. CreateSound(233856115, Torso, 5, 1.6, false)
  1605. for i = 1, 25 do
  1606. Swait()
  1607. for _, c in pairs(Character:GetChildren()) do
  1608. if c.ClassName == "Part" then
  1609. c.Transparency = c.Transparency + 1/25
  1610. end
  1611. end
  1612. for _, c in pairs(Weapon:GetChildren()) do
  1613. if c.ClassName == "Part" then
  1614. c.Transparency = c.Transparency + 1/25
  1615. end
  1616. end
  1617. end
  1618. UNANCHOR = false
  1619. RootPart.Anchored = true
  1620. RootPart.Velocity = VT(0,0,0)
  1621. local ROOTPOS = RootPart.Position
  1622. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  1623. WARPED = true
  1624. for i = 1, 25 do
  1625. Swait()
  1626. for _, c in pairs(Character:GetChildren()) do
  1627. if c.ClassName == "Part" then
  1628. c.Transparency = c.Transparency - 0/25
  1629. end
  1630. end
  1631. for _, c in pairs(Weapon:GetChildren()) do
  1632. if c.ClassName == "Part" then
  1633. c.Transparency = c.Transparency - 1/25
  1634. end
  1635. end
  1636. end
  1637. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Color3.fromRGB(cR,cG,cB)", "Part", VT(0,0,0))
  1638. SHELL.CFrame = RootPart.CFrame
  1639. MakeForm(SHELL,"Ball")
  1640. CreateSound(402981977, SHELL, 5, 1.6, false)
  1641. for i = 1, 10 do
  1642. Swait()
  1643. SHELL.Transparency = SHELL.Transparency - 0
  1644. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  1645. end
  1646. for i = 1, math.ceil(75/2) do
  1647. Swait()
  1648. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  1649. SHELL.CFrame = CF(RootPart.Position)
  1650. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1651. end
  1652. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  1653. SHELL.CFrame = CF(RootPart.Position)
  1654. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  1655. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1656. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1657. for i = 1, 5 do
  1658. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1659. end
  1660. SHELL:remove()
  1661. ApplyAoE(RootPart.Position,75,35,75,175,false)
  1662. SMASHED = true
  1663. wait(1)
  1664. VALUE1 = false
  1665. UNANCHOR = true
  1666. ATTACK = false
  1667. Rooted = false
  1668. end
  1669. end
  1670.  
  1671.  
  1672. function Click()
  1673. ATTACK = true
  1674. Rooted = false
  1675. local HIT = nil
  1676. OFFSET = -45
  1677. for i=0, 1, 0.1 / Animation_Speed do
  1678. Swait()
  1679. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1680. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1681. end
  1682. OFFSET = 45
  1683. local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "Hit", VT(0.7,0.7,0.7),false)
  1684. PUNCH.CanCollide = true
  1685. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
  1686. TAUNT = true
  1687. local TOUCH = PUNCH.Touched:Connect(function(hit)
  1688. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  1689. HIT = hit.Parent
  1690. end
  1691. end)
  1692. for i=0, 0.3, 0.1 / Animation_Speed do
  1693. Swait()
  1694. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3)
  1695. if HIT ~= nil then
  1696. break
  1697. end
  1698. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1699. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1700. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1701. end
  1702. PUNCH:remove()
  1703. TOUCH:disconnect()
  1704. if HIT ~= nil then
  1705. for _, c in pairs(HIT:GetChildren()) do
  1706. if c:IsA("BasePart") then
  1707. c.Anchored = true
  1708. end
  1709. end
  1710. Rooted = true
  1711. CreateSound(649634100, Torso, 10, 0.8)
  1712. CreateSound(1368573150, RightArm, 3, 1.5)
  1713. for i=0, 0.6, 0.1 / Animation_Speed do
  1714. Swait()
  1715. WACKYEFFECT({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(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1716. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(25), RAD(-45)), 0.05 / Animation_Speed)
  1717. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1718. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1719. end
  1720. for _, c in pairs(HIT:GetChildren()) do
  1721. if c:IsA("BasePart") then
  1722. c.Anchored = false
  1723. end
  1724. end
  1725. KillChildren(HIT)
  1726. end
  1727. OFFSET = 0
  1728. ATTACK = false
  1729. Rooted = false
  1730. TAUNT = false
  1731. end
  1732.  
  1733. function Boom()
  1734. Rooted = true
  1735. ATTACK = true
  1736. Character:BreakJoints()
  1737. local Explosion = IT("Explosion",Effects)
  1738. Explosion.Position = HandlePart.Position
  1739. Explosion.BlastPressure = 5000000
  1740. local PRT = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really white", "Handle", VT(0, 0, 0))
  1741. PRT.CanCollide = false
  1742. PRT.CFrame = CF(HandlePart.Position)
  1743. Debris:AddItem(PRT,10)
  1744. CreateSound("2248511", Effects, 10, 0.2)
  1745. MagicSphere(VT(5,5,5),250,PRT.CFrame*CF(0,-2,0),"White",VT(6,2,6))
  1746. MagicSphere(VT(4,4,4),250,PRT.CFrame*CF(0,-2,0),"Really white",VT(6,2,6))
  1747. MagicSphere(VT(5,5,5),250,PRT.CFrame,"White",VT(5,15,5))
  1748. MagicSphere(VT(4,4,4),250,PRT.CFrame,"Really white",VT(5,15,5))
  1749. CreateWave(VT(1,5,1),250,PRT.CFrame*CF(0,-2,0),true,4,"White",VT(5,1,5))
  1750. CreateSwirl(VT(0,0,0),250,PRT.CFrame,true,-4,"Pine Cone",VT(6,6,6))
  1751. CreateSpikeball(VT(0,0,0),250,PRT.CFrame,true,15,"Pine Cone",VT(3,3,3))
  1752. for i = 1, 250 do
  1753. Swait()
  1754. killnearest(PRT.Position,750000,75)
  1755. end
  1756. ATTACK = false
  1757. Rooted = false
  1758. end
  1759.  
  1760. function Dismantle()
  1761.  
  1762. local model = Instance.new("Model")
  1763. model.Parent = workspace
  1764. model.Name = math.random(-10000,10000)
  1765.  
  1766.  
  1767. local Spawner = Instance.new("Part")
  1768. Spawner.Name = "12qwaszx"
  1769. Spawner.CFrame = (Mouse.Hit)
  1770. Spawner.Anchored = true
  1771. Spawner.Size = Vector3.new(0,0,0)
  1772. Spawner.Transparency = 1
  1773. Spawner.Parent = workspace
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779. local Box = Instance.new("Part")
  1780. Box.Position = (Spawner.Position)
  1781. Box.CanCollide = false
  1782. Box.Transparency = 0.5
  1783. Box.Size = Vector3.new(20,20,20)
  1784. Box.Anchored = true
  1785. Box.Material = "Neon"
  1786. Box.Parent = model
  1787.  
  1788. local selection = Instance.new("SelectionBox")
  1789. selection.Parent = Box
  1790. selection.Adornee = Box
  1791. selection.LineThickness = 1
  1792.  
  1793.  
  1794. local face1 = Instance.new("Part")
  1795. face1.Size = Vector3.new(2,20,20)
  1796. face1.Transparency = 1
  1797. face1.CFrame = (Spawner.CFrame)
  1798. face1.Anchored = true
  1799. face1.Parent = model
  1800. face1.CFrame = Box.CFrame*CFrame.new(-10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1801. face1.Material = "Neon"
  1802.  
  1803. local face2 = Instance.new("Part")
  1804. face2.Size = Vector3.new(2,20,20)
  1805. face2.Transparency = 1
  1806. face2.CFrame = (Spawner.CFrame)
  1807. face2.Anchored = true
  1808. face2.Parent = model
  1809. face2.CFrame = Box.CFrame*CFrame.new(10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1810. face2.Material = "Neon"
  1811.  
  1812. local face3 = Instance.new("Part")
  1813. face3.Size = Vector3.new(20,20,2)
  1814. face3.Transparency = 1
  1815. face3.CFrame = (Spawner.CFrame)
  1816. face3.Anchored = true
  1817. face3.Parent = model
  1818. face3.CFrame = Box.CFrame*CFrame.new(0,0,10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1819. face3.Material = "Neon"
  1820.  
  1821. local face4 = Instance.new("Part")
  1822. face4.Size = Vector3.new(20,20,2)
  1823. face4.Transparency = 1
  1824. face4.CFrame = (Spawner.CFrame)
  1825. face4.Anchored = true
  1826. face4.Parent = model
  1827. face4.CFrame = Box.CFrame*CFrame.new(0,0,-10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1828. face4.Material = "Neon"
  1829.  
  1830. local face5 = Instance.new("Part")
  1831. face5.Size = Vector3.new(20,2,20)
  1832. face5.Transparency = 1
  1833. face5.CFrame = (Spawner.CFrame)
  1834. face5.Anchored = true
  1835. face5.Parent = model
  1836. face5.CFrame = Box.CFrame*CFrame.new(0,-10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1837. face5.Material = "Neon"
  1838.  
  1839. local face6 = Instance.new("Part")
  1840. face6.Size = Vector3.new(20,2,20)
  1841. face6.Transparency = 1
  1842. face6.CFrame = (Spawner.CFrame)
  1843. face6.Anchored = true
  1844. face6.Parent = model
  1845. face6.CFrame = Box.CFrame*CFrame.new(0,10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1846. face6.Material = "Neon"
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856. model.PrimaryPart = Spawner
  1857.  
  1858.  
  1859.  
  1860.  
  1861. local RainbowEffect = coroutine.wrap(function()
  1862.  
  1863. while true do
  1864. Swait()
  1865. Box.Color = Color3.new(r/255,g/255,b/255)
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873. selection.Color3 = Color3.new(r/255,g/255,b/255)
  1874.  
  1875. end
  1876. end)
  1877.  
  1878. RainbowEffect()
  1879. local e = 0
  1880.  
  1881.  
  1882. local killing = false
  1883.  
  1884. if killing == false then
  1885. function onTouched(part)
  1886.  
  1887.  
  1888. local hit = part
  1889. hit.CFrame = CFrame.new(Spawner.CFrame.X,Spawner.CFrame.Y, Spawner.CFrame.Z)
  1890.  
  1891. end
  1892. else
  1893.  
  1894. end
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903. Box.Touched:connect(onTouched)
  1904.  
  1905.  
  1906. local spin = coroutine.wrap(function()
  1907. while true do
  1908. e = e + 0.01
  1909. model:SetPrimaryPartCFrame(CFrame.new(Spawner.CFrame.X,Spawner.CFrame.Y ,Spawner.CFrame.Z) * CFrame.fromEulerAnglesXYZ(e,e,0) )
  1910. Swait()
  1911. end
  1912.  
  1913. end)
  1914.  
  1915. spin()
  1916. local moveup = coroutine.wrap(function()
  1917. local p = 0
  1918.  
  1919.  
  1920.  
  1921. for i = 0,0.7,0.01 do
  1922. Swait()
  1923. p = p+0.01
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929. model:SetPrimaryPartCFrame(CFrame.new(Spawner.CFrame.X,Spawner.CFrame.Y + p,Spawner.CFrame.Z) * CFrame.fromEulerAnglesXYZ(e,e,0) )
  1930.  
  1931.  
  1932.  
  1933. end
  1934.  
  1935.  
  1936.  
  1937. end)
  1938.  
  1939.  
  1940.  
  1941. moveup()
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948. wait(1)
  1949.  
  1950. local FLASH = coroutine.wrap(function()
  1951. local p = 1
  1952.  
  1953.  
  1954.  
  1955. for i = 0,0.7,0.01 do
  1956. Swait()
  1957. p = p-0.01
  1958.  
  1959.  
  1960. face1.Transparency = p
  1961. face2.Transparency = p
  1962. face3.Transparency = p
  1963. face4.Transparency = p
  1964. face5.Transparency = p
  1965. face6.Transparency = p
  1966. end
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972. end)
  1973.  
  1974. local sound = Instance.new("Sound")
  1975. sound.Parent = Box
  1976. sound.SoundId = "rbxassetid://1996663666"
  1977. sound.EmitterSize = 100
  1978. sound.MaxDistance = 1000
  1979. sound.TimePosition = 0
  1980. sound:Play()
  1981. sound.Volume = 5
  1982.  
  1983.  
  1984.  
  1985. FLASH()
  1986. wait(2)
  1987.  
  1988. sound:Pause()
  1989.  
  1990. local sound2 = Instance.new("Sound")
  1991. sound2.Parent = Box
  1992. sound2.SoundId = "rbxassetid://178452241"
  1993. sound2.EmitterSize = 100
  1994. sound2.MaxDistance = 1000
  1995. sound2.TimePosition = 0
  1996. sound2:Play()
  1997. sound2.Volume = 10
  1998.  
  1999. local LIGHTNING = coroutine.wrap(function()
  2000. local p = 0
  2001. for i = 0,1,0.01 do
  2002. Swait()
  2003. face1.Transparency = p
  2004. face2.Transparency = p
  2005. face3.Transparency = p
  2006. face4.Transparency = p
  2007. face5.Transparency = p
  2008. face6.Transparency = p
  2009. p = p+0.08
  2010. end
  2011.  
  2012.  
  2013.  
  2014. end)
  2015.  
  2016. LIGHTNING()
  2017.  
  2018.  
  2019.  
  2020.  
  2021.  
  2022. function onTouched(part)
  2023.  
  2024.  
  2025. local hit = part
  2026.  
  2027.  
  2028.  
  2029.  
  2030. local dismantle2 = coroutine.wrap(function()
  2031. for i = 0,2,0.01 do
  2032.  
  2033.  
  2034. Swait()
  2035.  
  2036.  
  2037.  
  2038. hit.Velocity = Vector3.new(math.huge,math.huge,math.huge)
  2039.  
  2040.  
  2041.  
  2042. end
  2043.  
  2044. end)
  2045. dismantle2()
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057. end
  2058.  
  2059. Box.Touched:connect(onTouched)
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072. wait()
  2073. local DISAPPER = coroutine.wrap(function()
  2074. local p = 0
  2075. for i = 0,2,0.01 do
  2076. Swait()
  2077. face1.Transparency = face1.Transparency + p
  2078. face2.Transparency = face1.Transparency + p
  2079. face3.Transparency = face1.Transparency + p
  2080. face4.Transparency = face1.Transparency + p
  2081. face5.Transparency = face1.Transparency + p
  2082. face6.Transparency = face1.Transparency + p
  2083. Box.Transparency = p
  2084. selection.Transparency = p
  2085. p = p+0.01
  2086. end
  2087.  
  2088.  
  2089.  
  2090. end)
  2091. DISAPPER()
  2092.  
  2093. wait(2)
  2094.  
  2095. model:Remove()
  2096. end
  2097.  
  2098.  
  2099.  
  2100. -----------------------------------------------------------------------------------------------------
  2101.  
  2102. function implode()
  2103.  
  2104.  
  2105.  
  2106. end
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.  
  2125. function Smite()
  2126.  
  2127. local spawner = Instance.new("Part")
  2128. spawner.Parent = workspace
  2129. spawner.Transparency = 1
  2130. spawner.CFrame = (Mouse.Hit)
  2131. spawner.Size = Vector3.new(0,0,0)
  2132. spawner.Anchored = true
  2133.  
  2134. local suck = Instance.new("Part")
  2135. suck.Transparency = 0
  2136. suck.CFrame = (spawner.CFrame)
  2137. suck.Size = Vector3.new(70,70,70)
  2138. suck.Material = "Neon"
  2139. suck.Anchored = true
  2140. suck.CanCollide = false
  2141. suck.Shape = "Ball"
  2142. suck.Parent = workspace
  2143.  
  2144. local colors = coroutine.wrap(function()
  2145. for i = 1,55 do
  2146. Swait()
  2147.  
  2148.  
  2149.  
  2150. suck.Color = Color3.new(r/255,g/255,b/255)
  2151. end
  2152.  
  2153.  
  2154. end)
  2155.  
  2156. colors()
  2157.  
  2158.  
  2159. local fade = coroutine.wrap(function()
  2160.  
  2161. local p = 0
  2162.  
  2163. for i = 1,55 do
  2164.  
  2165.  
  2166. suck.Transparency = p
  2167. p = p+0.02
  2168. Swait()
  2169. end
  2170.  
  2171.  
  2172.  
  2173. end)
  2174.  
  2175. fade()
  2176.  
  2177.  
  2178.  
  2179.  
  2180. local size = coroutine.wrap(function()
  2181.  
  2182. local p = 70
  2183.  
  2184. for i = 1,55 do
  2185.  
  2186.  
  2187.  
  2188.  
  2189. suck.Size = Vector3.new(p,p,p)
  2190. p = p - 1
  2191.  
  2192. Swait()
  2193. end
  2194.  
  2195.  
  2196.  
  2197. end)
  2198.  
  2199. size()
  2200.  
  2201. local move = coroutine.wrap(function()
  2202. for i = 1,55 do
  2203. Swait()
  2204.  
  2205. suck.CFrame = (spawner.CFrame)
  2206.  
  2207.  
  2208. end
  2209.  
  2210. end)
  2211.  
  2212. move()
  2213.  
  2214. function onTouched(part)
  2215. local hit = part
  2216.  
  2217. if hit:FindFirstChild("BodyPosition") then
  2218. else
  2219.  
  2220. local blackhole1 = coroutine.wrap(function()
  2221. local pull = Instance.new("BodyPosition")
  2222. pull.position = suck.Position
  2223. pull.Parent = hit
  2224. pull.P = 10000000000
  2225. pull.MaxForce = Vector3.new(10000,10000,10000)
  2226. wait(2)
  2227. pull:Remove()
  2228.  
  2229. end)
  2230. blackhole1()
  2231. end
  2232.  
  2233. end
  2234.  
  2235. suck.Touched:connect(onTouched)
  2236.  
  2237. wait(1)
  2238. suck:Remove()
  2239.  
  2240. local death = Instance.new("Part")
  2241.  
  2242. local boooom = coroutine.wrap(function()
  2243. Swait()
  2244.  
  2245. local bang = Instance.new("Explosion")
  2246.  
  2247. bang.BlastPressure = math.huge
  2248. bang.BlastRadius = 20
  2249. bang.DestroyJointRadiusPercent = 100
  2250. bang.Position = (spawner.Position)
  2251. bang.Visible = false
  2252. bang.Parent = spawner
  2253.  
  2254. local sound2 = Instance.new("Sound")
  2255. sound2.Parent = spawner
  2256. sound2.SoundId = "rbxassetid://168586586"
  2257. sound2.EmitterSize = 100
  2258. sound2.MaxDistance = 1000
  2259. sound2.TimePosition = 0
  2260. sound2:Play()
  2261. sound2.Volume = 10
  2262.  
  2263. death.Parent = workspace
  2264. death.Transparency = 1
  2265. death.CFrame = (spawner.CFrame)
  2266. death.Size = Vector3.new(20,20,20)
  2267.  
  2268. death.Velocity = Vector3.new(math.huge,math.huge,math.huge)
  2269.  
  2270. local size = coroutine.wrap(function()
  2271.  
  2272. local p = 20
  2273.  
  2274. for i = 1,55 do
  2275.  
  2276.  
  2277.  
  2278. death.CFrame = (spawner.CFrame)
  2279. death.Size = Vector3.new(p,p,p)
  2280. p = p + 1
  2281.  
  2282. Swait()
  2283. end
  2284.  
  2285.  
  2286.  
  2287. end)
  2288.  
  2289. size()
  2290.  
  2291.  
  2292. bang.Parent = spawner
  2293.  
  2294. end)
  2295.  
  2296. boooom()
  2297.  
  2298. local RING, MESH, DELET = MakeRing()
  2299. local POS = spawner.Position
  2300. RING.CFrame = CF(spawner.Position + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), spawner.Position) * ANGLES(RAD(90), RAD(0), RAD(0))
  2301.  
  2302. local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
  2303.  
  2304. if HITFLOOR then
  2305.  
  2306. local DIST = (RING.Position - HITPOS).Magnitude
  2307.  
  2308. for i = 1, 5 do
  2309. WACKYEFFECT({
  2310. EffectType = "Wave",
  2311. Size = VT(25, 0, 25),
  2312. Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
  2313. Transparency = 0,
  2314. Transparency2 = 1,
  2315. CFrame = CF(spawner.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2316. MoveToPos = nil,
  2317. RotationX = 0,
  2318. RotationY = 3,
  2319. RotationZ = 0,
  2320. Material = "Neon",
  2321.  
  2322. Color = C3(r1/255, g1/255, b1/255),
  2323. SoundID = nil,
  2324. SoundPitch = nil,
  2325. SoundVolume = nil
  2326. })
  2327. WACKYEFFECT({
  2328. EffectType = "Round Slash",
  2329. Size = VT(3, 0, 3) / 13,
  2330. Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
  2331. Transparency = 0,
  2332. Transparency2 = 1,
  2333. CFrame = CF(spawner.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  2334. MoveToPos = nil,
  2335. RotationX = 0,
  2336. RotationY = 0,
  2337. RotationZ = 0,
  2338. Material = "Neon",
  2339. Color = C3(r1/255, g1/255, b1/255),
  2340. SoundID = nil,
  2341. SoundPitch = nil,
  2342. SoundVolume = nil
  2343. })
  2344. WACKYEFFECT({
  2345. Time = 35,
  2346. EffectType = "Sphere",
  2347. Size = VT(22, 22, 22),
  2348. Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
  2349. Transparency = 0,
  2350. Transparency2 = 1,
  2351. CFrame = CF(spawner.Position),
  2352. MoveToPos = nil,
  2353. RotationX = 0,
  2354. RotationY = 0,
  2355. RotationZ = 0,
  2356. Material = "Neon",
  2357.  
  2358. Color = C3(r1/255, g1/255, b1/255),
  2359. SoundID = 459523898,
  2360. SoundPitch = MRANDOM(9, 12) / 10,
  2361. SoundVolume = 10
  2362. })
  2363. end
  2364. SHAKECAM(spawner.Position, 100, 8, 15)
  2365. ApplyAoE(spawner.Position, 50)
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382. for i = 1, 25 do
  2383. Swait()
  2384.  
  2385. end
  2386.  
  2387. end
  2388.  
  2389. wait(0.2)
  2390.  
  2391. death:Remove()
  2392. DELET()
  2393. wait(2)
  2394. spawner:Remove()
  2395.  
  2396. end
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422.  
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434. v = 0
  2435.  
  2436.  
  2437. function onKeyPress(inputObject, gameProcessedEvent)
  2438. if inputObject.KeyCode == Enum.KeyCode.E then
  2439. v = 0
  2440. SKILL7TEXT.Text = "[CLICK] Cube of Rainbow"
  2441. end
  2442. end
  2443.  
  2444. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  2445.  
  2446.  
  2447. function onKeyPress(inputObject, gameProcessedEvent)
  2448. if inputObject.KeyCode == Enum.KeyCode.R then
  2449. v = 1
  2450. SKILL7TEXT.Text = "[CLICK] Explosion of Rainbow"
  2451. end
  2452. end
  2453. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  2454.  
  2455.  
  2456. Mouse.Button1Down:connect(function()
  2457.  
  2458.  
  2459.  
  2460. if v == 0 then
  2461. Dismantle()
  2462.  
  2463. end
  2464.  
  2465. if v == 1 then
  2466. implode()
  2467. Smite()
  2468. end
  2469.  
  2470. end)
  2471.  
  2472. Mouse.KeyDown:connect(function(key)
  2473. if key == "f" then
  2474. SpawnSmite(Mouse.Hit.p)
  2475. end
  2476. if Key == "z" then
  2477. Smite()
  2478. end
  2479. if Key == "x" then
  2480. implode()
  2481. end
  2482. if Key == "c" then
  2483. Dismantle()
  2484. end
  2485. if key == "q" then
  2486. local pos = RootPart.Position
  2487. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos)
  2488. end
  2489. if Key == "g" then
  2490. Boom()
  2491. end
  2492. end)
  2493.  
  2494.  
  2495. function onKeyPress(inputObject, gameProcessedEvent)
  2496. if inputObject.KeyCode == Enum.KeyCode.P then
  2497.  
  2498. for _, c in pairs(Character:GetChildren()) do
  2499. c:Remove()
  2500. createstuff()
  2501. headness.Parent = Character
  2502. headness.CFrame = Torso.CFrame*CFrame.new(0,2,0)
  2503. weldBetween(headness,Head)
  2504. txt.Adornee = BlockHead
  2505.  
  2506.  
  2507. end
  2508.  
  2509. sick.SoundId = "rbxassetid://556122490"
  2510. sick.Looped = true
  2511. sick.Pitch = 1
  2512. sick.Volume = 2
  2513. sick.Parent = Effects
  2514. sick.Playing = PLAYSONG
  2515.  
  2516. local Effects = IT("Folder", Character)
  2517. Effects.Name = "Effects"
  2518.  
  2519. local Effects = IT("Folder", Character)
  2520. Effects.Name = "Effects"
  2521. local deathpart = Instance.new("Part")
  2522. deathpart.Parent = game.Workspace
  2523. deathpart.CFrame = (Torso.CFrame)
  2524. deathpart.Anchored = true
  2525. deathpart.Size = Vector3.new(2,2,2)
  2526. deathpart.Material = ("Neon")
  2527. deathpart.CanCollide = false
  2528. deathpart.Transparency = 0
  2529. deathpart.Shape = "Ball"
  2530.  
  2531.  
  2532. local stoptime = coroutine.wrap(function()
  2533.  
  2534. local p = 2
  2535.  
  2536.  
  2537.  
  2538. for i = 1,10,0.1 do
  2539.  
  2540. deathpart.CFrame = (Torso.CFrame)
  2541.  
  2542. deathpart.Color = Color3.new(r/255,g/255,b/255)
  2543. deathpart.Size = Vector3.new(p,p,p)
  2544. Blockhead.Parent = headness
  2545.  
  2546. p = p+2
  2547. Swait()
  2548. end
  2549.  
  2550.  
  2551.  
  2552. end)
  2553.  
  2554. stoptime()
  2555.  
  2556. ------------------------------------------
  2557.  
  2558.  
  2559.  
  2560.  
  2561. local stoptime = coroutine.wrap(function()
  2562.  
  2563. local p = 2
  2564.  
  2565.  
  2566.  
  2567. for i = 1,10,0.1 do
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573. deathpart.Transparency = p/30
  2574.  
  2575. p = p+1
  2576. Swait()
  2577. end
  2578.  
  2579.  
  2580.  
  2581. end)
  2582.  
  2583. stoptime()
  2584.  
  2585.  
  2586.  
  2587.  
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596. wait(1)
  2597.  
  2598. deathpart:Remove()
  2599.  
  2600.  
  2601. end
  2602.  
  2603.  
  2604.  
  2605. end
  2606.  
  2607. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618. local random4 = coroutine.wrap(function()
  2619. while true do
  2620.  
  2621. RightArm.Color = Color3.new(r/255,g/255,b/255)
  2622. LeftArm.Color = Color3.new(r/255,g/255,b/255)
  2623. RightLeg.Color = Color3.new(r/255,g/255,b/255)
  2624. LeftLeg.Color = Color3.new(r/255,g/255,b/255)
  2625. headness.Color = Color3.new(r/255,g/255,b/255)
  2626. Torso.Color = Color3.new(r/255,g/255,b/255)
  2627. headness.Transparency = 0.5
  2628. RootPart.Transparency = 1
  2629.  
  2630.  
  2631. Swait()
  2632. end
  2633. end)
  2634.  
  2635. random4()
  2636.  
  2637. while true do
  2638.  
  2639.  
  2640. RightArm.Transparency = 0.3
  2641. LeftArm.Transparency = 0.3
  2642. RightLeg.Transparency = 0.3
  2643. LeftLeg.Transparency = 0.3
  2644. Torso.Transparency = 0.3
  2645. Head.Transparency = 1
  2646. RightArm.Material = ("Neon")
  2647. LeftArm.Material = ("Neon")
  2648. LeftLeg.Material = ("Neon")
  2649. RightLeg.Material = ("Neon")
  2650. Torso.Material = ("Neon")
  2651. Head.Material = ("Neon")
  2652. headness.Material = ("Neon")
  2653.  
  2654.  
  2655. function fix()
  2656.  
  2657. if Head.Size ~= Vector3.new(2,1,1)then
  2658. Head.Size = Vector3.new(1,1,1)
  2659. end
  2660.  
  2661.  
  2662. if RightArm.Size ~= Vector3.new(1,2,1)then
  2663. RightArm.Size = Vector3.new(1,2,1)
  2664. end
  2665.  
  2666.  
  2667. if LeftArm.Size ~= Vector3.new(1,2,1)then
  2668. LeftArm.Size = Vector3.new(1,2,1)
  2669. end
  2670.  
  2671. if RightLeg.Size ~= Vector3.new(1,2,1)then
  2672. RightLeg.Size = Vector3.new(1,2,1)
  2673. end
  2674.  
  2675. if LeftArm.Size ~= Vector3.new(1,2,1)then
  2676. LeftArm.Size = Vector3.new(1,2,1)
  2677. end
  2678.  
  2679. if Torso.Size ~= Vector3.new(2,2,1)then
  2680. Torso.Size = Vector3.new(2,2,1)
  2681. end
  2682. end
  2683.  
  2684.  
  2685.  
  2686. Swait()
  2687.  
  2688. script.Parent = WEAPONGUI
  2689. ANIMATE.Parent = nil
  2690. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2691. v:Stop();
  2692. end
  2693. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2694. Humanoid = IT("Humanoid",Character)
  2695. end
  2696.  
  2697. SINE = SINE + CHANGE
  2698. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2699. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2700. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2701. local WALKSPEEDVALUE = 4
  2702.  
  2703. if ANIM == "Walk" and TORSOVELOCITY > 1 and PLAYSONG == true then
  2704. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2705. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2706. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2707. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2708. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or PLAYSONG == false then
  2709. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2710. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2711. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2712. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2713. end
  2714. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2715. ANIM = "Jump"
  2716. if ATTACK == false then
  2717. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2718. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2719. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2720. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2721. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2722. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2723. end
  2724. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2725. ANIM = "Fall"
  2726. if ATTACK == false then
  2727. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2728. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2729. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2730. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2731. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2732. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2733. end
  2734. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2735. ANIM = "Idle"
  2736. if ATTACK == false then
  2737. 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)
  2738. 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)
  2739. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2740. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2741. 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)
  2742. 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)
  2743. end
  2744. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2745. ANIM = "Walk"
  2746. if ATTACK == false then
  2747. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2748. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, -0.025, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2749. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2750. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2751. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2752. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2753. end
  2754. end
  2755. for _, c in pairs(Character:GetChildren()) do
  2756. if c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "SelectionBox" or c.Name == "Body Colors" then
  2757. c:remove()
  2758. end
  2759. end
  2760. AntiTimeStop()
  2761. fix()
  2762.  
  2763. Humanoid.MaxHealth = 10e10
  2764. Humanoid.Health = 10e10
  2765.  
  2766.  
  2767.  
  2768.  
  2769. if Rooted == false then
  2770. Disable_Jump = false
  2771. Humanoid.WalkSpeed = Speed
  2772. elseif Rooted == true then
  2773. Disable_Jump = true
  2774. Humanoid.WalkSpeed = 0
  2775. end
  2776.  
  2777.  
  2778. --1383666704
  2779. sick.SoundId = "rbxassetid://556122490"
  2780. sick.Looped = true
  2781. sick.Pitch = 1
  2782. sick.Volume = 2
  2783. sick.Parent = Effects
  2784. sick.Playing = PLAYSONG
  2785. Humanoid.PlatformStand = false
  2786. Humanoid.Name = "the god of shapes"
  2787. refit()
  2788.  
  2789. for _, c in pairs(Character:GetChildren()) do
  2790. if c:IsA("BasePart") and ATTACK == false then
  2791. for _, e in pairs(c:GetChildren()) do
  2792. if e:IsA("BodyPosition") or e:IsA("BodyGyro") or e:IsA("Decal") or e:IsA("ParticleEmitter") or e:IsA("Fire") or e:IsA("Smoke") or e:IsA("SelectionBox") or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" or c.ClassName == "ShirtGraphic" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
  2793. e:remove()
  2794. end
  2795. end
  2796. end
  2797. end
  2798. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement