Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------//Suka Blyatster\\-----------
- --Credits to Shackluster for the refit/anti-breakjoints function, he's a cool guy/great scripter and to Supr14 for making Elio script, edit by Reset5017577.--
- --Ayy i'm not dead yet, take that haters, if i even had any to begin with.--
- --Keeping this script small since big ones will cause major lag & exceed script limits--
- --Using a FE converter because i'm way too lazy to create remotes for it--
- 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 = 18
- change = 1
- combo1 = true
- 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")
- 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
- shirt = Instance.new("Shirt", Character)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", Character)
- pants.Name = "Pants"
- Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=419891287"
- Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=80046728"
- LeftArm.BrickColor = BrickColor.new("Bright yellow")
- RightArm.BrickColor = BrickColor.new("Bright yellow")
- Head.BrickColor = BrickColor.new("Bright yellow")
- local char = game.Players.LocalPlayer.Character
- local radio = Instance.new("Part", char)
- radio.Name = "Radio"
- local mesh = Instance.new("FileMesh", radio)
- mesh.MeshId = "http://www.roblox.com/asset/?id=212302951"
- mesh.TextureId = "http://www.roblox.com/asset/?id=212303049"
- mesh.Scale = Vector3.new(4, 4, 4)
- mesh.VertexColor = Vector3.new(1, 1, 1)
- mesh.Offset = Vector3.new(0, 0, 0)
- local function weldBetween(a, b)
- local weld = Instance.new("ManualWeld")
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = CFrame.new()
- weld.C1 = b.CFrame:inverse() * a.CFrame
- weld.Parent = a
- return weld;
- end
- local hand = radio:clone()
- hand.Parent=char
- hand.CFrame=char:WaitForChild("Torso").CFrame*CFrame.new(Vector3.new(0,0,0.9))*CFrame.Angles(0,math.rad(180),math.rad(45))
- weldBetween(char:WaitForChild("Torso"), hand)
- hand.CanCollide=true
- hand.Anchored=false
- hat1 = Instance.new('Hat')
- hat1.Parent = game.Players.LocalPlayer.Character
- handle = Instance.new('Part')
- handle.Name = 'Handle'
- handle.Parent = hat1
- handlemesh = Instance.new('SpecialMesh')
- handlemesh.MeshType = 'FileMesh'
- handlemesh.MeshId = 'http://www.roblox.com/asset/?id=63688922'
- handlemesh.TextureId = 'rbxassetid://63688929'
- handlemesh.Parent = handle
- tommygun = Instance.new("Part",Character)
- tommygun.Size = Vector3.new(0,0,0)
- tommygun.CFrame = RightArm.CFrame
- tommygun.CanCollide = false
- tommygunweld = Instance.new("Weld",tommygun)
- tommygunweld.Part0 = tommygun
- tommygunweld.Part1 = RightArm
- tommygunweld.C0 = tommygun.CFrame:inverse() * RightArm.CFrame * CFrame.new(0,0.5,3) * CFrame.Angles(math.rad(0),math.rad(0),0)
- mtommygun = Instance.new("SpecialMesh", tommygun)
- mtommygun.MeshType = "FileMesh"
- mtommygun.Scale = Vector3.new(2,2,2)
- mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=166887618','http://www.roblox.com/asset/?id=166887676'
- shootbox = Instance.new("Part",Character)
- shootbox.Size = Vector3.new(1,1,1)
- shootbox.CanCollide = false
- shootbox.Transparency = 1
- shootbox.CFrame = tommygun.CFrame
- shootboxweld = weldBetween(shootbox,tommygun)
- shootboxweld.C0 = CFrame.new(0,-.05,3)
- light = Instance.new("PointLight", shootbox)
- light.Color = BrickColor.new("Bright yellow").Color
- light.Range = 5
- light.Brightness = 11
- light.Enabled = false
- particlemiter1 = Instance.new("ParticleEmitter", shootbox)
- particlemiter1.Enabled = false
- particlemiter1.Texture = "rbxassetid://461242617"
- particlemiter1.Lifetime = NumberRange.new(.1)
- particlemiter1.Size = NumberSequence.new(1,0)
- particlemiter1.Rate = 60
- particlemiter1.RotSpeed = NumberRange.new(0)
- particlemiter1.Speed = NumberRange.new(0)
- tommygunammo = Instance.new("Part",Character)
- tommygunammo.Size = Vector3.new(2,2,2)
- tommygunammo.CFrame = tommygun.CFrame
- tommygunammo.CanCollide = false
- tommygunammoweld = Instance.new("Weld",tommygunammo)
- tommygunammoweld.Part0 = tommygunammo
- tommygunammoweld.Part1 = tommygun
- tommygunammoweld.C0 = tommygun.CFrame:inverse() * tommygun.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0)
- mtommygunammo = Instance.new("SpecialMesh", tommygunammo)
- mtommygunammo.MeshType = "FileMesh"
- mtommygunammo.Scale = Vector3.new(1, 1, 1)
- mtommygunammo.MeshId,mtommygunammo.TextureId = 'http://www.roblox.com/asset/?id=0','http://www.roblox.com/asset/?id=0'
- coroutine.wrap(function()
- while wait() do
- hum.WalkSpeed = ws
- 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
- doomtheme = Instance.new("Sound", Torso)
- doomtheme.Volume = 0
- doomtheme.Name = "doomtheme"
- doomtheme.Looped = true
- doomtheme.SoundId = "rbxassetid://2508725733"
- doomtheme:Play()
- 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
- 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=='t' then
- if tauntdebounce then return end
- tauntdebounce = true
- local b1 = Instance.new("BillboardGui",Head)
- b1.Size = UDim2.new(0,4,0,1.6)
- b1.StudsOffset = Vector3.new(0,0,0)
- b1.Name = "laff"
- b1.AlwaysOnTop = true
- b1.StudsOffset = Vector3.new(0,2,0)
- b1.Adornee = Head
- removeuseless:AddItem(b1,3)
- local b2 = Instance.new("TextLabel",b1)
- b2.BackgroundTransparency = 1
- b2.Text = "Do squat everyday or SAY HELLO TO MY LITTLE FRIEND!"
- b2.Font = "Garamond"
- b2.TextSize = 30
- b2.Name = "lafftext"
- b2.TextStrokeTransparency = 0
- b2.TextColor3 = BrickColor.new("Bright red").Color
- b2.TextStrokeColor3 = Color3.new(0,0,0)
- b2.Size = UDim2.new(1,0,.5,0)
- laff = Instance.new("Sound",Head)
- laff.SoundId = "rbxassetid://133763874"
- laff.Volume = 5
- laff:Play()
- wait(5)
- laff:Remove()
- tauntdebounce = false
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='j' 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=='k' 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 = 1
- herecomesthemoney.SoundId = "rbxassetid://0"
- 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=='y' then
- if tauntdebounce then return end
- tauntdebounce = true
- local b1 = Instance.new("BillboardGui",Head)
- b1.Size = UDim2.new(0,4,0,1.6)
- b1.StudsOffset = Vector3.new(0,0,0)
- b1.Name = "laff"
- b1.AlwaysOnTop = true
- b1.StudsOffset = Vector3.new(0,2,0)
- b1.Adornee = Head
- removeuseless:AddItem(b1,3)
- local b2 = Instance.new("TextLabel",b1)
- b2.BackgroundTransparency = 1
- b2.Text = "REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE"
- b2.Font = "Garamond"
- b2.TextSize = 30
- b2.Name = "lafftext"
- b2.TextStrokeTransparency = 0
- b2.TextColor3 = BrickColor.new("Bright red").Color
- b2.TextStrokeColor3 = Color3.new(0,0,0)
- b2.Size = UDim2.new(1,0,.5,0)
- laff = Instance.new("Sound",Head)
- laff.SoundId = "rbxassetid://1205457048"
- laff.Volume = 5
- laff:Play()
- wait(5)
- laff:Remove()
- tauntdebounce = false
- 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://764321476"
- 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 tauntdebounce then return end
- tauntdebounce = true
- local b1 = Instance.new("BillboardGui",Head)
- b1.Size = UDim2.new(0,4,0,1.6)
- b1.StudsOffset = Vector3.new(0,0,0)
- b1.Name = "laff"
- b1.AlwaysOnTop = true
- b1.StudsOffset = Vector3.new(0,2,0)
- b1.Adornee = Head
- removeuseless:AddItem(b1,3)
- local b2 = Instance.new("TextLabel",b1)
- b2.BackgroundTransparency = 1
- b2.Text = "*Peacefully drinking chug-jug*"
- b2.Font = "Garamond"
- b2.TextSize = 30
- b2.Name = "lafftext"
- b2.TextStrokeTransparency = 0
- b2.TextColor3 = BrickColor.new("Bright blue").Color
- b2.TextStrokeColor3 = Color3.new(0,0,0)
- b2.Size = UDim2.new(1,0,.5,0)
- laff = Instance.new("Sound",Head)
- laff.SoundId = "rbxassetid://2506450841"
- laff.Volume = 5
- laff:Play()
- wait(5)
- laff:Remove()
- tauntdebounce = false
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='p' then
- if tauntdebounce then return end
- tauntdebounce = true
- local b1 = Instance.new("BillboardGui",Head)
- b1.Size = UDim2.new(0,4,0,1.6)
- b1.StudsOffset = Vector3.new(0,0,0)
- b1.Name = "laff"
- b1.AlwaysOnTop = true
- b1.StudsOffset = Vector3.new(0,2,0)
- b1.Adornee = Head
- removeuseless:AddItem(b1,3)
- local b2 = Instance.new("TextLabel",b1)
- b2.BackgroundTransparency = 1
- b2.Text = "IM just standing here, what about you?"
- b2.Font = "Garamond"
- b2.TextSize = 30
- b2.Name = "lafftext"
- b2.TextStrokeTransparency = 0
- b2.TextColor3 = BrickColor.new("Dark green").Color
- b2.TextStrokeColor3 = Color3.new(0,0,0)
- b2.Size = UDim2.new(1,0,.5,0)
- laff = Instance.new("Sound",Head)
- laff.SoundId = "rbxassetid://0"
- laff.Volume = 5
- laff:Play()
- wait(5)
- laff:Remove()
- tauntdebounce = false
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='g' 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)
- 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
- 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=='h' then
- if dancing then
- dancing = false
- else
- dancing = true
- ws = 6
- change = .5
- attacking = true
- bennyhill = Instance.new("Sound",Torso)
- bennyhill.SoundId = "rbxassetid://800064337"
- 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=='e' then
- if debounce then return end
- if equip then
- g1:Remove()
- light.Enabled = false
- pcall(function()
- temmy:Remove()
- end)
- for i,v in pairs(tommygun:GetDescendants()) do
- if v.Name == "temmy" then v:Remove()
- end
- end
- light.Enabled = false
- particlemiter1.Enabled = false
- hum.CameraOffset = Vector3.new(0,0,0)
- attacking = false
- equip = false
- shooting = false
- gunallowance = false
- ws = 18
- else
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
- attacking = true
- debounce = true
- equip = true
- coroutine.wrap(function()
- while equip do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
- ws = 10
- swait()
- if Root.Velocity.y > 1 then
- position = "Jump3"
- elseif Root.Velocity.y < -1 then
- position = "Falling3"
- elseif Root.Velocity.Magnitude > 2 and running == false and attacking == true then
- position = "Walk3"
- elseif Root.Velocity.Magnitude < 2 and running == false and attacking == true then
- position = "Idle4"
- end
- end
- end)()
- coroutine.wrap(function()
- while equip do
- swait()
- settime = 0.05
- sine = sine + change
- if position == "Jump3" and attacking and not running then
- change = .65
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
- elseif position == "Falling3" and attacking and not running then
- change = .65
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.4)
- elseif position == "Walk3" and attacking == true and running == false then
- change = .65
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)),.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.1)
- elseif position == "Idle4" and attacking == true and running == false then
- change = .65
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
- end
- end
- end)()
- SOUND(RightArm,133763874,6,false,2)
- for i = 1, 30 do
- tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.68,1.25) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-12)),.25)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 0.1, 0.4) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0)), 0.25)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)), 0.25)
- swait()
- end
- gunallowance = true
- mouse.Button1Down:connect(function()
- if gunallowance then
- particlemiter1.Enabled = true
- temmy = Instance.new("Sound",tommygun)
- temmy.SoundId = "rbxassetid://146830885"
- temmy.Volume = 6
- temmy.Name = "temmy"
- temmy.Looped = true
- temmy:Play()
- shooting = true
- end
- end)
- mouse.Button1Up:connect(function()
- if gunallowance then
- hum.CameraOffset = Vector3.new(0,0,0)
- light.Enabled = false
- particlemiter1.Enabled = false
- pcall(function()
- temmy:Remove()
- end)
- for i,v in pairs(tommygun:GetDescendants()) do
- if v.Name == "temmy" then v:Remove()
- end
- end
- shooting = false
- end
- end)
- coroutine.wrap(function()
- if firsttime2 then return end
- firsttime2 = true
- while true do
- swait(3)
- if shooting then
- if switch1 then
- switch1 = false
- switch2 = true
- light.Enabled = true
- elseif switch2 then
- switch1 = true
- switch2 = false
- light.Enabled = false
- end
- pcall(function()
- if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
- mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(3,7))
- end
- end)
- end
- end
- end)()
- coroutine.wrap(function()
- if firsttime then return end
- firsttime = true
- while true do
- if shooting then
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90), math.rad(0 - 10 * math.sin(sine)), math.rad(0)), 0.25)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 0.1 + .4 * math.sin(sine), 0.4) * CFrame.Angles(math.rad(-90), math.rad(-60), math.rad(0)), 0.25)
- pcall(function()
- if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
- mouse.Target.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(30)
- end
- end)
- elseif not shooting then
- end
- swait()
- end
- end)()
- debounce = false
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='z' then
- print("Music switched to 1")
- id = 2199374985
- doomtheme.SoundId = "rbxassetid://"..id
- doomtheme:Play()
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='v' then
- print("Music switched to 4")
- id = 2111948183
- doomtheme.SoundId = "rbxassetid://"..id
- doomtheme:Play()
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='x' then
- print("Music switched to 2")
- id = 318812395
- doomtheme.SoundId = "rbxassetid://"..id
- doomtheme:Play()
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='c' then
- print("Music switched to 3")
- id = 2508725733
- doomtheme.SoundId = "rbxassetid://"..id
- doomtheme:Play()
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='b' then
- print("Music switched to 5")
- id = 649148458
- doomtheme.SoundId = "rbxassetid://"..id
- doomtheme:Play()
- end
- end)
- checks1 = coroutine.wrap(function() -------Checks
- while true do
- 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 < 20 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
- tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
- 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.4)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
- elseif position == "Jump2" and attacking == false then
- change = 1
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- 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.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
- elseif position == "Falling" and attacking == false then
- change = 1
- tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
- 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, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
- elseif position == "Falling2" and attacking == false then
- change = 1
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- 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.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
- elseif position == "Walking" and attacking == false and running == false then
- change = 1.2
- walking = true
- tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(10)), 0.1)
- 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.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + Root.RotVelocity.Y / 85,.35,.5*math.sin(sine/8)) * CFrame.Angles(math.rad(-35*math.sin(sine/8)),math.rad(0*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, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.1)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.3)
- elseif position == "Idle" and attacking == false and running == false then
- change = .5
- tommygunweld.C0 = tommygunweld.C0:lerp(CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0),.25)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.1)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3 + .1 * math.sin(sine/12),1 + .1 * math.sin(sine/12),0) * CFrame.Angles(math.rad(180),math.rad(1),math.rad(8 + 5 * math.sin(sine/12))), 0.1)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.59 - .05 * math.sin(sine/12), 0.1 -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(-2), math.rad(2), math.rad(8 - 6 * math.sin(sine/12))), .2)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
- elseif position == "Idle2" and attacking == false and running == false then
- change = .75
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
- 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)
- RIGHTARMLERP.C0 = RIGHTARMLERP.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)
- elseif position == "Walking2" and attacking == false and running == false then
- ws = 50
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- 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.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
- elseif position == "Running" and attacking == false then
- change = 1
- 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()
- warn("Risen from Russia, ready to prove his memeous. Made by Supr14 and edited by Reset5017577")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement