Advertisement
Guest User

relax

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