Advertisement
NextFlamePB

ROBLOX Xester Dance Script

Jan 12th, 2019
1,510
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 75.47 KB | None | 0 0
  1. -----------//KRYSTAL DANCE V2\\-----------
  2. --[[Movelist
  3. Q = The Swoosher
  4. E = The nutty
  5. R = Spin me right round!
  6. T = Plum juice dance
  7. Y = Moonwalk
  8. U = Slav dance
  9. P = Barrel roll
  10. F = The Jerky
  11. G = The Shuffle
  12. H = The Spongebob
  13. J = Here comes the money!
  14. K = Runnin' in the 90's
  15. ---------]]
  16.  
  17. --Alright so before i start rambling on about absolute nonsense, please subscribe to Pewdiepie on youtube! Help him defeat T-Series!--
  18. --Also subscribe to Vengefulprogram--
  19. --Krystal dance! The old famous script that sadly has been broken(sorta), i've decided to rework this thing because... nostalgia.--
  20. --This is one of the first scripts i've ever ran on SB, seeing this back again really reminds me of how much of a noob i was.--
  21. --Credits to Krystalteam, they made the original krystal dance! Be sure to respect them or else...--
  22. --#makeoldscriptsgreatagain--
  23.  
  24. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  25. do
  26.     script.Parent = owner.Character
  27.     local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  28.     local function NewFakeEvent()
  29.         local Bind = Instance.new("BindableEvent")
  30.         local Fake;Fake = {Connections = {},
  31.         fakeEvent=true;
  32.         Connect=function(self,Func)
  33.             Bind.Event:connect(Func)
  34.             self.Connections[Bind] = true
  35.             return setmetatable({Connected = true},{
  36.             __index = function (self,Index)
  37.                 if Index:lower() == "disconnect" then
  38.                     return function() Fake.Connections[Bind] = false;self.Connected = false end
  39.                 end
  40.                 return Fake[Index]
  41.             end;
  42.             __tostring = function() return "Connection" end;
  43.         })
  44.         end}
  45.         Fake.connect = Fake.Connect;return Fake;
  46.     end
  47.     local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  48.     local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  49.     local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  50.         self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  51.     end};ContextActionService.UnBindAction = ContextActionService.BindAction
  52.     local function TriggerEvent(self,Event,...)
  53.         local Trigger = Mouse[Event]
  54.         if Trigger and Trigger.fakeEvent and Trigger.Connections then
  55.             for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  56.         end
  57.     end
  58.     Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  59.     Event.OnServerEvent:Connect(function(FiredBy,Input)
  60.         if FiredBy.Name ~= owner.Name then return end
  61.         if Input.MouseEvent then
  62.             Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  63.         else
  64.             local Begin = Input.UserInputState == Enum.UserInputState.Begin
  65.             if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  66.             for _,Action in pairs(ContextActionService.Actions) do
  67.                 for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  68.             end
  69.             Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  70.             UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  71.         end
  72.     end)
  73.     InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  74.     Event.Parent = NLS([[
  75.         local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  76.         local Input = function(Input,gameProcessedEvent)
  77.             if gameProcessedEvent then return end
  78.             Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  79.         end
  80.         UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  81.         local Hit,Target
  82.         while wait(1/30) do
  83.             if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  84.                 Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  85.             end
  86.         end
  87.     ]],owner.Character)
  88. end
  89. RealGame = game;game = setmetatable({},{
  90.     __index = function (self,Index)
  91.         local Sandbox = function (Thing)
  92.             if Thing:IsA("Player") then
  93.                 local RealPlayer = Thing
  94.                 return setmetatable({},{
  95.                     __index = function (self,Index)
  96.                         local Type = type(RealPlayer[Index])
  97.                         if Type == "function" then
  98.                             if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  99.                                 return function (self)return InternalData["Mouse"] end
  100.                             end
  101.                             return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  102.                         end
  103.                         return RealPlayer[Index]
  104.                     end;
  105.                     __tostring = function(self) return RealPlayer.Name end
  106.                 })
  107.             end
  108.         end
  109.         if RealGame[Index] then
  110.             local Type = type(RealGame[Index])
  111.             if Type == "function" then
  112.                 if Index:lower() == "getservice" or Index:lower() == "service" then
  113.                     return function (self,Service)
  114.                         local FakeServices = {
  115.                             ["players"] = function()
  116.                                 return setmetatable({},{
  117.                                     __index = function (self2,Index2)
  118.                                         local RealService = RealGame:GetService(Service)
  119.                                         local Type2 = type(Index2)
  120.                                         if Type2 == "function" then
  121.                                             return function (self,...) return RealService[Index2](RealService,...)end
  122.                                         else
  123.                                             if Index2:lower() == "localplayer" then return Sandbox(owner) end
  124.                                             return RealService[Index2]
  125.                                         end
  126.                                     end;
  127.                                     __tostring = function(self) return RealGame:GetService(Service).Name end
  128.                                 })
  129.                             end;
  130.                             ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  131.                             ["userinputservice"] = function() return InternalData["UserInputService"] end;
  132.                             ["runservice"] = function()
  133.                                 return setmetatable({},{
  134.                                     __index = function(self2,Index2)
  135.                                         local RealService = RealGame:GetService(Service)
  136.                                         local Type2 = type(Index2)
  137.                                         if Type2 == "function" then
  138.                                             return function (self,...) return RealService[Index2](RealService,...) end
  139.                                         else
  140.                                             local RunServices = {
  141.                                                 ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  142.                                                 ["renderstepped"] = function() return RealService["Stepped"] end
  143.                                             }
  144.                                             if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  145.                                             return RealService[Index2]
  146.                                         end
  147.                                     end
  148.                                 })
  149.                             end
  150.                         }
  151.                         if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  152.                         return RealGame:GetService(Service)
  153.                     end
  154.                 end
  155.                 return function (self,...) return RealGame[Index](RealGame,...) end
  156.             else
  157.                 if game:GetService(Index) then return game:GetService(Index) end
  158.                 return RealGame[Index]
  159.             end
  160.         end
  161.         return nil
  162.     end
  163. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  164.  
  165. Player=game.Players.LocalPlayer
  166. Character=Player.Character
  167. Character.Humanoid.Name = "noneofurbusiness"
  168. hum = Character.noneofurbusiness
  169. LeftArm=Character["Left Arm"]
  170. LeftLeg=Character["Left Leg"]
  171. RightArm=Character["Right Arm"]
  172. RightLeg=Character["Right Leg"]
  173. Root=Character["HumanoidRootPart"]
  174. Head=Character["Head"]
  175. Torso=Character["Torso"]
  176. Neck=Torso["Neck"]
  177. mouse = Player:GetMouse()
  178. walking = false
  179. jumping = false
  180. attacking = false
  181. firsttime = false
  182. tauntdebounce = false
  183. position = nil
  184. MseGuide = true
  185. running = false
  186. settime = 0
  187. sine = 0
  188. t = 0
  189. ws = 14
  190. change = 1
  191. combo1 = true
  192. dancing = false
  193. equip = false
  194. dgs = 75
  195. combo2 = false
  196. switch1 = true
  197. switch2 = false
  198. firsttime2 = false
  199. combo3 = false
  200. gunallowance = false
  201. shooting = false
  202. RunSrv = game:GetService("RunService")
  203. RenderStepped = game:GetService("RunService").RenderStepped
  204. removeuseless = game:GetService("Debris")
  205. walking = false
  206. jumping = false
  207. allowgrassy = false
  208. zxc = false
  209. matte = nil
  210. colori = nil
  211. bigball = false
  212. attacking = false
  213. laughing = false
  214. running = false
  215. downpress = false
  216. taim = nil
  217. change = 0
  218. ws = 10
  219. appi = false
  220. tauntdebounce = false
  221. position = nil
  222. staybooming = false
  223. MseGuide = true
  224. levitate = false
  225. firsttime5 = false
  226. notallowedtransform = false
  227. settime = 0
  228. firsttime2 = false
  229. sine = 0
  230. t = 0
  231. combo1 = true
  232. dgs = 75
  233. combo2 = false
  234. firsttime3 = false
  235. combo3 = false
  236. local bl = {907530553,907527750,907527912}
  237. colortable = {"Really black","Really red"}
  238. colors = #colortable
  239. blz = #bl
  240. local aces = {1880203893,1881287656,1881287420,1881288034}
  241. ace = #aces
  242. local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475}
  243. laugh = #laughs
  244. mouse = Player:GetMouse()
  245. RunSrv = game:GetService("RunService")
  246. RenderStepped = game:GetService("RunService").RenderStepped
  247. removeuseless = game:GetService("Debris")
  248. damageall={}
  249. Repeater={}
  250. Repeater2={}
  251. magictable={}
  252. nonmeshRepeater={}
  253. nonmeshRepeater2={}
  254. dmgii={}
  255. DamageAll2={}
  256. SlowlyFade={}
  257. th1={}
  258. lolzor={}
  259. lolzor2={}
  260. th2={}
  261. keyYsize={}
  262. blocktrail={}
  263. keyYtransparency={}
  264. th3={}
  265. laughingtable={}
  266. Extreme={}
  267. ExtremeM={}
  268. ExtremeM2={}
  269. m3={}
  270. th4={}
  271. th5={}
  272. UpMover={}
  273. openshocktable={}
  274. LessSize={}
  275. ForwardMover={}
  276. FadeIn={}
  277. signtransparency={}
  278. signmover={}
  279. signrotator={}
  280.  
  281. screenGui = Instance.new("ScreenGui")
  282. screenGui.Parent = script.Parent
  283.  
  284. local HEADLERP = Instance.new("ManualWeld")
  285. HEADLERP.Parent = Head
  286. HEADLERP.Part0 = Head
  287. HEADLERP.Part1 = Head
  288. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  289.  
  290. local TORSOLERP = Instance.new("ManualWeld")
  291. TORSOLERP.Parent = Root
  292. TORSOLERP.Part0 = Torso
  293. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  294.  
  295. local ROOTLERP = Instance.new("ManualWeld")
  296. ROOTLERP.Parent = Root
  297. ROOTLERP.Part0 = Root
  298. ROOTLERP.Part1 = Torso
  299. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  300.  
  301. local RIGHTARMLERP = Instance.new("ManualWeld")
  302. RIGHTARMLERP.Parent = RightArm
  303. RIGHTARMLERP.Part0 = RightArm
  304. RIGHTARMLERP.Part1 = Torso
  305. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  306.  
  307. local LEFTARMLERP = Instance.new("ManualWeld")
  308. LEFTARMLERP.Parent = LeftArm
  309. LEFTARMLERP.Part0 = LeftArm
  310. LEFTARMLERP.Part1 = Torso
  311. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  312.  
  313. local RIGHTLEGLERP = Instance.new("ManualWeld")
  314. RIGHTLEGLERP.Parent = RightLeg
  315. RIGHTLEGLERP.Part0 = RightLeg
  316. RIGHTLEGLERP.Part1 = Torso
  317. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  318.  
  319. local LEFTLEGLERP = Instance.new("ManualWeld")
  320. LEFTLEGLERP.Parent = LeftLeg
  321. LEFTLEGLERP.Part0 = LeftLeg
  322. LEFTLEGLERP.Part1 = Torso
  323. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  324.  
  325. local function weldBetween(a, b)
  326.     local weld = Instance.new("ManualWeld", a)
  327.     weld.Part0 = a
  328.     weld.Part1 = b
  329.     weld.C0 = a.CFrame:inverse() * b.CFrame
  330.     return weld
  331. end
  332.  
  333. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  334. A = Instance.new("Attachment", PARENT)
  335. A.Position = POSITION1
  336. A.Name = "A"
  337. B = Instance.new("Attachment", PARENT)
  338. B.Position = POSITION2
  339. B.Name = "B"
  340. tr1 = Instance.new("Trail", PARENT)
  341. tr1.Attachment0 = A
  342. tr1.Attachment1 = B
  343. tr1.Enabled = true
  344. tr1.Lifetime = LIFETIME
  345. tr1.TextureMode = "Static"
  346. tr1.LightInfluence = 0
  347. tr1.Color = COLOR
  348. tr1.Transparency = NumberSequence.new(0, 1)
  349. end
  350.  
  351. function clean()
  352. damageall={}
  353. Repeater={}
  354. Repeater2={}
  355. nonmeshRepeater={}
  356. nonmeshRepeater2={}
  357. dmgii={}
  358. DamageAll2={}
  359. SlowlyFade={}
  360. th1={}
  361. th2={}
  362. th3={}
  363. Extreme={}
  364. ExtremeM={}
  365. ExtremeM2={}
  366. m3={}
  367. th4={}
  368. th5={}
  369. UpMover={}
  370. openshocktable={}
  371. LessSize={}
  372. ForwardMover={}
  373. FadeIn={}
  374. signtransparency={}
  375. signmover={}
  376. signrotator={}
  377. end
  378.  
  379. introsound = Instance.new("Sound",Head)
  380. introsound.SoundId = "rbxassetid://1982011510"
  381. introsound.Volume = 8
  382. introsound:Play()
  383.  
  384. shirt = Instance.new("Shirt", Character)
  385. shirt.Name = "Shirt"
  386. pants = Instance.new("Pants", Character)
  387. pants.Name = "Pants"
  388. Character.Shirt.ShirtTemplate = "rbxassetid://676428254"----lol
  389. Character.Pants.PantsTemplate = "rbxassetid://676428351"
  390.  
  391. jester = Instance.new("Part",Character)
  392. jester.Size = Vector3.new(2,2,2)
  393. jester.CFrame = Head.CFrame
  394. jester.CanCollide = false
  395. jesterWeld = Instance.new("Weld",jester)
  396. jesterWeld.Part0 = jester
  397. jesterWeld.Part1 = Head
  398. jesterWeld.C0 = jester.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  399. mjester = Instance.new("SpecialMesh", jester)
  400. mjester.MeshType = "FileMesh"
  401. mjester.Scale = Vector3.new(1.1, 1.1, 1.1)
  402. mjester.MeshId,mjester.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395'
  403.  
  404. mask = Instance.new("Part",Character)
  405. mask.Size = Vector3.new(1,1,1)
  406. mask.CFrame = Head.CFrame
  407. mask.CanCollide = false
  408. maskweld = weldBetween(mask,Head)
  409. maskweld.C0 = CFrame.new(0,-.555,0) * CFrame.Angles(math.rad(90),0,0)
  410. mMask = Instance.new("SpecialMesh", mask)
  411. mMask.MeshType = "FileMesh"
  412. mMask.Scale = Vector3.new(0.13, 0.13, 0.1)
  413. mMask.MeshId,mMask.TextureId = 'http://www.roblox.com/asset/?id=5158270','http://www.roblox.com/asset/?id=9543585'
  414.  
  415. eyo1 = Instance.new("Part",Head)
  416. eyo1.BrickColor = BrickColor.new("White")
  417. eyo1.Material = "Neon"
  418. eyo1.Shape = "Ball"
  419. eyo1.Name = "eyo1"
  420. eyo1.CanCollide = false
  421. eyo1.Size = Vector3.new(0.33, 0.33, 0.33)
  422. eyo1weld = weldBetween(eyo1,Head)
  423. eyo1weld.C0 = CFrame.new(.215,-.05,.52)
  424.  
  425. light = Instance.new("PointLight", eyo1)
  426. light.Color = Color3.new(1,1,1)
  427. light.Range = 3
  428. light.Brightness = 4
  429. light.Enabled = true
  430.  
  431. eyo2 = Instance.new("Part",Head)
  432. eyo2.BrickColor = BrickColor.new("White")
  433. eyo2.Material = "Neon"
  434. eyo2.Shape = "Ball"
  435. eyo2.Name = "eyo2"
  436. eyo2.CanCollide = false
  437. eyo2.Size = Vector3.new(0.33, 0.33, 0.33)
  438. eyo2weld = weldBetween(eyo2,Head)
  439. eyo2weld.C0 = CFrame.new(-.215,-.05,.52)
  440.  
  441. light2 = Instance.new("PointLight", eyo2)
  442. light2.Color = Color3.new(1,1,1)
  443. light2.Range = 3
  444. light2.Brightness = 4
  445. light2.Enabled = true
  446.  
  447. glow = Instance.new("Part",Head)
  448. glow.Size = Vector3.new(.488,.3,.1)
  449. glow.CanCollide = false
  450. glow.Material = "Neon"
  451. glow.Transparency = 1
  452. glow.BrickColor = BrickColor.new("Really white")
  453. glowweld = weldBetween(glow,Head)
  454. glowweld.C0 = CFrame.new(0,.2,.565)
  455.  
  456. leftlocation = Instance.new("Part",LeftArm)
  457. leftlocation.Size = Vector3.new(1,1,1)
  458. leftlocation.Transparency = 1
  459. leftlocationweld = weldBetween(leftlocation,LeftArm)
  460. leftlocationweld.C0 = CFrame.new(0,1.2,0)
  461. rightlocation = Instance.new("Part",RightArm)
  462. rightlocation.Size = Vector3.new(1,1,1)
  463. rightlocation.Transparency = 1
  464. rightlocationweld = weldBetween(rightlocation,RightArm)
  465. rightlocationweld.C0 = CFrame.new(0,1.2,0)
  466.  
  467. fedora = Instance.new("Part",Character)
  468. fedora.Size = Vector3.new(2,2,2)
  469. fedora.CFrame = Head.CFrame
  470. fedora.CanCollide = false
  471. fedoraweld = Instance.new("Weld",fedora)
  472. fedoraweld.Part0 = fedora
  473. fedoraweld.Part1 = Head
  474. fedoraweld.C0 = fedora.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.75,0)
  475. mfedora = Instance.new("SpecialMesh", fedora)
  476. mfedora.MeshType = "FileMesh"
  477. mfedora.Scale = Vector3.new(.97, .97, .97)
  478. mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=0','http://www.roblox.com/asset/?id=0'
  479.  
  480. shades = Instance.new("Part",Character)
  481. shades.Size = Vector3.new(2,2,2)
  482. shades.CFrame = Head.CFrame
  483. shades.CanCollide = false
  484. shadesweld = Instance.new("Weld",shades)
  485. shadesweld.Part0 = shades
  486. shadesweld.Part1 = Head
  487. shadesweld.C0 = shades.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.2,.15)
  488. mshades = Instance.new("SpecialMesh", shades)
  489. mshades.MeshType = "FileMesh"
  490. mshades.Scale = Vector3.new(1.04, 1.28, 1.04)
  491. mshades.MeshId,mshades.TextureId = 'http://www.roblox.com/asset/?id=0','http://www.roblox.com/asset/?id=0'
  492.  
  493. for i,v in pairs(Character:GetChildren()) do
  494. if v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then
  495. v:Remove()
  496. end
  497. end
  498.  
  499. coroutine.wrap(function()
  500. while wait() do
  501. Head.face.Texture = "rbxasset://textures/face.png"
  502. hum.WalkSpeed = ws
  503. LeftArm.BrickColor = BrickColor.new("Really black")
  504. RightArm.BrickColor = BrickColor.new("Really black")
  505. Head.BrickColor = BrickColor.new("White")
  506. Torso.BrickColor = BrickColor.new("Really black")
  507. LeftLeg.BrickColor = BrickColor.new("Really black")
  508. RightLeg.BrickColor = BrickColor.new("Really black")
  509. end
  510. end)()
  511. godmode = coroutine.wrap(function()
  512. for i,v in pairs(Character:GetChildren()) do
  513. if v:IsA("BasePart") and v ~= Root then
  514. v.Anchored = false
  515. end
  516. end
  517. while true do
  518. hum.MaxHealth = math.huge
  519. wait(0.0000001)
  520. hum.Health = math.huge
  521. wait()
  522. end
  523. end)
  524. godmode()
  525. ff = Instance.new("ForceField", Character)
  526. ff.Visible = false
  527.  
  528. coroutine.wrap(function()
  529. for i,v in pairs(Character:GetChildren()) do
  530. if v.Name == "Animate" then v:Remove()
  531. end
  532. end
  533. end)()
  534.  
  535. function damagealll(Radius,Position)       
  536.     local Returning = {}       
  537.     for _,v in pairs(workspace:GetChildren()) do       
  538.         if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  539. if v:FindFirstChild("Torso") then      
  540.             local Mag = (v.Torso.Position - Position).magnitude    
  541.             if Mag < Radius then       
  542.                 table.insert(Returning,v)      
  543.             end
  544. elseif v:FindFirstChild("UpperTorso") then 
  545.             local Mag = (v.UpperTorso.Position - Position).magnitude       
  546.             if Mag < Radius then       
  547.                 table.insert(Returning,v)      
  548.             end
  549. end
  550.         end    
  551.     end    
  552.     return Returning       
  553. end
  554.  
  555. ArtificialHB = Instance.new("BindableEvent", script)
  556. ArtificialHB.Name = "Heartbeat"
  557. script:WaitForChild("Heartbeat")
  558.  
  559. frame = 1 / 60
  560. tf = 0
  561. allowframeloss = false
  562. tossremainder = false
  563.  
  564.  
  565. lastframe = tick()
  566. script.Heartbeat:Fire()
  567.  
  568.  
  569. game:GetService("RunService").Heartbeat:connect(function(s, p)
  570.     tf = tf + s
  571.     if tf >= frame then
  572.         if allowframeloss then
  573.             script.Heartbeat:Fire()
  574.             lastframe = tick()
  575.         else
  576.             for i = 1, math.floor(tf / frame) do
  577.                 script.Heartbeat:Fire()
  578.             end
  579.             lastframe = tick()
  580.         end
  581.         if tossremainder then
  582.             tf = 0
  583.         else
  584.             tf = tf - frame * math.floor(tf / frame)
  585.         end
  586.     end
  587. end)
  588.  
  589. function swait(num)
  590.     if num == 0 or num == nil then
  591.         game:service("RunService").Stepped:wait(0)
  592.     else
  593.         for i = 0, num do
  594.             game:service("RunService").Stepped:wait(0)
  595.         end
  596.     end
  597. end
  598.  
  599. for _,n in pairs(Character:GetChildren()) do
  600. if n:IsA("Accessory") then n:Remove() end
  601. end
  602. for _,x in pairs(Character:GetChildren()) do
  603. if x:IsA("Decal") then x:Remove() end
  604. end
  605.  
  606. intro = true
  607. ws = 0
  608.  
  609. bigfedora = Instance.new("Part",Character)
  610. bigfedora.Size = Vector3.new(2,2,2)
  611. bigfedora.CFrame = bigfedora.CFrame:inverse() * Root.CFrame * CFrame.new(math.random(-60,60),-.2,math.random(-60,60)) * CFrame.Angles(0,math.rad(math.random(-180,180)),0)
  612. bigfedora.CanCollide = false
  613. bigfedora.Anchored = true
  614. bigfedora.Name = "mbigf"
  615. mbigfedora = Instance.new("SpecialMesh", bigfedora)
  616. mbigfedora.MeshType = "FileMesh"
  617. mbigfedora.Scale = Vector3.new(6, 7, 7)
  618. mbigfedora.MeshId,mbigfedora.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395'
  619. for i,v in pairs(Character:GetDescendants()) do
  620. if v:IsA("Part") and v.Name ~= "mbigf" then v.Transparency = 1
  621. end
  622. end
  623. for i = 1, 60 do
  624. bigfedora.CFrame = bigfedora.CFrame:lerp(CFrame.new(Root.Position) * CFrame.new(0,-.1,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.09)
  625. swait()
  626. end
  627. wait(.25)
  628. for i,v in pairs(Character:GetDescendants()) do
  629. if v:IsA("Part") and v.Name ~= "mbigf" and v.Name ~= "HumanoidRootPart" then v.Transparency = 0
  630. end
  631. end
  632. for i = 1, 50 do
  633. bigfedora.CFrame = bigfedora.CFrame:lerp(CFrame.new(fedora.Position),.05)
  634. swait()
  635. end
  636. zmc = 0
  637. for i = 1, 29 do
  638. zmc = zmc + 2
  639. mbigfedora.Scale = mbigfedora.Scale - Vector3.new(.25,.25,.25)
  640. bigfedora.CFrame = bigfedora.CFrame * CFrame.Angles(math.rad(0),math.rad(zmc),0)
  641. swait()
  642. end
  643. bigfedora:Remove()
  644.  
  645. ws = 14
  646.  
  647. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  648. so = Instance.new("Sound")
  649. so.Parent = PARENT
  650. so.SoundId = "rbxassetid://"..ID
  651. so.Volume = VOL
  652. so.Looped = LOOP
  653.  
  654. so:Play()
  655. removeuseless:AddItem(so,REMOVE)
  656. end
  657.  
  658. mouse.KeyDown:connect(function(Press)
  659. Press=Press:lower()
  660. if Press=='z' then
  661. if debounce then return end
  662. if notallowedtransform then return end
  663. debounce = true
  664. if levitate then
  665. levitate = false
  666. mjester.VertexColor = Vector3.new(1, 1, 1)
  667. glow.Transparency = 1
  668. blastwave = Instance.new("Part",Torso)
  669. blastwave.CFrame = Torso.CFrame
  670. blastwave.Anchored = true
  671. blastwave.Material = "Neon"
  672. blastwave.CanCollide = false
  673. blastwave.Shape = "Ball"
  674. blastwave.Size = Vector3.new(3,3,3)
  675. coroutine.wrap(function()
  676. for i = 1, 20 do
  677. levitatewave.Transparency = levitatewave.Transparency + 0.05
  678. levitatewave2.Transparency = levitatewave2.Transparency + 0.05
  679. blastwave.Size = blastwave.Size + Vector3.new(2,2,2)
  680. blastwave.Transparency = blastwave.Transparency + 0.05
  681. swait()
  682. end
  683. blastwave:Remove()
  684. levitatewave2:Remove()
  685. levitatewave:Remove()
  686. end)()
  687. ws = 10
  688. notallowedtransform = true
  689. attacking = true
  690. coroutine.wrap(function()
  691. for i = 1, 10 do
  692. for i,v in pairs(LeftArm:GetChildren()) do if v.Name == lmagic.Name then
  693. v.Transparency = v.Transparency + 0.1
  694. end
  695. end
  696. for i,v in pairs(RightArm:GetChildren()) do if v.Name == rmagic.Name then
  697. v.Transparency = v.Transparency + 0.1
  698. end
  699. end
  700. wait()
  701. end
  702. end)()
  703. jesterWeld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  704. wait(0.000001)
  705. jesterWeld.C0 = jester.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  706. mjester.Scale = Vector3.new(1.1, 1.1, 1.1)
  707. mjester.MeshId,mjester.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395'
  708.  
  709. mMask.Scale = Vector3.new(0.13, 0.13, 0.1)
  710. mMask.MeshId,mMask.TextureId = 'http://www.roblox.com/asset/?id=5158270','http://www.roblox.com/asset/?id=9543585'
  711. maskweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  712. wait(0.000001)
  713. maskweld.C0 = CFrame.new(0,-.555,0) * CFrame.Angles(math.rad(90),0,0)
  714.  
  715. eyo1 = Instance.new("Part",Head)
  716. eyo1.BrickColor = BrickColor.new("White")
  717. eyo1.Material = "Neon"
  718. eyo1.Shape = "Ball"
  719. eyo1.Name = "eyo1"
  720. eyo1.CanCollide = false
  721. eyo1.Size = Vector3.new(0.33, 0.33, 0.33)
  722. eyo1weld = weldBetween(eyo1,Head)
  723. eyo1weld.C0 = CFrame.new(.215,-.05,.52)
  724.  
  725. light = Instance.new("PointLight", eyo1)
  726. light.Color = Color3.new(1,1,1)
  727. light.Range = 3
  728. light.Brightness = 4
  729. light.Enabled = true
  730.  
  731. eyo2 = Instance.new("Part",Head)
  732. eyo2.BrickColor = BrickColor.new("White")
  733. eyo2.Material = "Neon"
  734. eyo2.Shape = "Ball"
  735. eyo2.Name = "eyo2"
  736. eyo2.CanCollide = false
  737. eyo2.Size = Vector3.new(0.33, 0.33, 0.33)
  738. eyo2weld = weldBetween(eyo2,Head)
  739. eyo2weld.C0 = CFrame.new(-.215,-.05,.52)
  740.  
  741. light2 = Instance.new("PointLight", eyo2)
  742. light2.Color = Color3.new(1,1,1)
  743. light2.Range = 3
  744. light2.Brightness = 4
  745. light2.Enabled = true
  746.  
  747. Character.Shirt.ShirtTemplate = "rbxassetid://676428254"
  748. Character.Pants.PantsTemplate = "rbxassetid://676428351"
  749. hum.HipHeight = 0
  750. ws = 10
  751. debounce = false
  752. attacking = false
  753. coroutine.wrap(function()
  754. wait(3)
  755. notallowedtransform = false
  756. end)()
  757. else
  758. ws = 50
  759. notallowedtransform = true
  760. levitate = true
  761. ws = 50
  762. glow.Transparency = 0
  763. eyo1:Remove()
  764. eyo2:Remove()
  765. coroutine.wrap(function()
  766. while levitate do
  767. for i,v in pairs(Head:GetChildren()) do
  768. if v.Name == "eyo1" or v.Name == "eyo2" then
  769. v:Remove()
  770. end
  771. end
  772. wait()
  773. end
  774. end)()
  775. mnb = 0
  776. levitatewave = Instance.new("Part", Torso)
  777. levitatewave.Size = Vector3.new(1,1,1)
  778. levitatewave.CanCollide = false
  779. levitatewave.Anchored = true
  780. levitatewave.Transparency = .5
  781. levitatewave.BrickColor = BrickColor.new("Really black")
  782. levitatewave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
  783. levitatewavemesh = Instance.new("SpecialMesh", levitatewave)
  784. levitatewavemesh.Scale = Vector3.new(2.5,.3,2.5)
  785. levitatewavemesh.MeshId = "rbxassetid://20329976"
  786. levitatewave2 = Instance.new("Part", Torso)
  787. levitatewave2.Size = Vector3.new(1,1,1)
  788. levitatewave2.CanCollide = false
  789. levitatewave2.Anchored = true
  790. levitatewave2.Transparency = .5
  791. levitatewave2.BrickColor = BrickColor.new("Really red")
  792. levitatewave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
  793. levitatewavemesh2 = Instance.new("SpecialMesh", levitatewave2)
  794. levitatewavemesh2.Scale = Vector3.new(2,.4,2)
  795. levitatewavemesh2.MeshId = "rbxassetid://20329976"
  796. blastwave = Instance.new("Part",Torso)
  797. blastwave.CFrame = Torso.CFrame
  798. blastwave.Anchored = true
  799. blastwave.Material = "Neon"
  800. blastwave.CanCollide = false
  801. blastwave.Shape = "Ball"
  802. blastwave.Size = Vector3.new(3,3,3)
  803. coroutine.wrap(function()
  804. for i = 1, 20 do
  805. blastwave.Size = blastwave.Size + Vector3.new(2,2,2)
  806. blastwave.Transparency = blastwave.Transparency + 0.05
  807. swait()
  808. end
  809. blastwave:Remove()
  810. end)()
  811. coroutine.wrap(function()
  812. while levitate do
  813. mnb = mnb + 15
  814. levitatewave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-6 + .5 * math.sin(sine/9),0) * CFrame.Angles(0,math.rad(mnb),0)
  815. levitatewave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-6 + .5 * math.sin(sine/9),0) * CFrame.Angles(0,math.rad(mnb),0)
  816. colors = colortable[math.random(1,#colortable)]
  817. lmagic = Instance.new("Part",LeftArm)
  818. lmagic.Material = "Neon"
  819. lmagic.CanCollide = false
  820. lmagic.Anchored = true
  821. lmagic.BrickColor = BrickColor.new(colors)
  822. lmagic.Size = Vector3.new(1,1,1)
  823. lmagic.CFrame = leftlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  824. removeuseless:AddItem(lmagic,2)
  825. rmagic = Instance.new("Part",RightArm)
  826. rmagic.Material = "Neon"
  827. rmagic.CanCollide = false
  828. rmagic.Anchored = true
  829. rmagic.BrickColor = BrickColor.new(colors)
  830. rmagic.Size = Vector3.new(1,1,1)
  831. rmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  832. removeuseless:AddItem(rmagic,2)
  833. for i,v in pairs(LeftArm:GetChildren()) do if v.Name == lmagic.Name then
  834. v.Transparency = v.Transparency + 0.05
  835. end
  836. end
  837. for i,v in pairs(RightArm:GetChildren()) do if v.Name == rmagic.Name then
  838. v.Transparency = v.Transparency + 0.05
  839. end
  840. end
  841. swait()
  842. end
  843. end)()
  844. framee = Instance.new("Frame")
  845. framee.Parent = screenGui
  846. framee.Position = UDim2.new(0, 8, 0, -500)
  847. framee.Size = UDim2.new(100000000,10000000,10000000,10000000)
  848. framee.BackgroundColor3 = BrickColor.new("White").Color
  849. framee.BackgroundTransparency = 0
  850. coroutine.wrap(function()
  851. wait(.2)
  852. for i = 1, 40 do
  853. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-0,0))
  854. framee.BackgroundTransparency = framee.BackgroundTransparency + 0.025
  855. swait()
  856. end
  857. hum.CameraOffset = Vector3.new(0,0,0)
  858. framee:Remove()
  859. end)()
  860. jesterWeld.C0 = jesterWeld.C0 * CFrame.new(.3,-.3,0) * CFrame.Angles(math.rad(0),math.rad(-90),0)
  861. mjester.MeshId = "rbxassetid://193760002"
  862. mjester.TextureId = "rbxassetid://379225327"
  863. mjester.VertexColor = Vector3.new(1, 0, 0)
  864. Character.Shirt.ShirtTemplate = "rbxassetid://238537827"
  865. Character.Pants.PantsTemplate = "rbxassetid://486031443"
  866. maskweld.C0 = maskweld.C0 * CFrame.new(0,.55,-.5) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))
  867. mMask.MeshId = "rbxassetid://13520257"
  868. mMask.Scale = Vector3.new(1.1, 1, 1)
  869. mMask.TextureId = "rbxassetid://13520260"
  870. eyo1:Remove()
  871. eyo2:Remove()
  872. coroutine.wrap(function()
  873. while levitate do
  874. hum.HipHeight = 3 - .5 * math.sin(sine/9)
  875. swait()
  876. end
  877. end)()
  878. attacking = false
  879. debounce = false
  880. coroutine.wrap(function()
  881. wait(3)
  882. notallowedtransform = false
  883. end)()
  884. end
  885. end
  886. end)
  887.  
  888. mouse.KeyDown:connect(function(Press)
  889. Press=Press:lower()
  890. if Press=='k' then
  891. if dancing then
  892. dancing = false
  893. else
  894. dancing = true
  895. ws = 0
  896. change = .5
  897. attacking = true
  898. jam = Instance.new("Sound",Torso)
  899. jam.SoundId = "rbxassetid://665751753"
  900. jam.Volume = 8
  901. jam.Looped = true
  902. jam.TimePosition = 22.3
  903. jam:Play()
  904. lol90 = 0
  905. coroutine.wrap(function()
  906. while dancing do
  907. lol90 = lol90 + 11
  908. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(1 * math.sin(sine/10),.1 + .8 * math.sin(sine/3),0) * CFrame.Angles(math.rad(0),math.rad(0 * math.sin(sine/8)),math.rad(8 * math.sin(sine/7))),.25)
  909. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0 * math.sin(sine/14),0,0) * CFrame.Angles(math.rad(0),math.rad(lol90),0),.25)
  910. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,1.45,0) * CFrame.Angles(math.rad(180),math.rad(-5 * math.sin(sine/3)),math.rad(-6 * math.sin(sine/3))),0.25)
  911. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,1.45,0) * CFrame.Angles(math.rad(180),math.rad(5 * math.sin(sine/3)),math.rad(6 * math.sin(sine/3))), 0.25)
  912. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10 + 5 * math.sin(sine/3))), 0.25)
  913. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10 - 5 * math.sin(sine/3))), 0.25)
  914. swait()
  915. end
  916. ws = 14
  917. jam:Remove()
  918. ROOTLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  919. attacking = false
  920. end)()
  921. end
  922. end
  923. end)
  924.  
  925. mouse.KeyDown:connect(function(Press)
  926. Press=Press:lower()
  927. if Press=='j' then
  928. if dancing then
  929. dancing = false
  930. else
  931. dancing = true
  932. ws = 3
  933. change = .5
  934. attacking = true
  935. g1 = Instance.new("BodyGyro", Root)
  936. g1.D = 175
  937. g1.P = 20000
  938. g1.MaxTorque = Vector3.new(0,9000,0)
  939. herecomesthemoney = Instance.new("Sound",Torso)
  940. herecomesthemoney.Pitch = 0.97
  941. herecomesthemoney.SoundId = "rbxassetid://322621962"
  942. herecomesthemoney.Volume = 8
  943. herecomesthemoney.Looped = true
  944. herecomesthemoney:Play()
  945. robuxpile = Instance.new("Part",Torso)
  946. robuxpile.Size = Vector3.new(1,1,1)
  947. robuxpile.CFrame = LeftArm.CFrame
  948. robuxpile.CanCollide = false
  949. robuxpileweld = Instance.new("Weld",robuxpile)
  950. robuxpileweld.Part0 = robuxpile
  951. robuxpileweld.Part1 = Torso
  952. robuxpileweld.C0 = robuxpile.CFrame:inverse() * LeftArm.CFrame * CFrame.new(1,-.7,1.4)
  953. mrobuxpile = Instance.new("SpecialMesh", robuxpile)
  954. mrobuxpile.MeshType = "FileMesh"
  955. mrobuxpile.Scale = Vector3.new(0.85, .85, .85)
  956. mrobuxpile.MeshId,mrobuxpile.TextureId = 'http://www.roblox.com/asset/?id=9419831','http://www.roblox.com/asset/?id=9419827'
  957. coroutine.wrap(function()
  958. coroutine.wrap(function()
  959. while wait(.35) do
  960. if not dancing then break end
  961. local robux = Instance.new("Part",Torso)
  962. robux.CFrame = robuxpile.CFrame * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  963. robux.Anchored = false
  964. robux.CanCollide = true
  965. robux.Size = Vector3.new(1,1,1)
  966. removeuseless:AddItem(robux,4)
  967. mrobux = Instance.new("SpecialMesh", robux)
  968. mrobux.MeshType = "FileMesh"
  969. mrobux.Scale = Vector3.new(1.25, 1.25, 1.25)
  970. mrobux.MeshId,mrobux.TextureId = 'http://www.roblox.com/asset/?id=9419831','http://www.roblox.com/asset/?id=9419827'
  971. bov = Instance.new("BodyVelocity",robux)
  972. bov.maxForce = Vector3.new(99999,99999,99999)
  973. robux.CFrame = CFrame.new(robux.Position,mouse.Hit.p)
  974. bov.velocity = robux.CFrame.lookVector*45
  975. removeuseless:AddItem(bov,.1)
  976. end
  977. end)()
  978. while dancing do
  979. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  980. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(20),math.rad(0 * math.sin(sine/8)),math.rad(0)),.25)
  981. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,.5 + .5 * math.sin(sine/2),.5) * CFrame.Angles(math.rad(-97),math.rad(40 - 20 * math.sin(sine/2)),math.rad(0)), 0.25)
  982. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,.5,.5) * CFrame.Angles(math.rad(-87),math.rad(-20),math.rad(0)), 0.25)
  983. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.25)
  984. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.25)
  985. swait()
  986. end
  987. ws = 14
  988. removeuseless:AddItem(g1,.001)
  989. robuxpile:Remove()
  990. attacking = false
  991. end)()
  992. end
  993. end
  994. end)
  995.  
  996. mouse.KeyDown:connect(function(Press)
  997.     Press=Press:lower()
  998.     if Press=='c' then
  999. if debounce == true then return end
  1000. debounce = true
  1001. walking = false
  1002. attacking = true
  1003. fpg = false
  1004. gpf = true
  1005. for i = 1, 5 do
  1006. HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1007. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.6)
  1008. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.6)
  1009. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1010. wait()
  1011. end
  1012. wind = Instance.new("Part", Torso)
  1013. wind.BrickColor = BrickColor.new("Crimson")
  1014. wind.Size = Vector3.new(5,5,5)
  1015. wind.CanCollide = false
  1016. wind.Transparency = 1
  1017. wind.Material = "Neon"
  1018. windmesh = Instance.new("SpecialMesh", wind)
  1019. windmesh.Scale = Vector3.new(2,2,2)
  1020. windmesh.MeshId = "rbxassetid://168892432"
  1021. windweld = weldBetween(wind, Torso)
  1022. wind2 = Instance.new("Part", Torso)
  1023. wind2.BrickColor = BrickColor.new("Crimson")
  1024. wind2.Size = Vector3.new(5,5,5)
  1025. wind2.CanCollide = false
  1026. wind2.Transparency = 1
  1027. wind2.Material = "Neon"
  1028. windmesh2 = Instance.new("SpecialMesh", wind2)
  1029. windmesh2.Scale = Vector3.new(4,4,4)
  1030. windmesh2.MeshId = "rbxassetid://168892432"
  1031. windweld2 = weldBetween(wind2, wind)
  1032. quickcourou = coroutine.wrap(function()
  1033. m = 1
  1034. for i = 1, 5 do
  1035. wind.Transparency = wind.Transparency - 0.1
  1036. wind2.Transparency = wind2.Transparency - 0.04
  1037. wait()
  1038. end
  1039. end)
  1040. quickcourou()
  1041. eORBleft = Instance.new("Part", Torso)
  1042. eORBleft.Size = Vector3.new(1, 1, 1)
  1043. eORBleft.Transparency = 0
  1044. eORBleft.Shape = 0
  1045. eORBleft.BrickColor = BrickColor.New("Really red")
  1046. eORBleft.Material = "Neon"
  1047. eORBleft.Anchored = false
  1048. eORBleft.CanCollide = false
  1049. eORBleft.CFrame = Root.CFrame * CFrame.new(4,0,0)
  1050. eorbweld1 = weldBetween(eORBleft, LeftArm)
  1051. eorbweld1.C0 = CFrame.new(0,1.3,0)
  1052. eORBright = Instance.new("Part", Torso)
  1053. eORBright.Size = Vector3.new(1, 1, 1)
  1054. eORBright.Transparency = 0
  1055. eORBright.Shape = 0
  1056. eORBright.BrickColor = BrickColor.New("Really red")
  1057. eORBright.Material = "Neon"
  1058. eORBright.Anchored = false
  1059. eORBright.CanCollide = false
  1060. eORBright.CFrame = Root.CFrame * CFrame.new(4,0,0)
  1061. eorbweld2 = weldBetween(eORBright, RightArm)
  1062. eorbweld2.C0 = CFrame.new(0,1.3,0)
  1063. hev = Instance.new("Part", Torso)
  1064. hev.Size = Vector3.new(15, 15, 15)
  1065. hev.Transparency = 0
  1066. hev.Shape = 0
  1067. hev.BrickColor = BrickColor.New("Really red")
  1068. hev.Material = "Neon"
  1069. hev.Anchored = true
  1070. hev.CanCollide = false
  1071. hev2 = Instance.new("Part", Torso)
  1072. hev2.Size = Vector3.new(15, 15, 15)
  1073. hev2.Transparency = 0
  1074. hev2.Shape = 0
  1075. hev2.BrickColor = BrickColor.New("Really red")
  1076. hev2.Material = "Neon"
  1077. hev2.Anchored = true
  1078. hev2.CanCollide = false
  1079. quickcour2 = coroutine.wrap(function()
  1080. while gpf do
  1081. local Hit = damagealll(8,Torso.Position)  
  1082. for _,v in pairs(Hit) do
  1083. local velo2 = Instance.new("BodyVelocity", v)
  1084. velo2.MaxForce = Vector3.new(999999, 999999, 999999)
  1085. velo2.Velocity = v.Torso.CFrame.lookVector * 200
  1086. removeuseless:AddItem(velo2,2)
  1087. v.Humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)            
  1088. v.Humanoid:TakeDamage(10)
  1089. wait(.5)
  1090. end
  1091. wait()
  1092. end
  1093. end)
  1094. quickcour2()
  1095. quickcour = coroutine.wrap(function()
  1096. removeuseless:AddItem(hev,2)
  1097. removeuseless:AddItem(hev2,2)
  1098. for i = 1, 50 do
  1099. hev.Size = hev.Size - Vector3.new(1,1,1)
  1100. hev2.Size = hev2.Size - Vector3.new(1,1,1)
  1101. hev.CFrame = eORBleft.CFrame
  1102. hev2.CFrame = eORBright.CFrame
  1103. wait()
  1104. end
  1105. end)
  1106. quickcour()
  1107. particlemiter1 = Instance.new("ParticleEmitter", eORBleft)
  1108. particlemiter1.Enabled = true
  1109. particlemiter1.Texture = "rbxassetid://1415728949"
  1110. particlemiter1.Lifetime = NumberRange.new(2.5)
  1111. particlemiter1.Size = NumberSequence.new(1,0)
  1112. particlemiter1.Rate = 20
  1113. particlemiter1.RotSpeed = NumberRange.new(70)
  1114. particlemiter1.Speed = NumberRange.new(0)
  1115. particlemiter2 = Instance.new("ParticleEmitter", eORBright)
  1116. particlemiter2.Enabled = true
  1117. particlemiter2.Texture = "rbxassetid://1415728949"
  1118. particlemiter2.Lifetime = NumberRange.new(2.5)
  1119. particlemiter2.Size = NumberSequence.new(1,0)
  1120. particlemiter2.Rate = 20
  1121. particlemiter2.RotSpeed = NumberRange.new(70)
  1122. particlemiter2.Speed = NumberRange.new(0)
  1123. t = 1
  1124. for i = 1, 5 do
  1125. t = t + 1
  1126. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
  1127. wait()
  1128. end
  1129. sound = Instance.new("Sound", Torso)
  1130. sound.SoundId = "rbxassetid://730531499"
  1131. sound.Volume = 3
  1132. sound.Pitch = math.random(.8,1)
  1133. sound:Play()
  1134. for i = 1, 5 do
  1135. hum.WalkSpeed = 15
  1136. t = t + 2
  1137. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
  1138. wait()
  1139. end
  1140. sound2 = Instance.new("Sound", Torso)
  1141. sound2.SoundId = "rbxassetid://93186995"
  1142. sound2.Volume = 3
  1143. sound2.Pitch = math.random(.8,1)
  1144. sound2:Play()
  1145. for i = 1, 5 do
  1146. hum.WalkSpeed = 16
  1147. t = t + 3
  1148. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
  1149. wait()
  1150. end
  1151. sound3 = Instance.new("Sound", Torso)
  1152. sound3.SoundId = "rbxassetid://178090362"
  1153. sound3.Volume = 3
  1154. sound3.Pitch = math.random(.8,1)
  1155. sound3:Play()
  1156. for i = 1, 5 do
  1157. hum.WalkSpeed = 18
  1158. t = t + 4
  1159. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
  1160. wait()
  1161. end
  1162. sound4 = Instance.new("Sound", Torso)
  1163. sound4.SoundId = "rbxassetid://152091992"
  1164. sound4.Volume = 3
  1165. sound4.Pitch = 1
  1166. sound4.Looped = true
  1167. sound4:Play()
  1168. for i = 1, 5 do
  1169. hum.WalkSpeed = 20
  1170. t = t + 5
  1171. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
  1172. wait()
  1173. end
  1174. for i = 1, 5 do
  1175. hum.WalkSpeed = 25
  1176. t = t + 10
  1177. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
  1178. wait()
  1179. end
  1180. for i = 1, 5 do
  1181. hum.WalkSpeed = 30
  1182. t = t + 20
  1183. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
  1184. wait()
  1185. end
  1186. for i = 1, 5 do
  1187. hum.WalkSpeed = 35
  1188. t = t + 30
  1189. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
  1190. wait()
  1191. end
  1192. for i = 1, 150 do
  1193. hum.WalkSpeed = 40
  1194. t = t + 40
  1195. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
  1196. wait()
  1197. end
  1198. fpg = true
  1199. gpf = false
  1200. removeuseless:AddItem(sound4,5)
  1201. removeuseless:AddItem(eORBright,1)
  1202. removeuseless:AddItem(eORBleft,1)
  1203. removeuseless:AddItem(wind,1)
  1204. removeuseless:AddItem(wind2,1)
  1205. attacking = false
  1206. debounce = false
  1207. quikcour = coroutine.wrap(function()
  1208. while fpg do
  1209. wind.Transparency = wind.Transparency + 0.06
  1210. wind2.Transparency = wind2.Transparency + .06
  1211. eORBright.Size = eORBright.Size + Vector3.new(1,1,1)
  1212. eORBright.Transparency = eORBright.Transparency + 0.07
  1213. eORBleft.Size = eORBleft.Size + Vector3.new(1,1,1)
  1214. eORBleft.Transparency = eORBleft.Transparency + 0.07
  1215. sound4.Volume = sound4.Volume - 0.05
  1216. eORBright.Anchored = true
  1217. eORBleft.Anchored = true
  1218. wait()
  1219. end
  1220. end)
  1221. quikcour()
  1222. end
  1223. end)
  1224.  
  1225. mouse.KeyDown:connect(function(Press)
  1226. Press=Press:lower()
  1227. if Press=='h' then
  1228. if dancing then
  1229. dancing = false
  1230. else
  1231. dancing = true
  1232. ws = 0
  1233. change = .5
  1234. attacking = true
  1235. jellyfishjam = Instance.new("Sound",Torso)
  1236. jellyfishjam.SoundId = "rbxassetid://840189092"
  1237. jellyfishjam.Volume = 8
  1238. jellyfishjam.Looped = true
  1239. jellyfishjam.TimePosition = 14.8
  1240. jellyfishjam:Play()
  1241. coroutine.wrap(function()
  1242. while dancing do
  1243. for i = 1, 15 do
  1244. if not dancing then break end
  1245. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(20)),.25)
  1246. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
  1247. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
  1248. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(0.25, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-35)), 0.25)
  1249. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.31, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(14)), 0.25)
  1250. swait()
  1251. end
  1252. for i = 1, 15 do
  1253. if not dancing then break end
  1254. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),.25)
  1255. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
  1256. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
  1257. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.25, .7,1.5) * CFrame.Angles(math.rad(72), math.rad(25), math.rad(-2)), 0.25)
  1258. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.25)
  1259. swait()
  1260. end
  1261. for i = 1, 15 do
  1262. if not dancing then break end
  1263. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(-.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(-20)),.25)
  1264. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
  1265. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
  1266. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.25)
  1267. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(-0.25, 2.05,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(35)), 0.25)
  1268. swait()
  1269. end
  1270. for i = 1, 15 do
  1271. if not dancing then break end
  1272. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(-.5,-.1,0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),.25)
  1273. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
  1274. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
  1275. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.31, 2.05,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-14)), 0.3)
  1276. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.25, .7,1.5) * CFrame.Angles(math.rad(72), math.rad(-25), math.rad(-2)), 0.25)
  1277. swait()
  1278. end
  1279. swait()
  1280. end
  1281. ws = 14
  1282. attacking = false
  1283. end)()
  1284. end
  1285. end
  1286. end)
  1287.  
  1288. mouse.KeyDown:connect(function(Press)
  1289. Press=Press:lower()
  1290. if Press=='g' then
  1291. if dancing then
  1292. dancing = false
  1293. else
  1294. dancing = true
  1295. ws = 0
  1296. change = .5
  1297. attacking = true
  1298. deadmau7 = Instance.new("Sound",Torso)
  1299. deadmau7.SoundId = "rbxassetid://168166611"
  1300. deadmau7.Volume = 8
  1301. deadmau7.Looped = true
  1302. deadmau7:Play()
  1303. coroutine.wrap(function()
  1304. coroutine.wrap(function()
  1305. while dancing do
  1306. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(2 * math.sin(sine/9),-.4 + .1 * math.sin(sine/3),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/9)),0),.25)
  1307. swait()
  1308. end
  1309. end)()
  1310. while dancing do
  1311. for i = 1, 28 do
  1312. if not dancing then break end
  1313. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.2)
  1314. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1.5,0) * CFrame.Angles(math.rad(180 - 7 * math.sin(sine/3)),math.rad(7 * math.sin(sine/3)),math.rad(7*math.sin(sine/3))), 0.2)
  1315. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, .7,1) * CFrame.Angles(math.rad(75 - 10 * math.sin(sine/2)), math.rad(0), math.rad(0)), 0.25)
  1316. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.31, 2.05,-.1) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-2)), 0.3)
  1317. swait()
  1318. end
  1319. for i = 1, 28 do
  1320. if not dancing then break end
  1321. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.2)
  1322. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1.5,0) * CFrame.Angles(math.rad(180 - 7 * math.sin(sine/3)),math.rad(7 * math.sin(sine/3)),math.rad(7*math.sin(sine/3))), 0.2)
  1323. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.31, 2.05,.1) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-8)), 0.25)
  1324. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, .7,1.1) * CFrame.Angles(math.rad(75 - 10 * math.sin(sine/2)), math.rad(0), math.rad(-2)), 0.25)
  1325. swait()
  1326. end
  1327. swait()
  1328. end
  1329. ws = 14
  1330. deadmau7:Remove()
  1331. attacking = false
  1332. end)()
  1333. end
  1334. end
  1335. end)
  1336.  
  1337. mouse.KeyDown:connect(function(Press)
  1338. Press=Press:lower()
  1339. if Press=='f' then
  1340. if dancing then
  1341. dancing = false
  1342. else
  1343. dancing = true
  1344. ws = 6
  1345. change = .5
  1346. attacking = true
  1347. bennyhill = Instance.new("Sound",Torso)
  1348. bennyhill.SoundId = "rbxassetid://138211362"
  1349. bennyhill.Volume = 8
  1350. bennyhill.Looped = true
  1351. bennyhill:Play()
  1352. coroutine.wrap(function()
  1353. while dancing do
  1354. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(0,-.4,0) * CFrame.Angles(math.rad(20 + 5 * math.sin(sine/2)),math.rad(10 * math.sin(sine/4)),0),.25)
  1355. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.89 - .4 * -math.sin(sine/2),.49) * CFrame.Angles(math.rad(-70 + 20 * -math.sin(sine/2)),0,math.rad(0)),.25)
  1356. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.89 - .4 * math.sin(sine/2),.49) * CFrame.Angles(math.rad(-70  + 20 * math.sin(sine/2)),0,math.rad(0)),.25)
  1357. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.33, 2, -.2 + .3 * math.sin(sine/2)) * CFrame.Angles(math.rad(-20 - 20 * -math.sin(sine/2)), math.rad(0), math.rad(-8)), 0.25)
  1358. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.33, 2.0,-.2 - .3 * math.sin(sine/2)) * CFrame.Angles(math.rad(-20 - 20 * math.sin(sine/2)), math.rad(0), math.rad(8)), 0.25)
  1359. swait()
  1360. end
  1361. ws = 14
  1362. bennyhill:Remove()
  1363. attacking = false
  1364. end)()
  1365. end
  1366. end
  1367. end)
  1368.  
  1369. mouse.KeyDown:connect(function(Press)
  1370. Press=Press:lower()
  1371. if Press=='p' then
  1372. if dancing then
  1373. dancing = false
  1374. else
  1375. dancing = true
  1376. ws = 0
  1377. change = .5
  1378. attacking = true
  1379. barrelspin = 0
  1380. barrelrollsound = Instance.new("Sound",Torso)
  1381. barrelrollsound.SoundId = "rbxassetid://1372037391"
  1382. barrelrollsound.Volume = 8
  1383. barrelrollsound.Looped = true
  1384. barrelrollsound:Play()
  1385. barrol = Instance.new("Part",Torso)
  1386. barrol.Size = Vector3.new(1,1,1)
  1387. barrol.CFrame = Torso.CFrame
  1388. barrol.CanCollide = false
  1389. barrolweld = Instance.new("Weld",barrol)
  1390. barrolweld.Part0 = barrol
  1391. barrolweld.Part1 = Torso
  1392. barrolweld.C0 = barrol.CFrame:inverse() * Torso.CFrame * CFrame.new(0,0,0)
  1393. mbarrol = Instance.new("SpecialMesh", barrol)
  1394. mbarrol.MeshType = "FileMesh"
  1395. mbarrol.Scale = Vector3.new(3, 3, 3)
  1396. mbarrol.MeshId,mbarrol.TextureId = 'http://www.roblox.com/asset/?id=16646125','http://www.roblox.com/asset/?id=16432575'
  1397. coroutine.wrap(function()
  1398. while dancing do
  1399. ROOTLERP.C0 = ROOTLERP.C0:Lerp(CFrame.new(5 * math.sin(sine/8),-1.8,0) * CFrame.Angles(math.rad(-90),math.rad(180 * math.sin(sine/8)),0),.25)
  1400. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,1.5,0) * CFrame.Angles(math.rad(180),0,math.rad(0)),.25)
  1401. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,1.5,0) * CFrame.Angles(math.rad(180),0,math.rad(0)),.25)
  1402. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(0,0,0),.25)
  1403. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5,2,0) * CFrame.Angles(0,0,0),.25)
  1404. swait()
  1405. end
  1406. ws = 14
  1407. barrol:Remove()
  1408. attacking = false
  1409. end)()
  1410. end
  1411. end
  1412. end)
  1413.  
  1414. mouse.KeyDown:connect(function(Press)
  1415. Press=Press:lower()
  1416. if Press=='q' then
  1417. if dancing then
  1418. dancing = false
  1419. else
  1420. dancing = true
  1421. ws = 0
  1422. change = .5
  1423. spinningmove = 0
  1424. dbwouldlovethis = Instance.new("Sound",Torso)
  1425. dbwouldlovethis.SoundId = "rbxassetid://1532157598"
  1426. dbwouldlovethis.Volume = 8
  1427. dbwouldlovethis.Looped = true
  1428. dbwouldlovethis:Play()
  1429. attacking = true
  1430. coroutine.wrap(function()
  1431. while dancing do
  1432. spinningmove = spinningmove + 10
  1433. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, -.35) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)),.2)
  1434. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9, .35) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  1435. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(.2 * math.sin(sine/3), -.52, .2 * math.sin(sine/4)) * CFrame.Angles(math.rad(180),math.rad(spinningmove),math.rad(15 * math.sin(sine/9))),.2)
  1436. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,1.45,0) * CFrame.Angles(math.rad(180),math.rad(-1),math.rad(-3 * math.sin(sine/2))),0.3)
  1437. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,1.45,0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(3 * math.sin(sine/2))), 0.3)
  1438. swait()
  1439. end
  1440. ws = 14
  1441. dbwouldlovethis:Remove()
  1442. attacking = false
  1443. end)()
  1444. end
  1445. end
  1446. end)
  1447.  
  1448.  
  1449. mouse.KeyDown:connect(function(Press)
  1450. Press=Press:lower()
  1451. if Press=='u' then
  1452. if dancing then
  1453. dancing = false
  1454. else
  1455. dancing = true
  1456. ws = 6
  1457. change = .5
  1458. attacking = true
  1459. slavdance = Instance.new("Sound",Torso)
  1460. slavdance.SoundId = "rbxassetid://2341226836"
  1461. slavdance.Volume = 6
  1462. slavdance.Looped = true
  1463. slavdance:Play()
  1464. coroutine.wrap(function()
  1465. while dancing do
  1466. for i = 1, 17 do
  1467. if not dancing then break end
  1468. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
  1469. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  1470. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8 + .1 * math.sin(sine/3), 0) * CFrame.Angles(math.rad(22 - 2 * math.sin(sine/3)),math.rad(0),math.rad(0)),.2)
  1471. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87 + .01 * math.sin(sine/9)),math.rad(80 - 3 * math.sin(sine/9)),math.rad(0)), 0.3)
  1472. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.4) * CFrame.Angles(math.rad(-87 - .01 * math.sin(sine/9)),math.rad(-88 + .7 * math.sin(sine/9)),math.rad(0)), 0.3)
  1473. swait()
  1474. end
  1475. for i = 1, 17 do
  1476. if not dancing then break end
  1477. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
  1478. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
  1479. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8 + .1 * math.sin(sine/3), 0) * CFrame.Angles(math.rad(22 - 2 * math.sin(sine/3)),math.rad(0),math.rad(0)),.2)
  1480. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,-.2,.4) * CFrame.Angles(math.rad(-87 + .01 * math.sin(sine/9)),math.rad(80 - 3 * math.sin(sine/9)),math.rad(0)), 0.3)
  1481. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.7,-.2,.4) * CFrame.Angles(math.rad(-87 - .01 * math.sin(sine/9)),math.rad(-88 + .7 * math.sin(sine/9)),math.rad(0)), 0.3)
  1482. swait()
  1483. end
  1484. swait()
  1485. end
  1486. ws = 14
  1487. slavdance:Remove()
  1488. attacking = false
  1489. end)()
  1490. end
  1491. end
  1492. end)
  1493.  
  1494. mouse.KeyDown:connect(function(Press)
  1495. Press=Press:lower()
  1496. if Press=='y' then
  1497. if dancing then
  1498. dancing = false
  1499. else
  1500. dancing = true
  1501. ws = 0
  1502. change = .5
  1503. walkforward = 0
  1504. walkrotation = 0
  1505. attacking = true
  1506. truelegend = Instance.new("Sound",Torso)
  1507. truelegend.SoundId = "rbxassetid://487872908"
  1508. truelegend.TimePosition = 13.98
  1509. truelegend.Volume = 8
  1510. truelegend.Looped = true
  1511. truelegend:Play()
  1512. coroutine.wrap(function()
  1513. while dancing do
  1514. for i = 1, 100 do
  1515. if not dancing then break end
  1516. walkforward = walkforward + .1
  1517. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.31, 2.05 , .1 * math.sin(sine/4)) * CFrame.Angles(math.rad(10 * math.sin(sine/4)), math.rad(0), math.rad(-8)), 0.3)
  1518. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.31, 2.05, -.15 * math.sin(sine/4)) * CFrame.Angles(math.rad(-10 * math.sin(sine/4)), math.rad(0), math.rad(8)), 0.3)
  1519. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1520. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  1521. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  1522. swait()
  1523. end
  1524. for i = 1, 50 do
  1525. if not dancing then break end
  1526. walkrotation = walkrotation + 15
  1527. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
  1528. swait()
  1529. end
  1530. walkrotation = 0
  1531. for i = 1, 100 do
  1532. if not dancing then break end
  1533. walkforward = walkforward - .1
  1534. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.31, 2 , .1 * math.sin(sine/4)) * CFrame.Angles(math.rad(10 * math.sin(sine/4)), math.rad(0), math.rad(-8)), 0.3)
  1535. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.31, 2, -.15 * math.sin(sine/4)) * CFrame.Angles(math.rad(-10 * math.sin(sine/4)), math.rad(0), math.rad(8)), 0.3)
  1536. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(-180),math.rad(-0)),.2)
  1537. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,.7,.2) * CFrame.Angles(math.rad(220),math.rad(0),math.rad(-30)), 0.4)
  1538. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
  1539. swait()
  1540. end
  1541. for i = 1, 50 do
  1542. if not dancing then break end
  1543. walkrotation = walkrotation + 15
  1544. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.1)
  1545. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
  1546. swait()
  1547. end
  1548. walkrotation = 0
  1549. swait()
  1550. end
  1551. ws = 14
  1552. truelegend:Remove()
  1553. attacking = false
  1554. end)()
  1555. end
  1556. end
  1557. end)
  1558.  
  1559. mouse.KeyDown:connect(function(Press)
  1560. Press=Press:lower()
  1561. if Press=='t' then
  1562. if dancing then
  1563. dancing = false
  1564. else
  1565. dancing = true
  1566. ws = 0
  1567. change = .5
  1568. attacking = true
  1569. plummusic = Instance.new("Sound",Torso)
  1570. plummusic.Volume = 8
  1571. plummusic.Looped = true
  1572. plummusic.SoundId = "rbxassetid://2526093213"
  1573. plummusic:Play()
  1574. coroutine.wrap(function()
  1575. while dancing do
  1576. for i = 1, 20 do
  1577. if not dancing then break end
  1578. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.33, 2 , .05) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-8)), 0.2)
  1579. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.33, 2.0, -.05) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(8)), 0.2)
  1580. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0),math.rad(0*math.sin(sine/4)),math.rad(15)),.2)
  1581. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,1.98,.05) * CFrame.Angles(0,0,math.rad(-140)),.2)
  1582. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,1.3,.05) * CFrame.Angles(0,0,math.rad(50)),.2)
  1583. swait()
  1584. end
  1585. for i = 1, 20 do
  1586. if not dancing then break end
  1587. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.33, 2, .05) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-8)), 0.2)
  1588. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.33, 2.0, -.05) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(8)), 0.2)
  1589. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0),math.rad(0*math.sin(sine/4)),math.rad(-15)),.2)
  1590. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,1.4,.05) * CFrame.Angles(0,0,math.rad(-50)),.2)
  1591. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-.6,2,.05) * CFrame.Angles(0,0,math.rad(140)),.2)
  1592. swait()
  1593. end
  1594. swait()
  1595. end
  1596. ws = 14
  1597. plummusic:Remove()
  1598. attacking = false
  1599. end)()
  1600. end
  1601. end
  1602. end)
  1603.  
  1604. mouse.KeyDown:connect(function(Press)
  1605. Press=Press:lower()
  1606. if Press=='e' then
  1607. if dancing then
  1608. dancing = false
  1609. else
  1610. dancing = true
  1611. ws = 0
  1612. change = .5
  1613. attacking = true
  1614. mrozo = Instance.new("Sound",Torso)
  1615. mrozo.Volume = 8
  1616. mrozo.SoundId = "rbxassetid://335701357"
  1617. mrozo.Looped = true
  1618. mrozo.TimePosition = 10
  1619. mrozo:Play()
  1620. coroutine.wrap(function()
  1621. while dancing do
  1622. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.1)
  1623. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.1)
  1624. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0),math.rad(0*math.sin(sine/4)),math.rad(15*math.sin(sine/4))),.2)
  1625. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3 + .3 * math.sin(sine/3.5),.5 * -math.sin(sine/3.5),.1) * CFrame.Angles(math.rad(0 * math.sin(sine/2)),0,math.rad(30 * math.sin(sine/3.5))),.2)
  1626. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3 + .3 * math.sin(sine/3.5),.5 * math.sin(sine/3.5),.1) * CFrame.Angles(math.rad(0 * math.sin(sine/2)),0,math.rad(30 * math.sin(sine/3.5))),.2)
  1627. swait()
  1628. end
  1629. mrozo:Remove()
  1630. ws = 14
  1631. attacking = false
  1632. end)()
  1633. end
  1634. end
  1635. end)
  1636.  
  1637. mouse.KeyDown:connect(function(Press)
  1638. Press=Press:lower()
  1639. if Press=='v' then
  1640. if not levitate then return end
  1641. if debounce then return end
  1642. debounce = true
  1643. charging = true
  1644. attacking = true
  1645. downpress = false
  1646. x = 1
  1647. ws = 0
  1648. g1 = Instance.new("BodyGyro", Root)
  1649. g1.D = 175
  1650. g1.P = 20000
  1651. g1.MaxTorque = Vector3.new(0,9000,0)
  1652. SOUND(RightArm,2014087015,8,false,3)
  1653. coroutine.wrap(function()
  1654. Charge = Instance.new("Sound",RightArm)
  1655. Charge.SoundId = "rbxassetid://101153932"
  1656. Charge.Looped = false
  1657. Charge.Volume = 8
  1658. Charge:Play()
  1659. end)()
  1660. appi = true
  1661. coroutine.wrap(function()
  1662. while appi do
  1663. swait()
  1664. if Root.Velocity.Magnitude < 2 and attacking == true then
  1665. position = "Idle3"
  1666. end
  1667. end
  1668. end)()
  1669. coroutine.wrap(function()
  1670. while appi do
  1671. swait()
  1672. settime = 0.05
  1673. sine = sine + change
  1674. if position == "Idle3" and attacking == true and appi == true then
  1675. change = .4
  1676. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1677. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  1678. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  1679. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4)
  1680. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
  1681. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
  1682. end
  1683. end
  1684. end)()
  1685. for i = 1, 15 do
  1686. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1687. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  1688. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  1689. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
  1690. swait()
  1691. end
  1692. for i = 1, 3 do
  1693. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  1694. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  1695. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  1696. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
  1697. x = x + .1
  1698. blastborb = Instance.new("Part",Torso)
  1699. blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1700. blastborb.BrickColor = BrickColor.new(colors)
  1701. blastborb.Anchored = true
  1702. blastborb.Size = Vector3.new(10,10,10)
  1703. blastborb.CanCollide = false
  1704. blastborb.Material = "Neon"
  1705. for i = 1, 5 do
  1706. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  1707. blastborb.Size = blastborb.Size - Vector3.new(1,1,1)
  1708. swait()
  1709. end
  1710. blastborb:Remove()
  1711. swait()
  1712. end
  1713. downpress = true
  1714. while charging and x < 5  do
  1715. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  1716. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  1717. RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  1718. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
  1719. x = x + .1
  1720. blastborb = Instance.new("Part",Torso)
  1721. blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1722. blastborb.BrickColor = BrickColor.new(colors)
  1723. blastborb.Anchored = true
  1724. blastborb.Size = Vector3.new(10,10,10)
  1725. blastborb.CanCollide = false
  1726. blastborb.Material = "Neon"
  1727. for i = 1, 5 do
  1728. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
  1729. blastborb.Size = blastborb.Size - Vector3.new(1,1,1)
  1730. swait()
  1731. end
  1732. blastborb:Remove()
  1733. swait()
  1734. end
  1735. coroutine.wrap(function()
  1736. for i = 1, 20 do
  1737. Charge.Volume = Charge.Volume - .5
  1738. swait()
  1739. end
  1740. end)()
  1741. local bigswoosh = Instance.new("Part",Torso)
  1742. bigswoosh.Name = "bigswoosh"
  1743. bigswoosh.CFrame = Root.CFrame * CFrame.new(1,0,-5)
  1744. bigswoosh.Size = Vector3.new(1,1,1)
  1745. bigswoosh.Material = "Neon"
  1746. bigswoosh.Anchored = true
  1747. bigswoosh.Transparency = 1
  1748. bigswoosh.BrickColor = BrickColor.new("Really red")
  1749. bigswoosh.CanCollide = false
  1750. SOUND(bigswoosh,842332424,10,false,6)
  1751. SOUND(bigswoosh,2017948224,10,false,6)
  1752. SOUND(bigswoosh,138677306,10,false,4)
  1753. coroutine.wrap(function()
  1754. local loc1 = Instance.new("Part",bigswoosh)
  1755. loc1.CFrame = bigswoosh.CFrame * CFrame.new(-3,0,0)
  1756. loc1.Size = Vector3.new(2,2,2)
  1757. loc1.Anchored = true
  1758. loc1.Transparency = 1
  1759. loc1.CanCollide = false
  1760. local loc2 = Instance.new("Part",bigswoosh)
  1761. loc2.CFrame = bigswoosh.CFrame * CFrame.new(3,0,0)
  1762. loc2.Size = Vector3.new(2,2,2)
  1763. loc2.Anchored = true
  1764. loc2.Transparency = 1
  1765. loc2.CanCollide = false
  1766. n = 0
  1767. nb = 0
  1768. for i = 1, 125 do
  1769. n = n + x
  1770. nb = nb - x
  1771. Hit = damagealll(n,bigswoosh.Position)
  1772. for _,v in pairs(Hit) do
  1773. if x > 4.5 then    
  1774. v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  1775. else  
  1776. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(4+x,10+x))
  1777. end
  1778. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1779. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1780. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1781. vel.velocity = CFrame.new(bigswoosh.Position,torso.Position).lookVector*150
  1782. removeuseless:AddItem(vel,.1)
  1783. end
  1784. local bigtrail = Instance.new("Part",LeftArm)
  1785. bigtrail.Size = bigswoosh.Size
  1786. bigtrail.BrickColor = BrickColor.new(colors)
  1787. bigtrail.Anchored = true
  1788. bigtrail.Material = "Neon"
  1789. bigtrail.CFrame = bigswoosh.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1790. bigtrail.CanCollide = false
  1791. removeuseless:AddItem(bigtrail,2)
  1792. local irritatedground = Instance.new("Part",Torso)
  1793. irritatedground.Size = Vector3.new(n*1.5,1,3*x)
  1794. irritatedground.BrickColor = BrickColor.new(colors)
  1795. irritatedground.Material = "Neon"
  1796. irritatedground.CFrame = bigswoosh.CFrame * CFrame.new(0,-6,0)
  1797. irritatedground.CanCollide = false
  1798. irritatedground.Anchored = true
  1799. removeuseless:AddItem(irritatedground,10)
  1800. local grassblocks = Instance.new("Part",Torso)
  1801. grassblocks.Size = Vector3.new(n/2,n/2,n/2)
  1802. grassblocks.Material = "Grass"
  1803. grassblocks.Anchored = true
  1804. grassblocks.Name = "grassblocks"
  1805. grassblocks.BrickColor = BrickColor.new("Bright green")
  1806. grassblocks.CFrame = loc1.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1807. removeuseless:AddItem(grassblocks,10)
  1808. local grassblocks2 = Instance.new("Part",Torso)
  1809. grassblocks2.Size = Vector3.new(n/2,n/2,n/2)
  1810. grassblocks2.Material = "Grass"
  1811. grassblocks2.Anchored = true
  1812. grassblocks2.Name = "grassblocks2"
  1813. grassblocks2.BrickColor = BrickColor.new("Bright green")
  1814. grassblocks2.CFrame = loc2.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1815. removeuseless:AddItem(grassblocks2,10)
  1816. bigswoosh.Size = bigswoosh.Size + Vector3.new(x,x,x)
  1817. loc1.CFrame = bigswoosh.CFrame * CFrame.new(n,-3,0)
  1818. loc2.CFrame = bigswoosh.CFrame * CFrame.new(nb,-3,0)
  1819. bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3 - x)
  1820. swait()
  1821. end
  1822. for i = 1, 20 do
  1823. bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3)
  1824. bigswoosh.Transparency = bigswoosh.Transparency + 0.05
  1825. swait()
  1826. end
  1827. bigswoosh:Remove()
  1828. end)()
  1829. for i = 1, 50 do
  1830. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
  1831. RIGHTARMLERP.C1 = CFrame.new(0,0,0)
  1832. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
  1833. swait()
  1834. end
  1835. ws = 50
  1836. attacking = false
  1837. debounce = false
  1838. appi = false
  1839. g1:Remove()
  1840. end
  1841. end)
  1842.  
  1843. mouse.KeyDown:connect(function(Press)
  1844. Press=Press:lower()
  1845. if Press=='r' then
  1846. if dancing then
  1847. dancing = false
  1848. else
  1849. ws = 6
  1850. recordbaby = 0
  1851. dancing = true
  1852. change = .5
  1853. attacking = true
  1854. spinme = Instance.new("Sound",Torso)
  1855. spinme.Volume = 8
  1856. spinme.SoundId = "rbxassetid://145799973"
  1857. spinme.Looped = true
  1858. spinme:Play()
  1859. coroutine.wrap(function()
  1860. while dancing do
  1861. recordbaby = recordbaby + 10
  1862. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.27, 2 , .1 * math.sin(sine/4)) * CFrame.Angles(math.rad(10 * math.sin(sine/4)), math.rad(0), math.rad(-8)), 0.3)
  1863. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.27, 2.0, -.1 * math.sin(sine/4)) * CFrame.Angles(math.rad(-10 * math.sin(sine/4)), math.rad(0), math.rad(8)), 0.3)
  1864. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(.5 * math.sin(sine/5), -.2, .5 * math.sin(sine/4)) * CFrame.Angles(math.rad(0),math.rad(recordbaby),math.rad(0)),.3)
  1865. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5,1.98,0) * CFrame.Angles(0,0,math.rad(-90)),.3)
  1866. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5,1.98,0) * CFrame.Angles(0,0,math.rad(90)),.3)
  1867. swait()
  1868. end
  1869. spinme:Remove()
  1870. ws = 14
  1871. attacking = false
  1872. end)()
  1873. end
  1874. end
  1875. end)
  1876.  
  1877. function ray(pos, dir, rang, ignoredesc)
  1878.     return workspace:FindPartOnRay(Ray.new(pos, dir.unit * rang), ignoredesc)
  1879. end
  1880.  
  1881. function ray2(startpos, endpos, distance, ignore)
  1882. local dir = CFrame.new(startpos,endpos).lookVector
  1883. return ray(startpos, dir, distance, ignore)
  1884. end
  1885.  
  1886. checks1 = coroutine.wrap(function() -------Checks
  1887. while true do
  1888. hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,3*3,Character)
  1889. if Root.Velocity.y > 1 then
  1890. position = "Jump"
  1891. elseif Root.Velocity.y < -1 then
  1892. position = "Falling"
  1893. elseif Root.Velocity.Magnitude < 2 then
  1894. position = "Idle"
  1895. elseif Root.Velocity.Magnitude > 2 then
  1896. position = "Walking"
  1897. elseif Root.Velocity.Magnitude > 20 then
  1898. position = "Running"
  1899. else
  1900. end
  1901. wait()
  1902. end
  1903. end)
  1904. checks1()
  1905.  
  1906. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1907.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1908. end
  1909.  
  1910. function ray2(StartPos, EndPos, Distance, Ignore)
  1911. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  1912. return ray(StartPos, DIRECTION, Distance, Ignore)
  1913. end
  1914.  
  1915. OrgnC0 = Neck.C0
  1916. local movelimbs = coroutine.wrap(function()
  1917. while RunSrv.RenderStepped:wait() do
  1918. TrsoLV = Torso.CFrame.lookVector
  1919. Dist = nil
  1920. Diff = nil
  1921. if not MseGuide then
  1922. print("Failed to recognize")
  1923. else
  1924. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1925. Dist = (Head.CFrame.p-Point).magnitude
  1926. Diff = Head.CFrame.Y-Point.Y
  1927. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1928. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  1929. Diff2 = LeftArm.CFrame.Y-Point.Y
  1930. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1931. Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
  1932. end
  1933. end
  1934. end)
  1935. movelimbs()
  1936. immortal = {}
  1937. for i,v in pairs(Character:GetDescendants()) do
  1938.     if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  1939.         if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
  1940.             v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1941.         end
  1942.         table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  1943.     elseif v:IsA("JointInstance") then
  1944.         table.insert(immortal,{v,v.Parent,nil,nil,nil})
  1945.     end
  1946. end
  1947. for e = 1, #immortal do
  1948.     if immortal[e] ~= nil then
  1949.         local STUFF = immortal[e]
  1950.         local PART = STUFF[1]
  1951.         local PARENT = STUFF[2]
  1952.         local MATERIAL = STUFF[3]
  1953.         local COLOR = STUFF[4]
  1954.         local TRANSPARENCY = STUFF[5]
  1955. if levitate then
  1956.         if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1957.             PART.Material = MATERIAL
  1958.             PART.Color = COLOR
  1959.             PART.Transparency = TRANSPARENCY
  1960.         end
  1961.         PART.AncestryChanged:connect(function()
  1962.             PART.Parent = PARENT
  1963.         end)
  1964. else
  1965.         if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1966.             PART.Material = MATERIAL
  1967.             PART.Color = COLOR
  1968.             PART.Transparency = TRANSPARENCY
  1969.         end
  1970.         PART.AncestryChanged:connect(function()
  1971.             PART.Parent = PARENT
  1972.         end)
  1973. end
  1974.     end
  1975. end
  1976. function immortality()
  1977.     for e = 1, #immortal do
  1978.         if immortal[e] ~= nil then
  1979.             local STUFF = immortal[e]
  1980.             local PART = STUFF[1]
  1981.             local PARENT = STUFF[2]
  1982.             local MATERIAL = STUFF[3]
  1983.             local COLOR = STUFF[4]
  1984.             local TRANSPARENCY = STUFF[5]
  1985.             if PART.ClassName == "Part" and PART == Root then
  1986.                 PART.Material = MATERIAL
  1987.                 PART.Color = COLOR
  1988.                 PART.Transparency = TRANSPARENCY
  1989.             end
  1990.             if PART.Parent ~= PARENT then
  1991.                 hum:Remove()
  1992.                 PART.Parent = PARENT
  1993.                 hum = Instance.new("Humanoid",Character)
  1994.                                 hum.Name = "noneofurbusiness"
  1995.             end
  1996.         end
  1997.     end
  1998. end
  1999. coroutine.wrap(function()
  2000. while true do
  2001. if hum.Health < .1 then
  2002. deadsound = Instance.new("Sound", Torso)
  2003. deadsound.Volume = 6
  2004. deadsound.SoundId = "rbxassetid://1411352723"
  2005. deadsound:Play()
  2006. immortality()
  2007. end
  2008. wait()
  2009. end
  2010. end)()
  2011.  
  2012. local anims = coroutine.wrap(function()
  2013. while true do
  2014. settime = 0.05
  2015. sine = sine + change
  2016. if position == "Jump" and attacking == false then
  2017. change = 1
  2018. spin = false
  2019. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  2020. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2021. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  2022. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  2023. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2024. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.2)
  2025. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  2026. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  2027. elseif position == "Falling" and attacking == false then
  2028. change = 1
  2029. spin = false
  2030. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  2031. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
  2032. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2033. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  2034. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  2035. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  2036. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(-4), math.rad(0)), 0.2)
  2037. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
  2038. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
  2039. elseif position == "Walking" and attacking == false and running == false then
  2040. change = 1.2
  2041. walking = true
  2042. spin = false
  2043. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  2044. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5 + Root.RotVelocity.Y / 85,.35,-.5*math.sin(sine/11)) * CFrame.Angles(math.rad(35*math.sin(sine/11)),math.rad(0*math.sin(sine/11)),math.rad(-10 + Root.RotVelocity.Y / 10, math.sin(-20 * math.sin(sine/4)))),.3)
  2045. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + Root.RotVelocity.Y / 85,.45,.5*math.sin(sine/11)) * CFrame.Angles(math.rad(-55*math.sin(sine/11)),math.rad(-5*math.sin(sine/8)),math.rad(10 + Root.RotVelocity.Y / 10, math.sin(20 * math.sin(sine/4)))),.3)
  2046. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.15 * 0.6*-math.sin(sine/5.5), 0) * CFrame.Angles(math.rad(10), math.rad(12 * -math.sin(sine/11)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.3)
  2047. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/11)/2.8, -.2  + 0.2 - math.sin(sine/11)/3.4) * CFrame.Angles(math.rad(25 - 25) + -math.sin(sine/11)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(-15 * 25 * math.cos(sine/11))), 0.3)
  2048. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/11)/2.8, -.2 + 0.2 + math.sin(sine/11)/3.4) * CFrame.Angles(math.rad(25 - 25) - -math.sin(sine/11)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(-15 * 25 * math.cos(sine/11))), 0.3)
  2049. elseif position == "Idle" and attacking == false and running == false then
  2050. change = .5
  2051. spin = true
  2052. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  2053. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)),math.rad(0),math.rad(0)),.1)
  2054. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.27 + .02 * math.sin(sine/12),.20 * -math.sin(sine/12)) * CFrame.Angles(math.rad(20 * math.sin(sine/12)),math.rad(0),math.rad(10)), 0.1)
  2055. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.27 + .02 * math.sin(sine/12),.20 * -math.sin(sine/12)) * CFrame.Angles(math.rad(20 * math.sin(sine/12)),math.rad(0),math.rad(-10)), 0.1)
  2056. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.1)
  2057. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.1)
  2058. elseif position == "Running" and attacking == false then
  2059. change = 1
  2060. for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
  2061. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  2062. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3)
  2063. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2064. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3)
  2065. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
  2066. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3)
  2067. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
  2068. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3)
  2069. end
  2070. swait()
  2071. end
  2072. end)
  2073. anims()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement