wamandnj

Untitled

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