Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spawn(function()
- while true do
- wait(0.1)
- if game.Players.LocalPlayer.Character.Humanoid.Health == 0 then
- Frame.Visible = false
- Frame_2.Visible = false
- end
- end
- end)
- function haveTools()
- local a = false
- local b = false
- for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if v:IsA("Tool") then
- if v ~= nil then
- a = true
- else
- a = false
- end
- end
- end
- for i,k in pairs(game.Players.LocalPlayer.Backpack:GetDescendants()) do
- if k:IsA("Tool") then
- if k ~= nil then
- b = true
- else
- b = false
- end
- end
- end
- return a or b
- end
- power = math.huge
- unholding = true
- spawn(function()
- while unholding do
- wait()
- game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
- if key == "f" then
- if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- AnimationId = "846744780"
- else
- AnimationId = "204062532"
- end
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- k:AdjustSpeed(1) --Set '1' to any value you want to adjust the animation speed.
- unholding = false
- wait()
- if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") == nil then
- game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
- end
- wait(1)
- game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
- unholding = true
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
- if key == "c" then
- if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- AnimationId = "675025570"
- else
- AnimationId = "218504594"
- end
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://"..AnimationId
- local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
- k:Play() --Play the animation
- if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- k:AdjustSpeed(3.4) --Set '1' to any value you want to adjust the animation speed.
- else
- k:AdjustSpeed(1)
- end
- unholding = false
- wait()
- if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") == nil then
- game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Character
- end
- wait(1)
- game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
- unholding = true
- end
- end
- end)
- -- Press Q or E to move up or down. Q is down, E is up.
- -- Press R or T to change WalkSpeed. R is slower, T is faster.
- if haveTools() == false then
- local LocalPlayer = game:GetService("Players").LocalPlayer
- for _, hat in pairs(LocalPlayer.Character.Humanoid:GetAccessories()) do
- if hat.Handle ~= nil then
- local tool = Instance.new("Tool", LocalPlayer.Backpack)
- tool.Name = hat.Name
- local hathandle = hat.Handle
- hathandle:FindFirstChildOfClass("Weld").Part1 = nil
- hathandle.Parent = tool
- hathandle.Massless = true
- end
- break
- end
- end
- game.Players.LocalPlayer.Character.Animate.toolnone.ToolNoneAnim.AnimationId = "nil"
- wait()
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
- local noclip = true
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
- wait()
- spawn(function()
- while game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 do
- for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- if (v:IsA("Tool")) then
- v.GripPos = Vector3.new(0,power,250)
- end
- end
- wait()
- end
- end)
- spawn(function()
- while game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 do
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if (v:IsA("Tool")) then
- v.GripPos = Vector3.new(0,power,250)
- end
- end
- wait()
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
- if key == "q" then
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
- if key == "e" then
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
- if key == "r" then
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
- if key == "t" then
- end
- end
- end)
- repeat
- local noclip = true
- wait()
- until game.Players.LocalPlayer.Character.Humanoid.Health == 0
- wait()
- noclip = false
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
- if key == "q" then
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
- if key == "e" then
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
- if key == "r" then
- end
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 0 then
- if key == "t" then
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement