Advertisement
wamandnj

Untitled

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