Advertisement
Guest User

shape

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