Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local main = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local X = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local Reset = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.ResetOnSpawn = false
- main.Name = "main"
- main.Parent = ScreenGui
- main.Active = true
- main.BackgroundColor3 = Color3.new(1, 1, 1)
- main.Position = UDim2.new(0.408912182, 0, 0.422348499, 0)
- main.Size = UDim2.new(0.182175621, 0, 0.155303031, 0)
- main.ZIndex = 2
- main.Draggable = true
- TextButton.Parent = main
- TextButton.AnchorPoint = Vector2.new(0.5, 0.5)
- TextButton.BackgroundColor3 = Color3.new(0.52549, 1, 0.352941)
- TextButton.Position = UDim2.new(0.5, 0, 0.5, 0)
- TextButton.Size = UDim2.new(0.812949657, 0, 0.609756112, 0)
- TextButton.ZIndex = 2
- TextButton.AutoButtonColor = false
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Win? maybe? idk"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 14
- X.Name = "X"
- X.Parent = main
- X.AnchorPoint = Vector2.new(0.5, 0.5)
- X.BackgroundColor3 = Color3.new(1, 0, 0)
- X.Position = UDim2.new(0.906474829, 0, -0.158536583, 0)
- X.Size = UDim2.new(0.187050357, 0, 0.317073166, 0)
- X.ZIndex = -1
- X.Font = Enum.Font.SourceSans
- X.Text = "X"
- X.TextColor3 = Color3.new(0, 0, 0)
- X.TextScaled = true
- X.TextSize = 14
- X.TextWrapped = true
- TextLabel.Parent = main
- TextLabel.AnchorPoint = Vector2.new(0.5, 0.5)
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.802158296, 0, 1.26829267, 0)
- TextLabel.Size = UDim2.new(1.41726613, 0, 0.536585391, 0)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Make sure you click it only after the game started and the countdown was done"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- Reset.Name = "Reset"
- Reset.Parent = main
- Reset.AnchorPoint = Vector2.new(0.5, 0.5)
- Reset.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- Reset.Position = UDim2.new(0.406474829, 0, -0.158536583, 0)
- Reset.Size = UDim2.new(0.812949657, 0, 0.317073166, 0)
- Reset.Font = Enum.Font.SourceSans
- Reset.Text = "Reset"
- Reset.TextColor3 = Color3.new(0, 0, 0)
- Reset.TextScaled = true
- Reset.TextSize = 14
- Reset.TextWrapped = true
- Reset.MouseButton1Down:Connect(function()
- game.Players.LocalPlayer.Character.Humanoid.Health = 0
- end)
- X.MouseButton1Down:Connect(function()
- ScreenGui:Destroy()
- end)
- wait(3)
- local LocalPlayer = game:GetService("Players").LocalPlayer
- local torsoname = "Torso"
- if LocalPlayer.Character:FindFirstChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then
- torsoname = "UpperTorso"
- end
- TextButton.MouseButton1Down:connect(function()
- if game.Players.LocalPlayer.Backpack:FindFirstChild("Revolver") ~= nil or game.Players.LocalPlayer.Backpack:FindFirstChild("Knife") == nil then
- print("hero")
- for index, plrs in pairs(game.Players:GetChildren()) do
- if plrs.Backpack:FindFirstChild("Knife") ~= nil or plrs.Character:FindFirstChild("Knife") ~= nil then
- print("hi")
- local v = plrs
- local Target = game.Players:FindFirstChild("Predecoris")
- local Torso = game.Players.LocalPlayer.Character.HumanoidRootPart
- local SavedPos = Torso.CFrame
- local Active = true
- local POWER = 9e5
- game:GetService('RunService').Stepped:connect(function()
- if Active == true then
- if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.Torso.CanCollide = false
- game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
- game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
- POWER = 9e5
- else
- if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
- game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
- game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
- POWER = 9e4
- end
- end
- end
- end)
- if v.Character ~= nil then
- local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
- game.Players.LocalPlayer.Character:FindFirstChild(torsoname).Anchored = true
- local tool = Instance.new("Tool", LocalPlayer.Backpack)
- local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory")
- local hathandle = hat.Handle
- hathandle.Parent = tool
- hathandle.Massless = true
- tool.GripPos = Vector3.new(0, 9e99, 0)
- tool.Parent = LocalPlayer.Character
- repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
- tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
- game.Players.LocalPlayer.Character:FindFirstChild(torsoname).Anchored = false
- repeat
- game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = v.Character:FindFirstChild("HumanoidRootPart").CFrame
- wait()
- until v.Character:FindFirstChild("Humanoid").Health <= 0 or game.Players.LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0
- game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
- hathandle.Parent = hat
- hathandle.Massless = false
- tool:Destroy()
- LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
- end
- game:GetService('RunService').Stepped:connect(function()
- if Active == true then
- Torso.CFrame = game.Players:FindFirstChild(v.Name).Character.HumanoidRootPart.CFrame
- end
- end)
- wait()
- Active = false
- for i,v in pairs(Torso:GetChildren()) do
- if v:IsA("BodyThrust") then
- v:Destroy()
- wait()
- else
- if v:IsA("BodyVelocity") or v:IsA("BodyGyro") then
- wait()
- v:Destroy()
- end
- end
- end
- end
- end
- else
- print("u got knifw")
- for index, plrs in pairs(game.Players:GetChildren()) do
- if plrs.Backpack:FindFirstChild("Revolver") ~= nil or plrs.Character:FindFirstChild("Revolver") ~= nil then
- print(plrs)
- local v = plrs
- local Target = game.Players:FindFirstChild("Predecoris")
- local Torso = game.Players.LocalPlayer.Character.HumanoidRootPart
- local SavedPos = Torso.CFrame
- local Active = true
- local POWER = 9e5
- game:GetService('RunService').Stepped:connect(function()
- if Active == true then
- if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.Torso.CanCollide = false
- game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
- game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
- POWER = 9e5
- else
- if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
- game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
- game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
- POWER = 9e4
- end
- end
- end
- end)
- if v.Character ~= nil then
- local savepos = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
- game.Players.LocalPlayer.Character:FindFirstChild(torsoname).Anchored = true
- repeat
- game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = v.Character:FindFirstChild("HumanoidRootPart").CFrame
- wait()
- until v.Character:FindFirstChild("Humanoid").Health <= 0 or game.Players.LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0
- game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
- LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
- end
- game:GetService('RunService').Stepped:connect(function()
- if Active == true then
- Torso.CFrame = game.Players:FindFirstChild(v.Name).Character.HumanoidRootPart.CFrame
- end
- end)
- wait()
- Active = false
- for i,v in pairs(Torso:GetChildren()) do
- if v:IsA("BodyThrust") then
- v:Destroy()
- wait()
- else
- if v:IsA("BodyVelocity") or v:IsA("BodyGyro") then
- wait()
- v:Destroy()
- end
- end
- end
- end
- end
- end
- end)
Add Comment
Please, Sign In to add comment