Advertisement
Guest User

g

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