Advertisement
Guest User

Untitled

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