Advertisement
Goo345

Untitled

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