Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest May 16th, 2018 125 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. --[[Floaty thing by SezHu.
  2.  
  3. If you want a creation like this of your own, shoot me a friend request me on Discord! (Sezzie
  4. #1875) Prices start at 250 robux.]]--
  5.  
  6.  
  7. local songs = {
  8.     1257406162,    --Boy
  9.  
  10.     1002801119,  --Oh, it's you.
  11.     228368084,   --Fortress of Lies
  12.     692796920,   --Soul Food
  13.         1137575800,   --Burn Marks
  14.         388853531,
  15.         1388205829,   --D r o w z y
  16.         566546592,   --S a y o n a r a
  17.         1446511374,   --Oracle
  18.     } --Add your songs by replacing the IDs with your song ID.
  19.  
  20.  
  21. local quotes = {
  22.     "Something to relax to..",
  23.     "Yawn..",
  24.     "Just floatin'~",
  25.     "Going up~",
  26.     "I like this song..",
  27.         "Time to kick back..",
  28.         "^w^",
  29.     } --Feel free to replace the quotes with stuff of your own.
  30.  
  31.  
  32. local function soundbork(obj)
  33.    if obj:IsA("Sound") and obj.Name ~= "playlist" then
  34. --obj:Destroy() Remove the two dashes to silence all music but your own.
  35.       return
  36.    end
  37.  
  38.  
  39.    local children = obj:GetChildren()
  40.    for i = 1, #children do
  41.     soundbork(children[i])
  42.    end
  43.    
  44.    return
  45. end
  46.  
  47. --//Constants\\--
  48.  
  49. Effects = { }
  50. local Player = game.Players.localPlayer
  51. local Mouse = Player:GetMouse()
  52. local Character = Player.Character
  53. local Humanoid = Character.Humanoid
  54. local Head = Character.Head
  55. local RootPart = Character.HumanoidRootPart
  56. local Torso = Character.Torso
  57. local LeftArm = Character["Left Arm"]
  58. local RightArm = Character["Right Arm"]
  59. local LeftLeg = Character["Left Leg"]
  60. local RightLeg = Character["Right Leg"]
  61. local Camera = game.Workspace.CurrentCamera
  62. local RootJoint = RootPart.RootJoint
  63. local Equipped = false
  64. local Attack = false
  65. local Anim = 'Idle'
  66. local Idle = 0
  67. local Combo = 1
  68. local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  69. local Velocity = RootPart.Velocity.y
  70. local Sine = 0
  71. local Change = 1
  72. local aoeconstant = 10
  73. local maincol = "Pink"
  74. local maincol2 = "White"
  75. local randString = songs[math.random(#songs)]
  76. local circleinthesky = false
  77. Character.Humanoid.Name = "help"
  78. humanoid = Character.help
  79. Instance.new("ForceField",Character).Visible = false
  80.  
  81.  
  82.  
  83.  
  84.  
  85. local RbxUtility = LoadLibrary("RbxUtility")
  86. local Create = RbxUtility.Create
  87.  
  88. humanoid.WalkSpeed = 3
  89. humanoid.JumpPower = 0
  90. humanoid.Animator.Parent = nil
  91. Character.Animate.Parent = nil
  92.  
  93. local newMotor = function(part0, part1, c0, c1)
  94.     local w = Create('Motor'){
  95.         Parent = part0,
  96.         Part0 = part0,
  97.         Part1 = part1,
  98.         C0 = c0,
  99.         C1 = c1,
  100.     }
  101.     return w
  102. end
  103.  
  104.  
  105. skillcolorscheme = BrickColor.new(maincol).Color
  106.  
  107. local hue = 0
  108.  
  109. spawn(function()
  110. while true do
  111.     hue = hue + .0005
  112.     if hue >= 1 then hue = 0 end
  113.         maincol2 = Color3.fromHSV(hue,1,1)
  114.     game["Run Service"].RenderStepped:wait()
  115. end
  116. end)
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  124. function makeframe(par, trans, pos, size, color)
  125.     local frame = Instance.new('Frame', par)
  126.     frame.BackgroundTransparency = trans
  127.     frame.BorderSizePixel = 0
  128.     frame.Position = pos
  129.     frame.Size = size
  130.     frame.BackgroundColor3 = color
  131.     return frame
  132. end
  133.  
  134. --framesk1 = makeframe(scrn, .95, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  135.  
  136. function clerp(a, b, t)
  137.     return a:lerp(b, t)
  138. end
  139.  
  140. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  141. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  142.  
  143. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  144. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  145. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  146. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  147. RootJoint.C1 = CFrame.new(0, 0, 0)
  148. RootJoint.C0 = CFrame.new(0, 0, 0)
  149. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  150. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  151.  
  152. local rarmc1 = RW.C1
  153. local larmc1 = LW.C1
  154. local rlegc1 = RH.C1
  155. local llegc1 = LH.C1
  156.  
  157. local resetc1 = false
  158.  
  159. function PlayAnimationFromTable(table, speed, bool)
  160.     RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  161.     Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  162.     RW.C0 = clerp(RW.C0, table[3], speed)
  163.     LW.C0 = clerp(LW.C0, table[4], speed)
  164.     RH.C0 = clerp(RH.C0, table[5], speed)
  165.     LH.C0 = clerp(LH.C0, table[6], speed)
  166.     if bool == true then
  167.         if resetc1 == false then
  168.             resetc1 = true
  169.             RootJoint.C1 = RootJoint.C1
  170.             Torso.Neck.C1 = Torso.Neck.C1
  171.             RW.C1 = rarmc1
  172.             LW.C1 = larmc1
  173.             RH.C1 = rlegc1
  174.             LH.C1 = llegc1
  175.         end
  176.     end
  177. end
  178.  
  179. ArtificialHB = Create("BindableEvent"){
  180.     Parent = script,
  181.     Name = "Heartbeat",
  182. }
  183.  
  184. script:WaitForChild("Heartbeat")
  185.  
  186. frame = 1 / 35
  187. tf = 0
  188. allowframeloss = false
  189. tossremainder = false
  190. lastframe = tick()
  191. script.Heartbeat:Fire()
  192.  
  193. game:GetService("RunService").Heartbeat:connect(function(s, p)
  194.     tf = tf + s
  195.     if tf >= frame then
  196.         if allowframeloss then
  197.             script.Heartbeat:Fire()
  198.             lastframe = tick()
  199.         else
  200.             for i = 1, math.floor(tf / frame) do
  201.                 script.Heartbeat:Fire()
  202.             end
  203.             lastframe = tick()
  204.         end
  205.         if tossremainder then
  206.             tf = 0
  207.         else
  208.             tf = tf - frame * math.floor(tf / frame)
  209.         end
  210.     end
  211. end)
  212.  
  213. function swait(num)
  214.     if num == 0 or num == nil then
  215.         ArtificialHB.Event:wait()
  216.     else
  217.         for i = 0, num do
  218.             ArtificialHB.Event:wait()
  219.         end
  220.     end
  221. end
  222.  
  223.  
  224.  
  225. local m = Create("Model"){
  226.     Parent = Character,
  227.     Name = "WeaponModel"
  228. }
  229.  
  230. function RemoveOutlines(part)
  231.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  232. end
  233.    
  234. CFuncs = { 
  235.     Part = {
  236.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  237.             local Part = Create("Part"){
  238.                 Parent = Parent,
  239.                 Reflectance = Reflectance,
  240.                 Transparency = Transparency,
  241.                 CanCollide = false,
  242.                 Locked = true,
  243.                 BrickColor = BrickColor.new(tostring(BColor)),
  244.                 Name = Name,
  245.                 Size = Size,
  246.                 Material = Material,
  247.             }
  248.             RemoveOutlines(Part)
  249.             if Size == Vector3.new() then
  250.                 Part.Size = Vector3.new(0.2, 0.2, 0.2)
  251.             else
  252.                 Part.Size = Size
  253.             end
  254.             return Part
  255.         end;
  256.     };
  257.    
  258.     Mesh = {
  259.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  260.             local Msh = Create(Mesh){
  261.                 Parent = Part,
  262.                 Offset = OffSet,
  263.                 Scale = Scale,
  264.             }
  265.             if Mesh == "SpecialMesh" then
  266.                 Msh.MeshType = MeshType
  267.                 Msh.MeshId = MeshId
  268.             end
  269.             return Msh
  270.         end;
  271.     };
  272.  
  273.     Weld = {
  274.         Create = function(Parent, Part0, Part1, C0, C1)
  275.             local Weld = Create("Weld"){
  276.                 Parent = Parent,
  277.                 Part0 = Part0,
  278.                 Part1 = Part1,
  279.                 C0 = C0,
  280.                 C1 = C1,
  281.             }
  282.             return Weld
  283.         end;
  284.     };
  285.  
  286.     Sound = {
  287.         Create = function(id, par, vol, pit, looped)
  288.             coroutine.resume(coroutine.create(function()
  289.                 local S = Create("Sound"){
  290.                     Volume = vol,
  291.                     Pitch = pit or 1,
  292.                     SoundId = "rbxassetid://" .. id,
  293.                     Parent = par or workspace,
  294.                     Looped = looped
  295.                 }
  296.                 wait()
  297.                 S:play()
  298.             end))
  299.         end;
  300.     };
  301.    
  302.     ParticleEmitter = {
  303.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  304.             local Particle = Create("ParticleEmitter"){
  305.                 Parent = Parent,
  306.                 Color = ColorSequence.new(Color1, Color2),
  307.                 LightEmission = LightEmission,
  308.                 Size = Size,
  309.                 Texture = Texture,
  310.                 Transparency = Transparency,
  311.                 ZOffset = ZOffset,
  312.                 Acceleration = Accel,
  313.                 Drag = Drag,
  314.                 LockedToPart = LockedToPart,
  315.                 VelocityInheritance = VelocityInheritance,
  316.                 EmissionDirection = EmissionDirection,
  317.                 Enabled = Enabled,
  318.                 Lifetime = LifeTime,
  319.                 Rate = Rate,
  320.                 Rotation = Rotation,
  321.                 RotSpeed = RotSpeed,
  322.                 Speed = Speed,
  323.                 VelocitySpread = VelocitySpread,
  324.             }
  325.             return Particle
  326.         end;
  327.     };
  328.    
  329.     CreateTemplate = {
  330.        
  331.     };
  332. }
  333.  
  334. --/v/Don't touch this part. \v\--
  335.  
  336. playlist=Instance.new("Sound", Torso)
  337. playlist.SoundId = "rbxassetid://" ..randString
  338. playlist.Volume = 5
  339. playlist.Looped = false
  340. playlist.Name = "playlist"
  341. playlist:Play()
  342.  
  343. --/^/Don't touch this part. \^\--
  344.  
  345. function RayCast(Position, Direction, Range, Ignore)
  346.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  347. end
  348.  
  349. FindNearestTorso = function(pos)
  350.     local list = (game.Workspace:children())
  351.     local torso = nil
  352.     local dist = 1000
  353.     local temp, human, temp2 = nil, nil, nil
  354.     for x = 1, #list do
  355.         temp2 = list[x]
  356.         if temp2.className == "Model" and temp2.Name ~= Character.Name then
  357.             temp = temp2:findFirstChild("Torso")
  358.             human = temp2:findFirstChild("Humanoid")
  359.             if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  360.                 local dohit = true
  361.                 if dohit == true then
  362.                     torso = temp
  363.                     dist = (temp.Position - pos).magnitude
  364.                 end
  365.             end
  366.         end
  367.     end
  368.     return torso, dist
  369. end
  370.  
  371. RootPart.CFrame =  RootPart.CFrame * CFrame.new(0,5,0)
  372.  
  373. Harness=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Harness",Vector3.new(0.420000285, 0.490000188, 0.399999768))
  374. HarnessWeld=CFuncs.Weld.Create(m,Character["Torso"],Harness,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0500001907, -0.0350001119, -0.0871353149, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  375. FloatField2=CFuncs.Part.Create(m,Enum.Material.Neon,0,.5,"Lily white","FloatField2",Vector3.new(5, 8, 5))
  376. FloatField2Weld=CFuncs.Weld.Create(m,Harness,FloatField2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.58035278e-05, 3.50000337e-05, 6.10351563e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  377. flotemesh=CFuncs.Mesh.Create("SpecialMesh",FloatField2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  378. spinny=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "spinny", Vector3.new())  
  379. spinny.Anchored=true
  380. spinny.CanCollide=false
  381.  
  382.  
  383. transp = .5
  384. spawn(function()
  385. while true do
  386.     transp = transp + .001
  387.         FloatField2.Transparency = transp
  388.         swait()
  389. if transp >= 1 then
  390. transp = .5
  391. end
  392. end
  393. end)
  394.  
  395.  
  396.  
  397. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  398.     if hit.Parent == nil then
  399.         return
  400.     end
  401.     local h = hit.Parent:FindFirstChild("Humanoid")
  402.     for _, v in pairs(hit.Parent:children()) do
  403.         if v:IsA("Humanoid") then
  404.             h = v
  405.         end
  406.     end
  407.     if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  408.         if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  409.             if hit.Parent.DebounceHit.Value == true then
  410.                 return
  411.             end
  412.         end
  413.         local c = Create("ObjectValue"){
  414.             Name = "creator",
  415.             Value = game:service("Players").LocalPlayer,
  416.             Parent = h,
  417.         }
  418.         game:GetService("Debris"):AddItem(c, .5)
  419.         if HitSound ~= nil and HitPitch ~= nil then
  420.             CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  421.         end
  422.         local Damage = math.random(minim, maxim)
  423.         local blocked = false
  424.         local block = hit.Parent:findFirstChild("Block")
  425.         if block ~= nil then
  426.             if block.className == "IntValue" then
  427.                 if block.Value > 0 then
  428.                     blocked = true
  429.                     block.Value = block.Value - 1
  430.                     print(block.Value)
  431.                 end
  432.             end
  433.         end
  434.         if blocked == false then
  435.             h.Health = h.Health - Damage
  436.             --ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  437.         else
  438.             h.Health = h.Health - (Damage / 2)
  439.             --ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  440.         end
  441.         if Type == "Knockdown" then
  442.             local hum = hit.Parent.Humanoid
  443.             hum.PlatformStand = true
  444.             coroutine.resume(coroutine.create(function(HHumanoid)
  445.                 swait(1)
  446.                 HHumanoid.PlatformStand = false
  447.             end), hum)
  448.             local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  449.             local bodvol = Create("BodyVelocity"){
  450.                 velocity = angle * knockback,
  451.                 P = 5000,
  452.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  453.                 Parent = hit,
  454.             }
  455.             local rl = Create("BodyAngularVelocity"){
  456.                 P = 3000,
  457.                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  458.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  459.                 Parent = hit,
  460.             }
  461.             game:GetService("Debris"):AddItem(bodvol, .5)
  462.             game:GetService("Debris"):AddItem(rl, .5)
  463.         elseif Type == "Normal" then
  464.             local vp = Create("BodyVelocity"){
  465.                 P = 10,
  466.                 maxForce = Vector3.new(math.huge, 0, math.huge),
  467.                 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  468.             }
  469.             print(hit.Parent)
  470.             if knockback > 0 then
  471.                 vp.Parent = hit.Parent.Torso
  472.             end
  473.             local hum = hit.Parent.Humanoid
  474.             hum.PlatformStand = true
  475. local TotalMass = 0
  476. for _, part in pairs(hit.Parent:GetChildren()) do
  477.      if part:IsA("Part") then
  478.           TotalMass = TotalMass + part:GetMass()
  479.      end
  480. end
  481.  
  482.  
  483.  
  484. local ForceOfGravity = -197 * TotalMass
  485. local floatybits = Instance.new("BodyForce", hit.Parent.Torso)
  486. floatybits.force = Vector3.new(0, -ForceOfGravity, 0)
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493. spawn(function()
  494. local spinny2=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "spinny2", Vector3.new())  
  495. spinny2.Anchored=true
  496. spinny2.CanCollide=false
  497. for i = 0, 2, .001 do
  498. local alg = math.floor(playlist.PlaybackLoudness)/500
  499. local alg2 = math.floor(playlist.PlaybackLoudness)/80
  500. local efekt2=CFuncs.Part.Create(hit.Parent.Torso, "Neon", 0, .3, BrickColor.new(maincol2), "ref", Vector3.new(.05,alg2,.3))
  501. efekt2.Anchored=true
  502. efekt2.CanCollide=false
  503. spinny2.CFrame = spinny2.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/100, 0)
  504. spinny2.Position = hit.Parent.Torso.Position
  505. efekt2.CFrame=spinny2.CFrame*CFrame.new(aoeconstant-5,0,0)
  506. game:GetService("Debris"):AddItem(efekt2, .7)
  507. swait()
  508. end
  509. end)
  510.  
  511.             local rl = Create("BodyAngularVelocity"){
  512.                 P = 500,
  513.                 maxTorque = Vector3.new(10, 10, 10),
  514.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  515.                 Parent = hit,
  516.             }                  
  517. game:GetService("Debris"):AddItem(rl, 10)
  518. game:GetService("Debris"):AddItem(floatybits, 10)
  519. game:GetService("Debris"):AddItem(vp, .5)
  520.  
  521.         elseif Type == "Up" then
  522.             local bodyVelocity = Create("BodyVelocity"){
  523.                 velocity = Vector3.new(0, 20, 0),
  524.                 P = 5000,
  525.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  526.                 Parent = hit,
  527.             }
  528.             game:GetService("Debris"):AddItem(bodyVelocity, .5)
  529.         elseif Type == "DarkUp" then
  530.             coroutine.resume(coroutine.create(function()
  531.                 for i = 0, 1, 0.1 do
  532.                     swait()
  533.                     Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  534.                 end
  535.             end))
  536.             local bodyVelocity = Create("BodyVelocity"){
  537.                 velocity = Vector3.new(0, 20, 0),
  538.                 P = 5000,
  539.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  540.                 Parent = hit,
  541.             }
  542.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  543.         elseif Type == "Snare" then
  544.             local bp = Create("BodyPosition"){
  545.                 P = 2000,
  546.                 D = 100,
  547.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  548.                 position = hit.Parent.Torso.Position,
  549.                 Parent = hit.Parent.Torso,
  550.             }
  551.             game:GetService("Debris"):AddItem(bp, 1)
  552.         elseif Type == "Freeze" then
  553.             local BodPos = Create("BodyPosition"){
  554.                 P = 50000,
  555.                 D = 1000,
  556.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  557.                 position = hit.Parent.Torso.Position,
  558.                 Parent = hit.Parent.Torso,
  559.             }
  560.             local BodGy = Create("BodyGyro") {
  561.                 maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  562.                 P = 20e+003,
  563.                 Parent = hit.Parent.Torso,
  564.                 cf = hit.Parent.Torso.CFrame,
  565.             }
  566.             hit.Parent.Torso.Anchored = true
  567.             coroutine.resume(coroutine.create(function(Part)
  568.                 swait(1.5)
  569.                 Part.Anchored = false
  570.             end), hit.Parent.Torso)
  571.             game:GetService("Debris"):AddItem(BodPos, 3)
  572.             game:GetService("Debris"):AddItem(BodGy, 3)
  573.         end
  574.         local debounce = Create("BoolValue"){
  575.             Name = "DebounceHit",
  576.             Parent = hit.Parent,
  577.             Value = true,
  578.         }
  579.         game:GetService("Debris"):AddItem(debounce, Delay)
  580.         c = Create("ObjectValue"){
  581.             Name = "creator",
  582.             Value = Player,
  583.             Parent = h,
  584.         }
  585.         game:GetService("Debris"):AddItem(c, .5)
  586.     end
  587. end
  588.  
  589. function ShowDamage(Pos, Text, Time, Color)
  590.     local Rate = (1 / 60)
  591.     local Pos = (Pos or Vector3.new(0, 0, 0))
  592.     local Text = (Text or "")
  593.     local Time = (Time or 2)
  594.     local Color = (Color or Color3.new(1, 0, 1))
  595.     local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  596.     EffectPart.Anchored = true
  597.     local BillboardGui = Create("BillboardGui"){
  598.         Size = UDim2.new(3, 0, 3, 0),
  599.         Adornee = EffectPart,
  600.         Parent = EffectPart,
  601.     }
  602.     local TextLabel = Create("TextLabel"){
  603.         BackgroundTransparency = 1,
  604.         Size = UDim2.new(1, 0, 1, 0),
  605.         Text = Text,
  606.         Font = "SourceSansLight",
  607.         TextColor3 = Color,
  608.         TextScaled = true,
  609.         Parent = BillboardGui,
  610.     }
  611.     game.Debris:AddItem(EffectPart, (Time))
  612.     EffectPart.Parent = game:GetService("Workspace")
  613.     delay(0, function()
  614.         local Frames = (Time / Rate)
  615.         for Frame = 1, Frames do
  616.             wait(Rate)
  617.             local Percent = (Frame / Frames)
  618.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  619.             TextLabel.TextTransparency = Percent
  620.         end
  621.         if EffectPart and EffectPart.Parent then
  622.             EffectPart:Destroy()
  623.         end
  624.     end)
  625. end
  626.  
  627. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  628.     for _, c in pairs(workspace:children()) do
  629.         local hum = c:findFirstChild("Humanoid")
  630.         if hum ~= nil then
  631.             local head = c:findFirstChild("Torso")
  632.             if head ~= nil then
  633.                 local targ = head.Position - Part.Position
  634.                 local mag = targ.magnitude
  635.                 if mag <= Magnitude and c.Name ~= Player.Name then
  636.                     Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 10, "rbxassetid://" .. HitSound, HitPitch)
  637.                 end
  638.             end
  639.         end
  640.     end
  641. end
  642.  
  643. EffectModel = Create("Model"){
  644.     Parent = Character,
  645.     Name = "EffectModel",
  646. }
  647.  
  648. Effects = {
  649.     Block = {
  650.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  651.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  652.             prt.Anchored = true
  653.             prt.CFrame = cframe
  654.             msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  655.             game:GetService("Debris"):AddItem(prt, 10)
  656.             if Type == 1 or Type == nil then
  657.                 table.insert(Effects, {
  658.                     prt,
  659.                     "Block1",
  660.                     delay,
  661.                     x3,
  662.                     y3,
  663.                     z3,
  664.                     msh
  665.                 })
  666.             elseif Type == 2 then
  667.                 table.insert(Effects, {
  668.                     prt,
  669.                     "Block2",
  670.                     delay,
  671.                     x3,
  672.                     y3,
  673.                     z3,
  674.                     msh
  675.                 })
  676.             elseif Type == 3 then
  677.                 table.insert(Effects, {
  678.                     prt,
  679.                     "Block3",
  680.                     delay,
  681.                     x3,
  682.                     y3,
  683.                     z3,
  684.                     msh,
  685.                     Part
  686.                 })
  687.             elseif Type == 4 then
  688.                 table.insert(Effects, {
  689.                     prt,
  690.                     "Block2Fire",
  691.                     delay,
  692.                     x3,
  693.                     y3,
  694.                     z3,
  695.                     msh
  696.                 })
  697.             end
  698.         end
  699.     };
  700.  
  701.     Sphere = {
  702.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  703.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  704.             prt.Anchored = true
  705.             prt.CFrame = cframe
  706.             if parent == nil then
  707.                 prt.Parent = workspace
  708.             else
  709.                 prt.Parent = parent
  710.             end
  711.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  712.             game:GetService("Debris"):AddItem(prt, 10)
  713.             table.insert(Effects, {
  714.                 prt,
  715.                 "Cylinder",
  716.                 delay,
  717.                 x3,
  718.                 y3,
  719.                 z3,
  720.                 msh
  721.             })
  722.         end
  723.     };
  724.  
  725.     Blood = {
  726.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  727.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  728.             prt.Anchored = true
  729.             prt.CFrame = cframe
  730.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  731.             game:GetService("Debris"):AddItem(prt, 10)
  732.             table.insert(Effects, {
  733.                 prt,
  734.                 "Blood",
  735.                 delay,
  736.                 x3,
  737.                 y3,
  738.                 z3,
  739.                 msh
  740.             })
  741.         end
  742.     };
  743.  
  744.     Blast = {
  745.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  746.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  747.             prt.Anchored = true
  748.             prt.CFrame = cframe
  749.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  750.             game:GetService("Debris"):AddItem(prt, 10)
  751.             table.insert(Effects, {
  752.                 prt,
  753.                 "Block4",
  754.                 delay,
  755.                 x3,
  756.                 y3,
  757.                 z3,
  758.                 msh,
  759.                 Part
  760.             })
  761.         end
  762.     };
  763.  
  764.     Ring = {
  765.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  766.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  767.             prt.Anchored = true
  768.             prt.CFrame = cframe
  769.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  770.             game:GetService("Debris"):AddItem(prt, 10)
  771.             table.insert(Effects, {
  772.                 prt,
  773.                 "Cylinder",
  774.                 delay,
  775.                 x3,
  776.                 y3,
  777.                 z3,
  778.                 msh
  779.             })
  780.         end
  781.     };
  782.  
  783.     Cylinder = {
  784.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  785.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  786.             prt.Anchored = true
  787.             prt.CFrame = cframe
  788.             local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  789.             game:GetService("Debris"):AddItem(prt, 10)
  790.             table.insert(Effects, {
  791.                 prt,
  792.                 "Cylinder",
  793.                 delay,
  794.                 x3,
  795.                 y3,
  796.                 z3,
  797.                 msh
  798.             })
  799.         end
  800.     };
  801.  
  802.     Head = {
  803.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  804.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  805.             prt.Anchored = true
  806.             prt.CFrame = cframe
  807.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  808.             game:GetService("Debris"):AddItem(prt, 10)
  809.             table.insert(Effects, {
  810.                 prt,
  811.                 "Cylinder",
  812.                 delay,
  813.                 x3,
  814.                 y3,
  815.                 z3,
  816.                 msh
  817.             })
  818.         end
  819.     };
  820.  
  821.     Wave = {
  822.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  823.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  824.             prt.Anchored = true
  825.             prt.CFrame = cframe
  826.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  827.             game:GetService("Debris"):AddItem(prt, 10)
  828.             table.insert(Effects, {
  829.                 prt,
  830.                 "Cylinder",
  831.                 delay,
  832.                 x3,
  833.                 y3,
  834.                 z3,
  835.                 msh
  836.             })
  837.         end
  838.     };
  839.  
  840.     Break = {
  841.         Create = function(brickcolor, cframe, x1, y1, z1)
  842.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  843.             prt.Anchored = true
  844.             prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  845.             game:GetService("Debris"):AddItem(prt, 10)
  846.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  847.             local num = math.random(10, 50) / 1000
  848.             table.insert(Effects, {
  849.                 prt,
  850.                 "Shatter",
  851.                 num,
  852.                 prt.CFrame,
  853.                 math.random() - math.random(),
  854.                 0,
  855.                 math.random(50, 100) / 100
  856.             })
  857.         end
  858.     };
  859.  
  860.     Elec = {
  861.         Create = function(brickcolor, cff, x, y, z)
  862.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  863.             prt.Anchored = true
  864.             prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  865.             prt.CFrame = CFrame.new(prt.Position)
  866.             game:GetService("Debris"):AddItem(prt, 10)
  867.             xval = math.random() / 9
  868.             yval = math.random() / 9
  869.             zval = math.random() / 9
  870.             msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  871.             eul1 = math.random(-50, 50)
  872.             eul2 = math.random(-50, 50)
  873.             eul3 = math.random(-50, 50)
  874.             euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  875.             euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  876.             table.insert(Effects, {
  877.                 prt,
  878.                 "Elec",
  879.                 .05,
  880.                 x,
  881.                 y,
  882.                 z,
  883.                 xval,
  884.                 yval,
  885.                 zval,
  886.                 msh,
  887.                 euld,
  888.                 euld2
  889.             })
  890.         end
  891.     };
  892.  
  893.     Elec2 = {
  894.         Create = function(brickcolor, cff, x, y, z)
  895.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  896.             prt.Anchored = true
  897.             prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  898.             prt.CFrame = CFrame.new(prt.Position)
  899.             game:GetService("Debris"):AddItem(prt, 10)
  900.             xval = math.random() / 7
  901.             yval = math.random() / 7
  902.             zval = math.random() / 7
  903.             msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  904.             eul1 = math.random(-50, 50)
  905.             eul2 = math.random(-50, 50)
  906.             eul3 = math.random(-50, 50)
  907.             euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  908.             euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  909.             table.insert(Effects, {
  910.                 prt,
  911.                 "Elec",
  912.                 .1,
  913.                 x,
  914.                 y,
  915.                 z,
  916.                 xval,
  917.                 yval,
  918.                 zval,
  919.                 msh,
  920.                 euld,
  921.                 euld2
  922.             })
  923.         end
  924.     };
  925.  
  926.     Clone = {
  927.         Create = function()
  928.             for _, v in pairs(Torso.Parent:children()) do
  929.                 if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  930.                     local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
  931.                     c.Anchored = true
  932.                     c.CFrame = v.CFrame
  933.                     game:GetService("Debris"):AddItem(c, 5)
  934.                     local cmsh = nil
  935.                     if v.Name == "Head" then
  936.                         cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
  937.                     else
  938.                         cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  939.                     end
  940.                     table.insert(Effects, {
  941.                         c,
  942.                         "Cylinder",
  943.                         0.05,
  944.                         0.1,
  945.                         0.1,
  946.                         0.1,
  947.                         cmsh
  948.                     })
  949.                 end
  950.             end
  951.         end
  952.     };
  953.  
  954.     EffectTemplate = {
  955.  
  956.     };
  957. }
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965. Mouse.Button1Down:connect(function()
  966.         if Mouse ~= nil then
  967.             if Mouse.Target ~= nil then
  968.                 part = Mouse.Target
  969.                 bp = Instance.new("BodyPosition",part)
  970.                 bp.MaxForce = Vector3.new(5000,5000,5000)
  971.                 bp.Position = part.Position
  972.                 dwn = true
  973.             end
  974.         while dwn == true do
  975.             wait() 
  976.             bp.Position = Mouse.hit.p
  977.             if part then
  978.                 if part.Parent:FindFirstChildOfClass("Humanoid") then
  979.                     part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  980.                 end
  981.             end
  982.         end
  983.     end
  984. end)
  985. Mouse.Button1Up:connect(function()
  986.     dwn = false
  987.     if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
  988.     if bp then bp:Destroy() end
  989. end)
  990.    
  991.  
  992. Mouse.KeyDown:connect(function(k)
  993.     k = k:lower()
  994.     if k == 'm'  then
  995. ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 5, 0)), quotes[math.random(#quotes)], 5, BrickColor.new(maincol2).Color)
  996. playlist:Destroy()
  997. playlist=Instance.new("Sound", Torso)
  998. playlist.SoundId = "rbxassetid://" ..songs[math.random(#songs)]
  999. playlist.Volume = 5
  1000. playlist.Looped = false
  1001. playlist.Name = "playlist"
  1002. playlist:Play()
  1003.     elseif k == 'n' and circleinthesky == false then
  1004. circleinthesky = true
  1005.     elseif k == 'n' and circleinthesky == true then
  1006. circleinthesky = false
  1007. end
  1008. end)
  1009.  
  1010.  
  1011.  
  1012. while true do
  1013.     swait()
  1014.     for i, v in pairs(Character:GetChildren()) do
  1015.         if v:IsA("Part") then
  1016.             v.Material = "SmoothPlastic"
  1017.         elseif v:IsA("Accessory") then
  1018.             v:WaitForChild("Handle").Material = "SmoothPlastic"
  1019.         end
  1020.     end
  1021.     for i, v in pairs(Character:GetChildren()) do
  1022.         if v:IsA'Model' then
  1023.             for _, c in pairs(v:GetChildren()) do
  1024.                 if c:IsA'Part' then
  1025.                     c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1026.                 end
  1027.             end
  1028.         end
  1029.     end
  1030.     if playlist.IsPlaying == false then
  1031. ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 5, 0)), quotes[math.random(#quotes)], 5,  BrickColor.new(maincol2).Color)
  1032. playlist:Destroy()
  1033. playlist=Instance.new("Sound", Torso)
  1034. playlist.SoundId = "rbxassetid://" ..songs[math.random(#songs)]
  1035. playlist.Volume = 5
  1036. playlist.Looped = false
  1037. playlist.Name = "playlist"
  1038. playlist:Play()
  1039. end
  1040.     TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1041.     Velocity = RootPart.Velocity.y
  1042.     Sine = Sine + Change
  1043.     local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1044.     if RootPart.Velocity.y > 1 and hit == nil then
  1045.         Anim = "Jump"
  1046.         if Attack == false then
  1047.             Change = 1
  1048.         PlayAnimationFromTable({
  1049.          CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.342019022, -0.939693093, 0, 0.939693093, 0.342018992) * CFrame.new(0, 0, 0 + .5 * math.cos(Sine/35)) * CFrame.Angles(.3 + .005 * math.cos(Sine/35), 0, 0),
  1050.          CFrame.new(0, 1.4785918, -0.211434767, 1, 0, -0, 0, 0.98480767, 0.173649639, -0, -0.173649669, 0.984807611) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .05 * math.cos(Sine/35), 0, 0),
  1051.          CFrame.new(0.939720154, 1.23436928, 0.449271917, 0.866025388, 0.500000238, 0, 0.469846785, -0.81379807, 0.342019022, 0.17100957, -0.296197116, -0.939693093) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0),
  1052.          CFrame.new(-0.804059327, 1.1624434, 0.431921601, 0.866025269, -0.500000238, -1.92716968e-07, -0.492404282, -0.852868617, 0.173646882, -0.0868236423, -0.150382489, -0.984808087) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0),
  1053.          CFrame.new(0.662806809, -1.42266583, -0.425317377, 0.999114633, -0.0274195503, -0.0319078304, 0.0249254964, 0.996788979, -0.0760965645, 0.0338919051, 0.0752338469, 0.996589839) * CFrame.new(0, 0, 0 - .1 * math.cos(Sine/40)) * CFrame.Angles(0 + .1 * math.cos(Sine/40), 0, 0),
  1054.          CFrame.new(-0.358216971, -1.62964225, 0.259462059, 0.999541879, -0.0301539842, 0.0025981334, 0.0127545623, 0.497520745, 0.867358446, -0.027446935, -0.866927922, 0.497677386) * CFrame.new(0, 0, 0 - .2 * math.cos(Sine/35)) * CFrame.Angles(0 + .2 * math.cos(Sine/35), 0, 0),
  1055.         }, .3, false)
  1056.         MagnitudeDamage(Torso, aoeconstant, 0, 0, 0, "Normal", " ", .8)
  1057.         end
  1058.     elseif RootPart.Velocity.y < -1 and hit == nil then
  1059.         Anim = "Fall"
  1060.         if Attack == false then
  1061.             Change = 1
  1062.         PlayAnimationFromTable({
  1063.          CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.342019022, -0.939693093, 0, 0.939693093, 0.342018992) * CFrame.new(0, 0, 0 + .5 * math.cos(Sine/35)) * CFrame.Angles(.3 + .005 * math.cos(Sine/35), 0, 0),
  1064.          CFrame.new(0, 1.4785918, -0.211434767, 1, 0, -0, 0, 0.98480767, 0.173649639, -0, -0.173649669, 0.984807611) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .05 * math.cos(Sine/35), 0, 0),
  1065.          CFrame.new(0.939720154, 1.23436928, 0.449271917, 0.866025388, 0.500000238, 0, 0.469846785, -0.81379807, 0.342019022, 0.17100957, -0.296197116, -0.939693093) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0),
  1066.          CFrame.new(-0.804059327, 1.1624434, 0.431921601, 0.866025269, -0.500000238, -1.92716968e-07, -0.492404282, -0.852868617, 0.173646882, -0.0868236423, -0.150382489, -0.984808087) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0),
  1067.          CFrame.new(0.662806809, -1.42266583, -0.425317377, 0.999114633, -0.0274195503, -0.0319078304, 0.0249254964, 0.996788979, -0.0760965645, 0.0338919051, 0.0752338469, 0.996589839) * CFrame.new(0, 0, 0 - .1 * math.cos(Sine/40)) * CFrame.Angles(0 + .1 * math.cos(Sine/40), 0, 0),
  1068.          CFrame.new(-0.358216971, -1.62964225, 0.259462059, 0.999541879, -0.0301539842, 0.0025981334, 0.0127545623, 0.497520745, 0.867358446, -0.027446935, -0.866927922, 0.497677386) * CFrame.new(0, 0, 0 - .2 * math.cos(Sine/35)) * CFrame.Angles(0 + .2 * math.cos(Sine/35), 0, 0),
  1069.         }, .3, false)
  1070.         MagnitudeDamage(Torso, aoeconstant, 0, 0, 0, "Normal", " ", .8)
  1071.         end
  1072.     elseif TorsoVelocity < 1 and hit ~= nil then
  1073.         Anim = "Idle"
  1074.         if Attack == false then
  1075.             Change = 1
  1076.         PlayAnimationFromTable({
  1077.          CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.342019022, -0.939693093, 0, 0.939693093, 0.342018992) * CFrame.new(0, 0, 0 + .5 * math.cos(Sine/35)) * CFrame.Angles(.3 + .005 * math.cos(Sine/35), 0, 0),
  1078.          CFrame.new(0, 1.4785918, -0.211434767, 1, 0, -0, 0, 0.98480767, 0.173649639, -0, -0.173649669, 0.984807611) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .1 * math.cos(Sine/35), 0, 0),
  1079.          CFrame.new(0.939720154, 1.23436928, 0.449271917, 0.866025388, 0.500000238, 0, 0.469846785, -0.81379807, 0.342019022, 0.17100957, -0.296197116, -0.939693093) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0),
  1080.          CFrame.new(-0.804059327, 1.1624434, 0.431921601, 0.866025269, -0.500000238, -1.92716968e-07, -0.492404282, -0.852868617, 0.173646882, -0.0868236423, -0.150382489, -0.984808087) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0),
  1081.          CFrame.new(0.662806809, -1.42266583, -0.425317377, 0.999114633, -0.0274195503, -0.0319078304, 0.0249254964, 0.996788979, -0.0760965645, 0.0338919051, 0.0752338469, 0.996589839) * CFrame.new(0, 0, 0 - .1 * math.cos(Sine/40)) * CFrame.Angles(0 + .1 * math.cos(Sine/40), 0, 0),
  1082.          CFrame.new(-0.358216971, -1.62964225, 0.259462059, 0.999541879, -0.0301539842, 0.0025981334, 0.0127545623, 0.497520745, 0.867358446, -0.027446935, -0.866927922, 0.497677386) * CFrame.new(0, 0, 0 - .2 * math.cos(Sine/35)) * CFrame.Angles(0 + .2 * math.cos(Sine/35), 0, 0),
  1083.         }, .3, false)
  1084.         MagnitudeDamage(Torso, aoeconstant, 0, 0, 0, "Normal", " ", .8)
  1085.         end
  1086.     elseif TorsoVelocity > 2 and hit ~= nil then
  1087.         Anim = "Walk"
  1088.             if Attack == false then
  1089.         PlayAnimationFromTable({
  1090.          CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.342019022, -0.939693093, 0, 0.939693093, 0.342018992) * CFrame.new(0, 0, 0 + .5 * math.cos(Sine/35)) * CFrame.Angles(.3 + .005 * math.cos(Sine/35), 0, 0),
  1091.          CFrame.new(0, 1.4785918, -0.211434767, 1, 0, -0, 0, 0.98480767, 0.173649639, -0, -0.173649669, 0.984807611) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .05 * math.cos(Sine/35), 0, 0),
  1092.          CFrame.new(0.939720154, 1.23436928, 0.449271917, 0.866025388, 0.500000238, 0, 0.469846785, -0.81379807, 0.342019022, 0.17100957, -0.296197116, -0.939693093) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0),
  1093.          CFrame.new(-0.804059327, 1.1624434, 0.431921601, 0.866025269, -0.500000238, -1.92716968e-07, -0.492404282, -0.852868617, 0.173646882, -0.0868236423, -0.150382489, -0.984808087) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0),
  1094.          CFrame.new(0.662806809, -1.42266583, -0.425317377, 0.999114633, -0.0274195503, -0.0319078304, 0.0249254964, 0.996788979, -0.0760965645, 0.0338919051, 0.0752338469, 0.996589839) * CFrame.new(0, 0, 0 - .1 * math.cos(Sine/40)) * CFrame.Angles(0 + .1 * math.cos(Sine/40), 0, 0),
  1095.          CFrame.new(-0.358216971, -1.62964225, 0.259462059, 0.999541879, -0.0301539842, 0.0025981334, 0.0127545623, 0.497520745, 0.867358446, -0.027446935, -0.866927922, 0.497677386) * CFrame.new(0, 0, 0 - .2 * math.cos(Sine/35)) * CFrame.Angles(0 + .2 * math.cos(Sine/35), 0, 0),
  1096.         }, .3, false)
  1097.         MagnitudeDamage(Torso, aoeconstant, 0, 0, 0, "Normal", " ", .8)
  1098.         end
  1099.     end
  1100.     if #Effects > 0 then
  1101.         for e = 1, #Effects do
  1102.             if Effects[e] ~= nil then
  1103.                 local Thing = Effects[e]
  1104.                 if Thing ~= nil then
  1105.                     local Part = Thing[1]
  1106.                     local Mode = Thing[2]
  1107.                     local Delay = Thing[3]
  1108.                     local IncX = Thing[4]
  1109.                     local IncY = Thing[5]
  1110.                     if Thing[1].Transparency <= 1 then
  1111.                         if Thing[2] == "Block1" then
  1112.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1113.                             Mesh = Thing[7]
  1114.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1115.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1116.                         elseif Thing[2] == "Ice" then
  1117.                             if Thing[6] <= Thing[5] then
  1118.                                 Thing[6] = Thing[6] + .05
  1119.                                 Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
  1120.                             else
  1121.                                 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1122.                             end
  1123.                         elseif Thing[2] == "Shatter" then
  1124.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1125.                             Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1126.                             Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1127.                             Thing[6] = Thing[6] + Thing[5]
  1128.                         elseif Thing[2] == "Block2" then
  1129.                             Thing[1].CFrame = Thing[1].CFrame
  1130.                             Mesh = Thing[7]
  1131.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1132.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1133.                         elseif Thing[2] == "Block3" then
  1134.                             Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1135.                             Mesh = Thing[7]
  1136.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1137.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1138.                         elseif Thing[2] == "Block4" then
  1139.                             Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1140.                             Mesh = Thing[7]
  1141.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1142.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1143.                         elseif Thing[2] == "Block2Fire" then
  1144.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1145.                             Mesh = Thing[7]
  1146.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1147.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1148.                             if Thing[1].Transparency >= .3 then
  1149.                                 Thing[1].BrickColor = BrickColor.new("Bright red")
  1150.                             else
  1151.                                 Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1152.                             end
  1153.                         elseif Thing[2] == "Cylinder" then
  1154.                             Mesh = Thing[7]
  1155.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1156.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1157.                         elseif Thing[2] == "Blood" then
  1158.                             Mesh = Thing[7]
  1159.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
  1160.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1161.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1162.                         elseif Thing[2] == "Elec" then
  1163.                             Mesh = Thing[10]
  1164.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1165.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1166.                             Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
  1167.                             Thing[1].Rotation = Vector3.new(0, 0, 0)
  1168.                         elseif Thing[2] == "Disappear" then
  1169.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1170.                         end
  1171.                     else
  1172.                         Part.Parent = nil
  1173.                         table.remove(Effects, e)
  1174.                     end
  1175.                 end
  1176.             end
  1177.         end
  1178.     end
  1179. local alg = math.floor(playlist.PlaybackLoudness)/500
  1180. local alg2 = math.floor(playlist.PlaybackLoudness)/80
  1181.  
  1182. if circleinthesky == false then
  1183. FloatField2.BrickColor = BrickColor.new(maincol2)
  1184. spinny.Position = Torso.Position
  1185. spinny.CFrame = spinny.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/100, 0)
  1186. efekt=CFuncs.Part.Create(Torso, "Neon", 0, .3, BrickColor.new(maincol2), "ref", Vector3.new(.05,alg2,.3))  
  1187. efekt.Anchored=true
  1188. efekt.CanCollide=false
  1189. game:GetService("Debris"):AddItem(efekt, .5)
  1190. --ShowDamage((efekt.CFrame * CFrame.new(0, 0, (Torso.Size.Z / 102)).p + Vector3.new(0, 0, 0)), ".", 1, BrickColor.new(maincol2).Color)
  1191. efekt.CFrame=spinny.CFrame*CFrame.new(aoeconstant,0,0)
  1192.  
  1193.       elseif circleinthesky == true then
  1194.  
  1195. FloatField2.BrickColor = BrickColor.new(maincol2)
  1196. spinny.Position = Torso.Position
  1197. spinny.CFrame = spinny.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/100, 0)
  1198. efekt=CFuncs.Part.Create(Torso, "Neon", 0, .3, BrickColor.new(maincol2), "ref", Vector3.new(1+alg2,.05,.3))
  1199. efekt.Anchored=true
  1200. efekt.CanCollide=false
  1201. efekt2=CFuncs.Part.Create(Torso, "Neon", 0, .3, BrickColor.new(maincol2), "ref", Vector3.new(alg2,.05,.3)) 
  1202. efekt2.Anchored=true
  1203. efekt2.CanCollide=false
  1204. game:GetService("Debris"):AddItem(efekt, 2)
  1205. game:GetService("Debris"):AddItem(efekt2, 2)
  1206. --ShowDamage((efekt.CFrame * CFrame.new(0, 0, (Torso.Size.Z / 102)).p + Vector3.new(0, 0, 0)), ".", 1, BrickColor.new(maincol2).Color)
  1207. efekt.CFrame=spinny.CFrame*CFrame.new(aoeconstant,20,0)
  1208. efekt2.CFrame=spinny.CFrame*CFrame.new(aoeconstant-4,10,0) 
  1209. end
  1210. humanoid.Health = math.huge
  1211. soundbork(workspace)
  1212. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top