Advertisement
gecksad

Untitled

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