Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------//KRYSTAL DANCE V2\\-----------
- --[[Movelist
- Q = The Swoosher
- E = The nutty
- R = Spin me right round!
- T = Plum juice dance
- Y = Moonwalk
- U = Slav dance
- P = Barrel roll
- F = The Jerky
- G = The Shuffle
- H = The Spongebob
- J = Here comes the money!
- K = Runnin' in the 90's
- ---------]]
- --Alright so before i start rambling on about absolute nonsense, please subscribe to Pewdiepie on youtube! Help him defeat T-Series!--
- --Also subscribe to Vengefulprogram--
- --Krystal dance! The old famous script that sadly has been broken(sorta), i've decided to rework this thing because... nostalgia.--
- --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.--
- --Credits to Krystalteam, they made the original krystal dance! Be sure to respect them or else...--
- --#makeoldscriptsgreatagain--
- 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 = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
- local function NewFakeEvent()
- local Bind = Instance.new("BindableEvent")
- local Fake;Fake = {Connections = {},
- fakeEvent=true;
- Connect=function(self,Func)
- Bind.Event:connect(Func)
- self.Connections[Bind] = true
- return setmetatable({Connected = true},{
- __index = function (self,Index)
- if Index:lower() == "disconnect" then
- return function() Fake.Connections[Bind] = false;self.Connected = false end
- end
- return Fake[Index]
- end;
- __tostring = function() return "Connection" end;
- })
- end}
- Fake.connect = Fake.Connect;return Fake;
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Connections then
- for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
- end
- end
- Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return RealPlayer[Index](RealPlayer,...) end
- end
- return RealPlayer[Index]
- end;
- __tostring = function(self) return RealPlayer.Name end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return Sandbox(owner) end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return RealGame:GetService(Service).Name end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return RealGame:GetService(Service)
- end
- end
- return function (self,...) return RealGame[Index](RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return RealGame[Index]
- end
- end
- return nil
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
- Player=game.Players.LocalPlayer
- Character=Player.Character
- Character.Humanoid.Name = "noneofurbusiness"
- hum = Character.noneofurbusiness
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- Root=Character["HumanoidRootPart"]
- Head=Character["Head"]
- Torso=Character["Torso"]
- Neck=Torso["Neck"]
- mouse = Player:GetMouse()
- walking = false
- jumping = false
- attacking = false
- firsttime = false
- tauntdebounce = false
- position = nil
- MseGuide = true
- running = false
- settime = 0
- sine = 0
- t = 0
- ws = 14
- change = 1
- combo1 = true
- dancing = false
- equip = false
- dgs = 75
- combo2 = false
- switch1 = true
- switch2 = false
- firsttime2 = false
- combo3 = false
- gunallowance = false
- shooting = false
- RunSrv = game:GetService("RunService")
- RenderStepped = game:GetService("RunService").RenderStepped
- removeuseless = game:GetService("Debris")
- walking = false
- jumping = false
- allowgrassy = false
- zxc = false
- matte = nil
- colori = nil
- bigball = false
- attacking = false
- laughing = false
- running = false
- downpress = false
- taim = nil
- change = 0
- ws = 10
- appi = false
- tauntdebounce = false
- position = nil
- staybooming = false
- MseGuide = true
- levitate = false
- firsttime5 = false
- notallowedtransform = false
- settime = 0
- firsttime2 = false
- sine = 0
- t = 0
- combo1 = true
- dgs = 75
- combo2 = false
- firsttime3 = false
- combo3 = false
- local bl = {907530553,907527750,907527912}
- colortable = {"Really black","Really red"}
- colors = #colortable
- blz = #bl
- local aces = {1880203893,1881287656,1881287420,1881288034}
- ace = #aces
- local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475}
- laugh = #laughs
- mouse = Player:GetMouse()
- RunSrv = game:GetService("RunService")
- RenderStepped = game:GetService("RunService").RenderStepped
- removeuseless = game:GetService("Debris")
- damageall={}
- Repeater={}
- Repeater2={}
- magictable={}
- nonmeshRepeater={}
- nonmeshRepeater2={}
- dmgii={}
- DamageAll2={}
- SlowlyFade={}
- th1={}
- lolzor={}
- lolzor2={}
- th2={}
- keyYsize={}
- blocktrail={}
- keyYtransparency={}
- th3={}
- laughingtable={}
- Extreme={}
- ExtremeM={}
- ExtremeM2={}
- m3={}
- th4={}
- th5={}
- UpMover={}
- openshocktable={}
- LessSize={}
- ForwardMover={}
- FadeIn={}
- signtransparency={}
- signmover={}
- signrotator={}
- screenGui = Instance.new("ScreenGui")
- screenGui.Parent = script.Parent
- local HEADLERP = Instance.new("ManualWeld")
- HEADLERP.Parent = Head
- HEADLERP.Part0 = Head
- HEADLERP.Part1 = Head
- HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local TORSOLERP = Instance.new("ManualWeld")
- TORSOLERP.Parent = Root
- TORSOLERP.Part0 = Torso
- TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local ROOTLERP = Instance.new("ManualWeld")
- ROOTLERP.Parent = Root
- ROOTLERP.Part0 = Root
- ROOTLERP.Part1 = Torso
- ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTARMLERP = Instance.new("ManualWeld")
- RIGHTARMLERP.Parent = RightArm
- RIGHTARMLERP.Part0 = RightArm
- RIGHTARMLERP.Part1 = Torso
- RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTARMLERP = Instance.new("ManualWeld")
- LEFTARMLERP.Parent = LeftArm
- LEFTARMLERP.Part0 = LeftArm
- LEFTARMLERP.Part1 = Torso
- LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTLEGLERP = Instance.new("ManualWeld")
- RIGHTLEGLERP.Parent = RightLeg
- RIGHTLEGLERP.Part0 = RightLeg
- RIGHTLEGLERP.Part1 = Torso
- RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTLEGLERP = Instance.new("ManualWeld")
- LEFTLEGLERP.Parent = LeftLeg
- LEFTLEGLERP.Part0 = LeftLeg
- LEFTLEGLERP.Part1 = Torso
- LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local function weldBetween(a, b)
- local weld = Instance.new("ManualWeld", a)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- return weld
- end
- function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
- A = Instance.new("Attachment", PARENT)
- A.Position = POSITION1
- A.Name = "A"
- B = Instance.new("Attachment", PARENT)
- B.Position = POSITION2
- B.Name = "B"
- tr1 = Instance.new("Trail", PARENT)
- tr1.Attachment0 = A
- tr1.Attachment1 = B
- tr1.Enabled = true
- tr1.Lifetime = LIFETIME
- tr1.TextureMode = "Static"
- tr1.LightInfluence = 0
- tr1.Color = COLOR
- tr1.Transparency = NumberSequence.new(0, 1)
- end
- function clean()
- damageall={}
- Repeater={}
- Repeater2={}
- nonmeshRepeater={}
- nonmeshRepeater2={}
- dmgii={}
- DamageAll2={}
- SlowlyFade={}
- th1={}
- th2={}
- th3={}
- Extreme={}
- ExtremeM={}
- ExtremeM2={}
- m3={}
- th4={}
- th5={}
- UpMover={}
- openshocktable={}
- LessSize={}
- ForwardMover={}
- FadeIn={}
- signtransparency={}
- signmover={}
- signrotator={}
- end
- introsound = Instance.new("Sound",Head)
- introsound.SoundId = "rbxassetid://1982011510"
- introsound.Volume = 8
- introsound:Play()
- shirt = Instance.new("Shirt", Character)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", Character)
- pants.Name = "Pants"
- Character.Shirt.ShirtTemplate = "rbxassetid://676428254"----lol
- Character.Pants.PantsTemplate = "rbxassetid://676428351"
- jester = Instance.new("Part",Character)
- jester.Size = Vector3.new(2,2,2)
- jester.CFrame = Head.CFrame
- jester.CanCollide = false
- jesterWeld = Instance.new("Weld",jester)
- jesterWeld.Part0 = jester
- jesterWeld.Part1 = Head
- jesterWeld.C0 = jester.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
- mjester = Instance.new("SpecialMesh", jester)
- mjester.MeshType = "FileMesh"
- mjester.Scale = Vector3.new(1.1, 1.1, 1.1)
- mjester.MeshId,mjester.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395'
- mask = Instance.new("Part",Character)
- mask.Size = Vector3.new(1,1,1)
- mask.CFrame = Head.CFrame
- mask.CanCollide = false
- maskweld = weldBetween(mask,Head)
- maskweld.C0 = CFrame.new(0,-.555,0) * CFrame.Angles(math.rad(90),0,0)
- mMask = Instance.new("SpecialMesh", mask)
- mMask.MeshType = "FileMesh"
- mMask.Scale = Vector3.new(0.13, 0.13, 0.1)
- mMask.MeshId,mMask.TextureId = 'http://www.roblox.com/asset/?id=5158270','http://www.roblox.com/asset/?id=9543585'
- eyo1 = Instance.new("Part",Head)
- eyo1.BrickColor = BrickColor.new("White")
- eyo1.Material = "Neon"
- eyo1.Shape = "Ball"
- eyo1.Name = "eyo1"
- eyo1.CanCollide = false
- eyo1.Size = Vector3.new(0.33, 0.33, 0.33)
- eyo1weld = weldBetween(eyo1,Head)
- eyo1weld.C0 = CFrame.new(.215,-.05,.52)
- light = Instance.new("PointLight", eyo1)
- light.Color = Color3.new(1,1,1)
- light.Range = 3
- light.Brightness = 4
- light.Enabled = true
- eyo2 = Instance.new("Part",Head)
- eyo2.BrickColor = BrickColor.new("White")
- eyo2.Material = "Neon"
- eyo2.Shape = "Ball"
- eyo2.Name = "eyo2"
- eyo2.CanCollide = false
- eyo2.Size = Vector3.new(0.33, 0.33, 0.33)
- eyo2weld = weldBetween(eyo2,Head)
- eyo2weld.C0 = CFrame.new(-.215,-.05,.52)
- light2 = Instance.new("PointLight", eyo2)
- light2.Color = Color3.new(1,1,1)
- light2.Range = 3
- light2.Brightness = 4
- light2.Enabled = true
- glow = Instance.new("Part",Head)
- glow.Size = Vector3.new(.488,.3,.1)
- glow.CanCollide = false
- glow.Material = "Neon"
- glow.Transparency = 1
- glow.BrickColor = BrickColor.new("Really white")
- glowweld = weldBetween(glow,Head)
- glowweld.C0 = CFrame.new(0,.2,.565)
- leftlocation = Instance.new("Part",LeftArm)
- leftlocation.Size = Vector3.new(1,1,1)
- leftlocation.Transparency = 1
- leftlocationweld = weldBetween(leftlocation,LeftArm)
- leftlocationweld.C0 = CFrame.new(0,1.2,0)
- rightlocation = Instance.new("Part",RightArm)
- rightlocation.Size = Vector3.new(1,1,1)
- rightlocation.Transparency = 1
- rightlocationweld = weldBetween(rightlocation,RightArm)
- rightlocationweld.C0 = CFrame.new(0,1.2,0)
- fedora = Instance.new("Part",Character)
- fedora.Size = Vector3.new(2,2,2)
- fedora.CFrame = Head.CFrame
- fedora.CanCollide = false
- fedoraweld = Instance.new("Weld",fedora)
- fedoraweld.Part0 = fedora
- fedoraweld.Part1 = Head
- fedoraweld.C0 = fedora.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.75,0)
- mfedora = Instance.new("SpecialMesh", fedora)
- mfedora.MeshType = "FileMesh"
- mfedora.Scale = Vector3.new(.97, .97, .97)
- mfedora.MeshId,mfedora.TextureId = 'http://www.roblox.com/asset/?id=0','http://www.roblox.com/asset/?id=0'
- shades = Instance.new("Part",Character)
- shades.Size = Vector3.new(2,2,2)
- shades.CFrame = Head.CFrame
- shades.CanCollide = false
- shadesweld = Instance.new("Weld",shades)
- shadesweld.Part0 = shades
- shadesweld.Part1 = Head
- shadesweld.C0 = shades.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.2,.15)
- mshades = Instance.new("SpecialMesh", shades)
- mshades.MeshType = "FileMesh"
- mshades.Scale = Vector3.new(1.04, 1.28, 1.04)
- mshades.MeshId,mshades.TextureId = 'http://www.roblox.com/asset/?id=0','http://www.roblox.com/asset/?id=0'
- for i,v in pairs(Character:GetChildren()) do
- if v.ClassName == "Hat" or v.ClassName == "CharacterMesh" or v.ClassName == "Shirt Graphic" then
- v:Remove()
- end
- end
- coroutine.wrap(function()
- while wait() do
- Head.face.Texture = "rbxasset://textures/face.png"
- hum.WalkSpeed = ws
- LeftArm.BrickColor = BrickColor.new("Really black")
- RightArm.BrickColor = BrickColor.new("Really black")
- Head.BrickColor = BrickColor.new("White")
- Torso.BrickColor = BrickColor.new("Really black")
- LeftLeg.BrickColor = BrickColor.new("Really black")
- RightLeg.BrickColor = BrickColor.new("Really black")
- end
- end)()
- godmode = coroutine.wrap(function()
- for i,v in pairs(Character:GetChildren()) do
- if v:IsA("BasePart") and v ~= Root then
- v.Anchored = false
- end
- end
- while true do
- hum.MaxHealth = math.huge
- wait(0.0000001)
- hum.Health = math.huge
- wait()
- end
- end)
- godmode()
- ff = Instance.new("ForceField", Character)
- ff.Visible = false
- coroutine.wrap(function()
- for i,v in pairs(Character:GetChildren()) do
- if v.Name == "Animate" then v:Remove()
- end
- end
- end)()
- function damagealll(Radius,Position)
- local Returning = {}
- for _,v in pairs(workspace:GetChildren()) do
- if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
- if v:FindFirstChild("Torso") then
- local Mag = (v.Torso.Position - Position).magnitude
- if Mag < Radius then
- table.insert(Returning,v)
- end
- elseif v:FindFirstChild("UpperTorso") then
- local Mag = (v.UpperTorso.Position - Position).magnitude
- if Mag < Radius then
- table.insert(Returning,v)
- end
- end
- end
- end
- return Returning
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- game:service("RunService").Stepped:wait(0)
- else
- for i = 0, num do
- game:service("RunService").Stepped:wait(0)
- end
- end
- end
- for _,n in pairs(Character:GetChildren()) do
- if n:IsA("Accessory") then n:Remove() end
- end
- for _,x in pairs(Character:GetChildren()) do
- if x:IsA("Decal") then x:Remove() end
- end
- intro = true
- ws = 0
- bigfedora = Instance.new("Part",Character)
- bigfedora.Size = Vector3.new(2,2,2)
- 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)
- bigfedora.CanCollide = false
- bigfedora.Anchored = true
- bigfedora.Name = "mbigf"
- mbigfedora = Instance.new("SpecialMesh", bigfedora)
- mbigfedora.MeshType = "FileMesh"
- mbigfedora.Scale = Vector3.new(6, 7, 7)
- mbigfedora.MeshId,mbigfedora.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395'
- for i,v in pairs(Character:GetDescendants()) do
- if v:IsA("Part") and v.Name ~= "mbigf" then v.Transparency = 1
- end
- end
- for i = 1, 60 do
- 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)
- swait()
- end
- wait(.25)
- for i,v in pairs(Character:GetDescendants()) do
- if v:IsA("Part") and v.Name ~= "mbigf" and v.Name ~= "HumanoidRootPart" then v.Transparency = 0
- end
- end
- for i = 1, 50 do
- bigfedora.CFrame = bigfedora.CFrame:lerp(CFrame.new(fedora.Position),.05)
- swait()
- end
- zmc = 0
- for i = 1, 29 do
- zmc = zmc + 2
- mbigfedora.Scale = mbigfedora.Scale - Vector3.new(.25,.25,.25)
- bigfedora.CFrame = bigfedora.CFrame * CFrame.Angles(math.rad(0),math.rad(zmc),0)
- swait()
- end
- bigfedora:Remove()
- ws = 14
- function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
- so = Instance.new("Sound")
- so.Parent = PARENT
- so.SoundId = "rbxassetid://"..ID
- so.Volume = VOL
- so.Looped = LOOP
- so:Play()
- removeuseless:AddItem(so,REMOVE)
- end
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='z' then
- if debounce then return end
- if notallowedtransform then return end
- debounce = true
- if levitate then
- levitate = false
- mjester.VertexColor = Vector3.new(1, 1, 1)
- glow.Transparency = 1
- blastwave = Instance.new("Part",Torso)
- blastwave.CFrame = Torso.CFrame
- blastwave.Anchored = true
- blastwave.Material = "Neon"
- blastwave.CanCollide = false
- blastwave.Shape = "Ball"
- blastwave.Size = Vector3.new(3,3,3)
- coroutine.wrap(function()
- for i = 1, 20 do
- levitatewave.Transparency = levitatewave.Transparency + 0.05
- levitatewave2.Transparency = levitatewave2.Transparency + 0.05
- blastwave.Size = blastwave.Size + Vector3.new(2,2,2)
- blastwave.Transparency = blastwave.Transparency + 0.05
- swait()
- end
- blastwave:Remove()
- levitatewave2:Remove()
- levitatewave:Remove()
- end)()
- ws = 10
- notallowedtransform = true
- attacking = true
- coroutine.wrap(function()
- for i = 1, 10 do
- for i,v in pairs(LeftArm:GetChildren()) do if v.Name == lmagic.Name then
- v.Transparency = v.Transparency + 0.1
- end
- end
- for i,v in pairs(RightArm:GetChildren()) do if v.Name == rmagic.Name then
- v.Transparency = v.Transparency + 0.1
- end
- end
- wait()
- end
- end)()
- jesterWeld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- wait(0.000001)
- jesterWeld.C0 = jester.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
- mjester.Scale = Vector3.new(1.1, 1.1, 1.1)
- mjester.MeshId,mjester.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395'
- mMask.Scale = Vector3.new(0.13, 0.13, 0.1)
- mMask.MeshId,mMask.TextureId = 'http://www.roblox.com/asset/?id=5158270','http://www.roblox.com/asset/?id=9543585'
- maskweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
- wait(0.000001)
- maskweld.C0 = CFrame.new(0,-.555,0) * CFrame.Angles(math.rad(90),0,0)
- eyo1 = Instance.new("Part",Head)
- eyo1.BrickColor = BrickColor.new("White")
- eyo1.Material = "Neon"
- eyo1.Shape = "Ball"
- eyo1.Name = "eyo1"
- eyo1.CanCollide = false
- eyo1.Size = Vector3.new(0.33, 0.33, 0.33)
- eyo1weld = weldBetween(eyo1,Head)
- eyo1weld.C0 = CFrame.new(.215,-.05,.52)
- light = Instance.new("PointLight", eyo1)
- light.Color = Color3.new(1,1,1)
- light.Range = 3
- light.Brightness = 4
- light.Enabled = true
- eyo2 = Instance.new("Part",Head)
- eyo2.BrickColor = BrickColor.new("White")
- eyo2.Material = "Neon"
- eyo2.Shape = "Ball"
- eyo2.Name = "eyo2"
- eyo2.CanCollide = false
- eyo2.Size = Vector3.new(0.33, 0.33, 0.33)
- eyo2weld = weldBetween(eyo2,Head)
- eyo2weld.C0 = CFrame.new(-.215,-.05,.52)
- light2 = Instance.new("PointLight", eyo2)
- light2.Color = Color3.new(1,1,1)
- light2.Range = 3
- light2.Brightness = 4
- light2.Enabled = true
- Character.Shirt.ShirtTemplate = "rbxassetid://676428254"
- Character.Pants.PantsTemplate = "rbxassetid://676428351"
- hum.HipHeight = 0
- ws = 10
- debounce = false
- attacking = false
- coroutine.wrap(function()
- wait(3)
- notallowedtransform = false
- end)()
- else
- ws = 50
- notallowedtransform = true
- levitate = true
- ws = 50
- glow.Transparency = 0
- eyo1:Remove()
- eyo2:Remove()
- coroutine.wrap(function()
- while levitate do
- for i,v in pairs(Head:GetChildren()) do
- if v.Name == "eyo1" or v.Name == "eyo2" then
- v:Remove()
- end
- end
- wait()
- end
- end)()
- mnb = 0
- levitatewave = Instance.new("Part", Torso)
- levitatewave.Size = Vector3.new(1,1,1)
- levitatewave.CanCollide = false
- levitatewave.Anchored = true
- levitatewave.Transparency = .5
- levitatewave.BrickColor = BrickColor.new("Really black")
- levitatewave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
- levitatewavemesh = Instance.new("SpecialMesh", levitatewave)
- levitatewavemesh.Scale = Vector3.new(2.5,.3,2.5)
- levitatewavemesh.MeshId = "rbxassetid://20329976"
- levitatewave2 = Instance.new("Part", Torso)
- levitatewave2.Size = Vector3.new(1,1,1)
- levitatewave2.CanCollide = false
- levitatewave2.Anchored = true
- levitatewave2.Transparency = .5
- levitatewave2.BrickColor = BrickColor.new("Really red")
- levitatewave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
- levitatewavemesh2 = Instance.new("SpecialMesh", levitatewave2)
- levitatewavemesh2.Scale = Vector3.new(2,.4,2)
- levitatewavemesh2.MeshId = "rbxassetid://20329976"
- blastwave = Instance.new("Part",Torso)
- blastwave.CFrame = Torso.CFrame
- blastwave.Anchored = true
- blastwave.Material = "Neon"
- blastwave.CanCollide = false
- blastwave.Shape = "Ball"
- blastwave.Size = Vector3.new(3,3,3)
- coroutine.wrap(function()
- for i = 1, 20 do
- blastwave.Size = blastwave.Size + Vector3.new(2,2,2)
- blastwave.Transparency = blastwave.Transparency + 0.05
- swait()
- end
- blastwave:Remove()
- end)()
- coroutine.wrap(function()
- while levitate do
- mnb = mnb + 15
- levitatewave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-6 + .5 * math.sin(sine/9),0) * CFrame.Angles(0,math.rad(mnb),0)
- levitatewave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-6 + .5 * math.sin(sine/9),0) * CFrame.Angles(0,math.rad(mnb),0)
- colors = colortable[math.random(1,#colortable)]
- lmagic = Instance.new("Part",LeftArm)
- lmagic.Material = "Neon"
- lmagic.CanCollide = false
- lmagic.Anchored = true
- lmagic.BrickColor = BrickColor.new(colors)
- lmagic.Size = Vector3.new(1,1,1)
- lmagic.CFrame = leftlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- removeuseless:AddItem(lmagic,2)
- rmagic = Instance.new("Part",RightArm)
- rmagic.Material = "Neon"
- rmagic.CanCollide = false
- rmagic.Anchored = true
- rmagic.BrickColor = BrickColor.new(colors)
- rmagic.Size = Vector3.new(1,1,1)
- rmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- removeuseless:AddItem(rmagic,2)
- for i,v in pairs(LeftArm:GetChildren()) do if v.Name == lmagic.Name then
- v.Transparency = v.Transparency + 0.05
- end
- end
- for i,v in pairs(RightArm:GetChildren()) do if v.Name == rmagic.Name then
- v.Transparency = v.Transparency + 0.05
- end
- end
- swait()
- end
- end)()
- framee = Instance.new("Frame")
- framee.Parent = screenGui
- framee.Position = UDim2.new(0, 8, 0, -500)
- framee.Size = UDim2.new(100000000,10000000,10000000,10000000)
- framee.BackgroundColor3 = BrickColor.new("White").Color
- framee.BackgroundTransparency = 0
- coroutine.wrap(function()
- wait(.2)
- for i = 1, 40 do
- hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-0,0))
- framee.BackgroundTransparency = framee.BackgroundTransparency + 0.025
- swait()
- end
- hum.CameraOffset = Vector3.new(0,0,0)
- framee:Remove()
- end)()
- jesterWeld.C0 = jesterWeld.C0 * CFrame.new(.3,-.3,0) * CFrame.Angles(math.rad(0),math.rad(-90),0)
- mjester.MeshId = "rbxassetid://193760002"
- mjester.TextureId = "rbxassetid://379225327"
- mjester.VertexColor = Vector3.new(1, 0, 0)
- Character.Shirt.ShirtTemplate = "rbxassetid://238537827"
- Character.Pants.PantsTemplate = "rbxassetid://486031443"
- maskweld.C0 = maskweld.C0 * CFrame.new(0,.55,-.5) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))
- mMask.MeshId = "rbxassetid://13520257"
- mMask.Scale = Vector3.new(1.1, 1, 1)
- mMask.TextureId = "rbxassetid://13520260"
- eyo1:Remove()
- eyo2:Remove()
- coroutine.wrap(function()
- while levitate do
- hum.HipHeight = 3 - .5 * math.sin(sine/9)
- swait()
- end
- end)()
- attacking = false
- debounce = false
- coroutine.wrap(function()
- wait(3)
- notallowedtransform = false
- end)()
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='k' then
- if dancing then
- dancing = false
- else
- dancing = true
- ws = 0
- change = .5
- attacking = true
- jam = Instance.new("Sound",Torso)
- jam.SoundId = "rbxassetid://665751753"
- jam.Volume = 8
- jam.Looped = true
- jam.TimePosition = 22.3
- jam:Play()
- lol90 = 0
- coroutine.wrap(function()
- while dancing do
- lol90 = lol90 + 11
- 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)
- ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0 * math.sin(sine/14),0,0) * CFrame.Angles(math.rad(0),math.rad(lol90),0),.25)
- 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)
- 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)
- 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)
- 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)
- swait()
- end
- ws = 14
- jam:Remove()
- ROOTLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
- attacking = false
- end)()
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='j' then
- if dancing then
- dancing = false
- else
- dancing = true
- ws = 3
- change = .5
- attacking = true
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- herecomesthemoney = Instance.new("Sound",Torso)
- herecomesthemoney.Pitch = 0.97
- herecomesthemoney.SoundId = "rbxassetid://322621962"
- herecomesthemoney.Volume = 8
- herecomesthemoney.Looped = true
- herecomesthemoney:Play()
- robuxpile = Instance.new("Part",Torso)
- robuxpile.Size = Vector3.new(1,1,1)
- robuxpile.CFrame = LeftArm.CFrame
- robuxpile.CanCollide = false
- robuxpileweld = Instance.new("Weld",robuxpile)
- robuxpileweld.Part0 = robuxpile
- robuxpileweld.Part1 = Torso
- robuxpileweld.C0 = robuxpile.CFrame:inverse() * LeftArm.CFrame * CFrame.new(1,-.7,1.4)
- mrobuxpile = Instance.new("SpecialMesh", robuxpile)
- mrobuxpile.MeshType = "FileMesh"
- mrobuxpile.Scale = Vector3.new(0.85, .85, .85)
- mrobuxpile.MeshId,mrobuxpile.TextureId = 'http://www.roblox.com/asset/?id=9419831','http://www.roblox.com/asset/?id=9419827'
- coroutine.wrap(function()
- coroutine.wrap(function()
- while wait(.35) do
- if not dancing then break end
- local robux = Instance.new("Part",Torso)
- robux.CFrame = robuxpile.CFrame * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
- robux.Anchored = false
- robux.CanCollide = true
- robux.Size = Vector3.new(1,1,1)
- removeuseless:AddItem(robux,4)
- mrobux = Instance.new("SpecialMesh", robux)
- mrobux.MeshType = "FileMesh"
- mrobux.Scale = Vector3.new(1.25, 1.25, 1.25)
- mrobux.MeshId,mrobux.TextureId = 'http://www.roblox.com/asset/?id=9419831','http://www.roblox.com/asset/?id=9419827'
- bov = Instance.new("BodyVelocity",robux)
- bov.maxForce = Vector3.new(99999,99999,99999)
- robux.CFrame = CFrame.new(robux.Position,mouse.Hit.p)
- bov.velocity = robux.CFrame.lookVector*45
- removeuseless:AddItem(bov,.1)
- end
- end)()
- while dancing do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
- 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)
- 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)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,.5,.5) * CFrame.Angles(math.rad(-87),math.rad(-20),math.rad(0)), 0.25)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , .5) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.25)
- 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)
- swait()
- end
- ws = 14
- removeuseless:AddItem(g1,.001)
- robuxpile:Remove()
- attacking = false
- end)()
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='c' then
- if debounce == true then return end
- debounce = true
- walking = false
- attacking = true
- fpg = false
- gpf = true
- for i = 1, 5 do
- HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.6)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.6)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
- wait()
- end
- wind = Instance.new("Part", Torso)
- wind.BrickColor = BrickColor.new("Crimson")
- wind.Size = Vector3.new(5,5,5)
- wind.CanCollide = false
- wind.Transparency = 1
- wind.Material = "Neon"
- windmesh = Instance.new("SpecialMesh", wind)
- windmesh.Scale = Vector3.new(2,2,2)
- windmesh.MeshId = "rbxassetid://168892432"
- windweld = weldBetween(wind, Torso)
- wind2 = Instance.new("Part", Torso)
- wind2.BrickColor = BrickColor.new("Crimson")
- wind2.Size = Vector3.new(5,5,5)
- wind2.CanCollide = false
- wind2.Transparency = 1
- wind2.Material = "Neon"
- windmesh2 = Instance.new("SpecialMesh", wind2)
- windmesh2.Scale = Vector3.new(4,4,4)
- windmesh2.MeshId = "rbxassetid://168892432"
- windweld2 = weldBetween(wind2, wind)
- quickcourou = coroutine.wrap(function()
- m = 1
- for i = 1, 5 do
- wind.Transparency = wind.Transparency - 0.1
- wind2.Transparency = wind2.Transparency - 0.04
- wait()
- end
- end)
- quickcourou()
- eORBleft = Instance.new("Part", Torso)
- eORBleft.Size = Vector3.new(1, 1, 1)
- eORBleft.Transparency = 0
- eORBleft.Shape = 0
- eORBleft.BrickColor = BrickColor.New("Really red")
- eORBleft.Material = "Neon"
- eORBleft.Anchored = false
- eORBleft.CanCollide = false
- eORBleft.CFrame = Root.CFrame * CFrame.new(4,0,0)
- eorbweld1 = weldBetween(eORBleft, LeftArm)
- eorbweld1.C0 = CFrame.new(0,1.3,0)
- eORBright = Instance.new("Part", Torso)
- eORBright.Size = Vector3.new(1, 1, 1)
- eORBright.Transparency = 0
- eORBright.Shape = 0
- eORBright.BrickColor = BrickColor.New("Really red")
- eORBright.Material = "Neon"
- eORBright.Anchored = false
- eORBright.CanCollide = false
- eORBright.CFrame = Root.CFrame * CFrame.new(4,0,0)
- eorbweld2 = weldBetween(eORBright, RightArm)
- eorbweld2.C0 = CFrame.new(0,1.3,0)
- hev = Instance.new("Part", Torso)
- hev.Size = Vector3.new(15, 15, 15)
- hev.Transparency = 0
- hev.Shape = 0
- hev.BrickColor = BrickColor.New("Really red")
- hev.Material = "Neon"
- hev.Anchored = true
- hev.CanCollide = false
- hev2 = Instance.new("Part", Torso)
- hev2.Size = Vector3.new(15, 15, 15)
- hev2.Transparency = 0
- hev2.Shape = 0
- hev2.BrickColor = BrickColor.New("Really red")
- hev2.Material = "Neon"
- hev2.Anchored = true
- hev2.CanCollide = false
- quickcour2 = coroutine.wrap(function()
- while gpf do
- local Hit = damagealll(8,Torso.Position)
- for _,v in pairs(Hit) do
- local velo2 = Instance.new("BodyVelocity", v)
- velo2.MaxForce = Vector3.new(999999, 999999, 999999)
- velo2.Velocity = v.Torso.CFrame.lookVector * 200
- removeuseless:AddItem(velo2,2)
- v.Humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
- v.Humanoid:TakeDamage(10)
- wait(.5)
- end
- wait()
- end
- end)
- quickcour2()
- quickcour = coroutine.wrap(function()
- removeuseless:AddItem(hev,2)
- removeuseless:AddItem(hev2,2)
- for i = 1, 50 do
- hev.Size = hev.Size - Vector3.new(1,1,1)
- hev2.Size = hev2.Size - Vector3.new(1,1,1)
- hev.CFrame = eORBleft.CFrame
- hev2.CFrame = eORBright.CFrame
- wait()
- end
- end)
- quickcour()
- particlemiter1 = Instance.new("ParticleEmitter", eORBleft)
- particlemiter1.Enabled = true
- particlemiter1.Texture = "rbxassetid://1415728949"
- particlemiter1.Lifetime = NumberRange.new(2.5)
- particlemiter1.Size = NumberSequence.new(1,0)
- particlemiter1.Rate = 20
- particlemiter1.RotSpeed = NumberRange.new(70)
- particlemiter1.Speed = NumberRange.new(0)
- particlemiter2 = Instance.new("ParticleEmitter", eORBright)
- particlemiter2.Enabled = true
- particlemiter2.Texture = "rbxassetid://1415728949"
- particlemiter2.Lifetime = NumberRange.new(2.5)
- particlemiter2.Size = NumberSequence.new(1,0)
- particlemiter2.Rate = 20
- particlemiter2.RotSpeed = NumberRange.new(70)
- particlemiter2.Speed = NumberRange.new(0)
- t = 1
- for i = 1, 5 do
- t = t + 1
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
- wait()
- end
- sound = Instance.new("Sound", Torso)
- sound.SoundId = "rbxassetid://730531499"
- sound.Volume = 3
- sound.Pitch = math.random(.8,1)
- sound:Play()
- for i = 1, 5 do
- hum.WalkSpeed = 15
- t = t + 2
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
- wait()
- end
- sound2 = Instance.new("Sound", Torso)
- sound2.SoundId = "rbxassetid://93186995"
- sound2.Volume = 3
- sound2.Pitch = math.random(.8,1)
- sound2:Play()
- for i = 1, 5 do
- hum.WalkSpeed = 16
- t = t + 3
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
- wait()
- end
- sound3 = Instance.new("Sound", Torso)
- sound3.SoundId = "rbxassetid://178090362"
- sound3.Volume = 3
- sound3.Pitch = math.random(.8,1)
- sound3:Play()
- for i = 1, 5 do
- hum.WalkSpeed = 18
- t = t + 4
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
- wait()
- end
- sound4 = Instance.new("Sound", Torso)
- sound4.SoundId = "rbxassetid://152091992"
- sound4.Volume = 3
- sound4.Pitch = 1
- sound4.Looped = true
- sound4:Play()
- for i = 1, 5 do
- hum.WalkSpeed = 20
- t = t + 5
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
- wait()
- end
- for i = 1, 5 do
- hum.WalkSpeed = 25
- t = t + 10
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
- wait()
- end
- for i = 1, 5 do
- hum.WalkSpeed = 30
- t = t + 20
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
- wait()
- end
- for i = 1, 5 do
- hum.WalkSpeed = 35
- t = t + 30
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
- wait()
- end
- for i = 1, 150 do
- hum.WalkSpeed = 40
- t = t + 40
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .4, 0) * CFrame.Angles(math.rad(0), math.rad(t), math.rad(0)), 0.6)
- wait()
- end
- fpg = true
- gpf = false
- removeuseless:AddItem(sound4,5)
- removeuseless:AddItem(eORBright,1)
- removeuseless:AddItem(eORBleft,1)
- removeuseless:AddItem(wind,1)
- removeuseless:AddItem(wind2,1)
- attacking = false
- debounce = false
- quikcour = coroutine.wrap(function()
- while fpg do
- wind.Transparency = wind.Transparency + 0.06
- wind2.Transparency = wind2.Transparency + .06
- eORBright.Size = eORBright.Size + Vector3.new(1,1,1)
- eORBright.Transparency = eORBright.Transparency + 0.07
- eORBleft.Size = eORBleft.Size + Vector3.new(1,1,1)
- eORBleft.Transparency = eORBleft.Transparency + 0.07
- sound4.Volume = sound4.Volume - 0.05
- eORBright.Anchored = true
- eORBleft.Anchored = true
- wait()
- end
- end)
- quikcour()
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='h' then
- if dancing then
- dancing = false
- else
- dancing = true
- ws = 0
- change = .5
- attacking = true
- jellyfishjam = Instance.new("Sound",Torso)
- jellyfishjam.SoundId = "rbxassetid://840189092"
- jellyfishjam.Volume = 8
- jellyfishjam.Looped = true
- jellyfishjam.TimePosition = 14.8
- jellyfishjam:Play()
- coroutine.wrap(function()
- while dancing do
- for i = 1, 15 do
- if not dancing then break end
- 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)
- 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)
- 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)
- 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)
- 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)
- swait()
- end
- for i = 1, 15 do
- if not dancing then break end
- 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)
- 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)
- 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)
- 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)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.25)
- swait()
- end
- for i = 1, 15 do
- if not dancing then break end
- 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)
- 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)
- 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)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.25)
- 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)
- swait()
- end
- for i = 1, 15 do
- if not dancing then break end
- 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)
- 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)
- 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)
- 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)
- 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)
- swait()
- end
- swait()
- end
- ws = 14
- attacking = false
- end)()
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='g' then
- if dancing then
- dancing = false
- else
- dancing = true
- ws = 0
- change = .5
- attacking = true
- deadmau7 = Instance.new("Sound",Torso)
- deadmau7.SoundId = "rbxassetid://168166611"
- deadmau7.Volume = 8
- deadmau7.Looped = true
- deadmau7:Play()
- coroutine.wrap(function()
- coroutine.wrap(function()
- while dancing do
- 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)
- swait()
- end
- end)()
- while dancing do
- for i = 1, 28 do
- if not dancing then break end
- 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)
- 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)
- 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)
- 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)
- swait()
- end
- for i = 1, 28 do
- if not dancing then break end
- 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)
- 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)
- 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)
- 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)
- swait()
- end
- swait()
- end
- ws = 14
- deadmau7:Remove()
- attacking = false
- end)()
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='f' then
- if dancing then
- dancing = false
- else
- dancing = true
- ws = 6
- change = .5
- attacking = true
- bennyhill = Instance.new("Sound",Torso)
- bennyhill.SoundId = "rbxassetid://138211362"
- bennyhill.Volume = 8
- bennyhill.Looped = true
- bennyhill:Play()
- coroutine.wrap(function()
- while dancing do
- 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)
- 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)
- 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)
- 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)
- 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)
- swait()
- end
- ws = 14
- bennyhill:Remove()
- attacking = false
- end)()
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='p' then
- if dancing then
- dancing = false
- else
- dancing = true
- ws = 0
- change = .5
- attacking = true
- barrelspin = 0
- barrelrollsound = Instance.new("Sound",Torso)
- barrelrollsound.SoundId = "rbxassetid://1372037391"
- barrelrollsound.Volume = 8
- barrelrollsound.Looped = true
- barrelrollsound:Play()
- barrol = Instance.new("Part",Torso)
- barrol.Size = Vector3.new(1,1,1)
- barrol.CFrame = Torso.CFrame
- barrol.CanCollide = false
- barrolweld = Instance.new("Weld",barrol)
- barrolweld.Part0 = barrol
- barrolweld.Part1 = Torso
- barrolweld.C0 = barrol.CFrame:inverse() * Torso.CFrame * CFrame.new(0,0,0)
- mbarrol = Instance.new("SpecialMesh", barrol)
- mbarrol.MeshType = "FileMesh"
- mbarrol.Scale = Vector3.new(3, 3, 3)
- mbarrol.MeshId,mbarrol.TextureId = 'http://www.roblox.com/asset/?id=16646125','http://www.roblox.com/asset/?id=16432575'
- coroutine.wrap(function()
- while dancing do
- 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)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,1.5,0) * CFrame.Angles(math.rad(180),0,math.rad(0)),.25)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,1.5,0) * CFrame.Angles(math.rad(180),0,math.rad(0)),.25)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(0,0,0),.25)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5,2,0) * CFrame.Angles(0,0,0),.25)
- swait()
- end
- ws = 14
- barrol:Remove()
- attacking = false
- end)()
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='q' then
- if dancing then
- dancing = false
- else
- dancing = true
- ws = 0
- change = .5
- spinningmove = 0
- dbwouldlovethis = Instance.new("Sound",Torso)
- dbwouldlovethis.SoundId = "rbxassetid://1532157598"
- dbwouldlovethis.Volume = 8
- dbwouldlovethis.Looped = true
- dbwouldlovethis:Play()
- attacking = true
- coroutine.wrap(function()
- while dancing do
- spinningmove = spinningmove + 10
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.9, -.35) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)),.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.9, .35) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
- 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)
- 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)
- 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)
- swait()
- end
- ws = 14
- dbwouldlovethis:Remove()
- attacking = false
- end)()
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='u' then
- if dancing then
- dancing = false
- else
- dancing = true
- ws = 6
- change = .5
- attacking = true
- slavdance = Instance.new("Sound",Torso)
- slavdance.SoundId = "rbxassetid://2341226836"
- slavdance.Volume = 6
- slavdance.Looped = true
- slavdance:Play()
- coroutine.wrap(function()
- while dancing do
- for i = 1, 17 do
- if not dancing then break end
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
- 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)
- 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)
- 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)
- swait()
- end
- for i = 1, 17 do
- if not dancing then break end
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.2, .55) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)),.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.5, -.5) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)),.2)
- 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)
- 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)
- 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)
- swait()
- end
- swait()
- end
- ws = 14
- slavdance:Remove()
- attacking = false
- end)()
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='y' then
- if dancing then
- dancing = false
- else
- dancing = true
- ws = 0
- change = .5
- walkforward = 0
- walkrotation = 0
- attacking = true
- truelegend = Instance.new("Sound",Torso)
- truelegend.SoundId = "rbxassetid://487872908"
- truelegend.TimePosition = 13.98
- truelegend.Volume = 8
- truelegend.Looped = true
- truelegend:Play()
- coroutine.wrap(function()
- while dancing do
- for i = 1, 100 do
- if not dancing then break end
- walkforward = walkforward + .1
- 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)
- 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)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
- swait()
- end
- for i = 1, 50 do
- if not dancing then break end
- walkrotation = walkrotation + 15
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
- swait()
- end
- walkrotation = 0
- for i = 1, 100 do
- if not dancing then break end
- walkforward = walkforward - .1
- 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)
- 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)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(-180),math.rad(-0)),.2)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,.7,.2) * CFrame.Angles(math.rad(220),math.rad(0),math.rad(-30)), 0.4)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.3)
- swait()
- end
- for i = 1, 50 do
- if not dancing then break end
- walkrotation = walkrotation + 15
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(0,0,math.rad(0)),.1)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, walkforward) * CFrame.Angles(math.rad(0),math.rad(walkrotation),math.rad(-0)),.2)
- swait()
- end
- walkrotation = 0
- swait()
- end
- ws = 14
- truelegend:Remove()
- attacking = false
- end)()
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='t' then
- if dancing then
- dancing = false
- else
- dancing = true
- ws = 0
- change = .5
- attacking = true
- plummusic = Instance.new("Sound",Torso)
- plummusic.Volume = 8
- plummusic.Looped = true
- plummusic.SoundId = "rbxassetid://2526093213"
- plummusic:Play()
- coroutine.wrap(function()
- while dancing do
- for i = 1, 20 do
- if not dancing then break end
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.33, 2 , .05) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-8)), 0.2)
- 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)
- 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)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,1.98,.05) * CFrame.Angles(0,0,math.rad(-140)),.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,1.3,.05) * CFrame.Angles(0,0,math.rad(50)),.2)
- swait()
- end
- for i = 1, 20 do
- if not dancing then break end
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.33, 2, .05) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(-8)), 0.2)
- 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)
- 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)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,1.4,.05) * CFrame.Angles(0,0,math.rad(-50)),.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-.6,2,.05) * CFrame.Angles(0,0,math.rad(140)),.2)
- swait()
- end
- swait()
- end
- ws = 14
- plummusic:Remove()
- attacking = false
- end)()
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='e' then
- if dancing then
- dancing = false
- else
- dancing = true
- ws = 0
- change = .5
- attacking = true
- mrozo = Instance.new("Sound",Torso)
- mrozo.Volume = 8
- mrozo.SoundId = "rbxassetid://335701357"
- mrozo.Looped = true
- mrozo.TimePosition = 10
- mrozo:Play()
- coroutine.wrap(function()
- while dancing do
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.1)
- 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)
- 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)
- 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)
- swait()
- end
- mrozo:Remove()
- ws = 14
- attacking = false
- end)()
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='v' then
- if not levitate then return end
- if debounce then return end
- debounce = true
- charging = true
- attacking = true
- downpress = false
- x = 1
- ws = 0
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- SOUND(RightArm,2014087015,8,false,3)
- coroutine.wrap(function()
- Charge = Instance.new("Sound",RightArm)
- Charge.SoundId = "rbxassetid://101153932"
- Charge.Looped = false
- Charge.Volume = 8
- Charge:Play()
- end)()
- appi = true
- coroutine.wrap(function()
- while appi do
- swait()
- if Root.Velocity.Magnitude < 2 and attacking == true then
- position = "Idle3"
- end
- end
- end)()
- coroutine.wrap(function()
- while appi do
- swait()
- settime = 0.05
- sine = sine + change
- if position == "Idle3" and attacking == true and appi == true then
- change = .4
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
- LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- 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)
- 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)
- 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)
- end
- end
- end)()
- for i = 1, 15 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
- swait()
- end
- for i = 1, 3 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
- x = x + .1
- blastborb = Instance.new("Part",Torso)
- blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- blastborb.BrickColor = BrickColor.new(colors)
- blastborb.Anchored = true
- blastborb.Size = Vector3.new(10,10,10)
- blastborb.CanCollide = false
- blastborb.Material = "Neon"
- for i = 1, 5 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
- blastborb.Size = blastborb.Size - Vector3.new(1,1,1)
- swait()
- end
- blastborb:Remove()
- swait()
- end
- downpress = true
- while charging and x < 5 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
- x = x + .1
- blastborb = Instance.new("Part",Torso)
- blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- blastborb.BrickColor = BrickColor.new(colors)
- blastborb.Anchored = true
- blastborb.Size = Vector3.new(10,10,10)
- blastborb.CanCollide = false
- blastborb.Material = "Neon"
- for i = 1, 5 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
- blastborb.Size = blastborb.Size - Vector3.new(1,1,1)
- swait()
- end
- blastborb:Remove()
- swait()
- end
- coroutine.wrap(function()
- for i = 1, 20 do
- Charge.Volume = Charge.Volume - .5
- swait()
- end
- end)()
- local bigswoosh = Instance.new("Part",Torso)
- bigswoosh.Name = "bigswoosh"
- bigswoosh.CFrame = Root.CFrame * CFrame.new(1,0,-5)
- bigswoosh.Size = Vector3.new(1,1,1)
- bigswoosh.Material = "Neon"
- bigswoosh.Anchored = true
- bigswoosh.Transparency = 1
- bigswoosh.BrickColor = BrickColor.new("Really red")
- bigswoosh.CanCollide = false
- SOUND(bigswoosh,842332424,10,false,6)
- SOUND(bigswoosh,2017948224,10,false,6)
- SOUND(bigswoosh,138677306,10,false,4)
- coroutine.wrap(function()
- local loc1 = Instance.new("Part",bigswoosh)
- loc1.CFrame = bigswoosh.CFrame * CFrame.new(-3,0,0)
- loc1.Size = Vector3.new(2,2,2)
- loc1.Anchored = true
- loc1.Transparency = 1
- loc1.CanCollide = false
- local loc2 = Instance.new("Part",bigswoosh)
- loc2.CFrame = bigswoosh.CFrame * CFrame.new(3,0,0)
- loc2.Size = Vector3.new(2,2,2)
- loc2.Anchored = true
- loc2.Transparency = 1
- loc2.CanCollide = false
- n = 0
- nb = 0
- for i = 1, 125 do
- n = n + x
- nb = nb - x
- Hit = damagealll(n,bigswoosh.Position)
- for _,v in pairs(Hit) do
- if x > 4.5 then
- v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
- else
- v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(4+x,10+x))
- end
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(bigswoosh.Position,torso.Position).lookVector*150
- removeuseless:AddItem(vel,.1)
- end
- local bigtrail = Instance.new("Part",LeftArm)
- bigtrail.Size = bigswoosh.Size
- bigtrail.BrickColor = BrickColor.new(colors)
- bigtrail.Anchored = true
- bigtrail.Material = "Neon"
- bigtrail.CFrame = bigswoosh.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- bigtrail.CanCollide = false
- removeuseless:AddItem(bigtrail,2)
- local irritatedground = Instance.new("Part",Torso)
- irritatedground.Size = Vector3.new(n*1.5,1,3*x)
- irritatedground.BrickColor = BrickColor.new(colors)
- irritatedground.Material = "Neon"
- irritatedground.CFrame = bigswoosh.CFrame * CFrame.new(0,-6,0)
- irritatedground.CanCollide = false
- irritatedground.Anchored = true
- removeuseless:AddItem(irritatedground,10)
- local grassblocks = Instance.new("Part",Torso)
- grassblocks.Size = Vector3.new(n/2,n/2,n/2)
- grassblocks.Material = "Grass"
- grassblocks.Anchored = true
- grassblocks.Name = "grassblocks"
- grassblocks.BrickColor = BrickColor.new("Bright green")
- 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)))
- removeuseless:AddItem(grassblocks,10)
- local grassblocks2 = Instance.new("Part",Torso)
- grassblocks2.Size = Vector3.new(n/2,n/2,n/2)
- grassblocks2.Material = "Grass"
- grassblocks2.Anchored = true
- grassblocks2.Name = "grassblocks2"
- grassblocks2.BrickColor = BrickColor.new("Bright green")
- 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)))
- removeuseless:AddItem(grassblocks2,10)
- bigswoosh.Size = bigswoosh.Size + Vector3.new(x,x,x)
- loc1.CFrame = bigswoosh.CFrame * CFrame.new(n,-3,0)
- loc2.CFrame = bigswoosh.CFrame * CFrame.new(nb,-3,0)
- bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3 - x)
- swait()
- end
- for i = 1, 20 do
- bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3)
- bigswoosh.Transparency = bigswoosh.Transparency + 0.05
- swait()
- end
- bigswoosh:Remove()
- end)()
- for i = 1, 50 do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
- swait()
- end
- ws = 50
- attacking = false
- debounce = false
- appi = false
- g1:Remove()
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='r' then
- if dancing then
- dancing = false
- else
- ws = 6
- recordbaby = 0
- dancing = true
- change = .5
- attacking = true
- spinme = Instance.new("Sound",Torso)
- spinme.Volume = 8
- spinme.SoundId = "rbxassetid://145799973"
- spinme.Looped = true
- spinme:Play()
- coroutine.wrap(function()
- while dancing do
- recordbaby = recordbaby + 10
- 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)
- 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)
- 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)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5,1.98,0) * CFrame.Angles(0,0,math.rad(-90)),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5,1.98,0) * CFrame.Angles(0,0,math.rad(90)),.3)
- swait()
- end
- spinme:Remove()
- ws = 14
- attacking = false
- end)()
- end
- end
- end)
- function ray(pos, dir, rang, ignoredesc)
- return workspace:FindPartOnRay(Ray.new(pos, dir.unit * rang), ignoredesc)
- end
- function ray2(startpos, endpos, distance, ignore)
- local dir = CFrame.new(startpos,endpos).lookVector
- return ray(startpos, dir, distance, ignore)
- end
- checks1 = coroutine.wrap(function() -------Checks
- while true do
- hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,3*3,Character)
- if Root.Velocity.y > 1 then
- position = "Jump"
- elseif Root.Velocity.y < -1 then
- position = "Falling"
- elseif Root.Velocity.Magnitude < 2 then
- position = "Idle"
- elseif Root.Velocity.Magnitude > 2 then
- position = "Walking"
- elseif Root.Velocity.Magnitude > 20 then
- position = "Running"
- else
- end
- wait()
- end
- end)
- checks1()
- function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function ray2(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
- return ray(StartPos, DIRECTION, Distance, Ignore)
- end
- OrgnC0 = Neck.C0
- local movelimbs = coroutine.wrap(function()
- while RunSrv.RenderStepped:wait() do
- TrsoLV = Torso.CFrame.lookVector
- Dist = nil
- Diff = nil
- if not MseGuide then
- print("Failed to recognize")
- else
- local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
- Dist = (Head.CFrame.p-Point).magnitude
- Diff = Head.CFrame.Y-Point.Y
- local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
- Dist2 = (LeftArm.CFrame.p-Point).magnitude
- Diff2 = LeftArm.CFrame.Y-Point.Y
- HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- 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)
- end
- end
- end)
- movelimbs()
- immortal = {}
- for i,v in pairs(Character:GetDescendants()) do
- if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
- 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
- v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
- elseif v:IsA("JointInstance") then
- table.insert(immortal,{v,v.Parent,nil,nil,nil})
- end
- end
- for e = 1, #immortal do
- if immortal[e] ~= nil then
- local STUFF = immortal[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if levitate then
- if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:connect(function()
- PART.Parent = PARENT
- end)
- else
- if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:connect(function()
- PART.Parent = PARENT
- end)
- end
- end
- end
- function immortality()
- for e = 1, #immortal do
- if immortal[e] ~= nil then
- local STUFF = immortal[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if PART.ClassName == "Part" and PART == Root then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- if PART.Parent ~= PARENT then
- hum:Remove()
- PART.Parent = PARENT
- hum = Instance.new("Humanoid",Character)
- hum.Name = "noneofurbusiness"
- end
- end
- end
- end
- coroutine.wrap(function()
- while true do
- if hum.Health < .1 then
- deadsound = Instance.new("Sound", Torso)
- deadsound.Volume = 6
- deadsound.SoundId = "rbxassetid://1411352723"
- deadsound:Play()
- immortality()
- end
- wait()
- end
- end)()
- local anims = coroutine.wrap(function()
- while true do
- settime = 0.05
- sine = sine + change
- if position == "Jump" and attacking == false then
- change = 1
- spin = false
- for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
- 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)
- elseif position == "Falling" and attacking == false then
- change = 1
- spin = false
- for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(-4), math.rad(0)), 0.2)
- 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)
- 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)
- elseif position == "Walking" and attacking == false and running == false then
- change = 1.2
- walking = true
- spin = false
- for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
- 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)
- 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)
- 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)
- 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)
- 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)
- elseif position == "Idle" and attacking == false and running == false then
- change = .5
- spin = true
- for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
- 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)
- 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)
- 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)
- 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)
- 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)
- elseif position == "Running" and attacking == false then
- change = 1
- for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
- 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)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- 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)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
- 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)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
- 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)
- end
- swait()
- end
- end)
- anims()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement