Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local Deaths = 0
- local CanEarnDeaths = true
- task.spawn(function()
- wait(180)
- local TeleportService = game:GetService("TeleportService")
- TeleportService:Teleport(game.PlaceId, Player)
- end)
- task.spawn(function()
- while task.wait() do
- while task.wait() and Player.Character and Player.Character:FindFirstChild("Humanoid") do
- if Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") then
- Player.Character.HumanoidRootPart.CFrame = game.Players["HappyH0lidays2021"].Character.HumanoidRootPart.CFrame + Vector3.new(5, 0, 0)
- end
- if Player.Character:FindFirstChild("Humanoid") and Player.Character.Humanoid.Health < Player.Character.Humanoid.MaxHealth then
- while task.wait() do
- if Player.Character:FindFirstChild("HumanoidRootPart") then
- Player.Character.HumanoidRootPart.CFrame = CFrame.new(-35, 5, 0)
- end
- end
- end
- end
- end
- end)
- task.spawn(function()
- local Gui = Instance.new("ScreenGui", Player.PlayerGui)
- Gui.ZIndexBehavior = Enum.ZIndexBehavior.Global
- Gui.ResetOnSpawn = false
- Gui.Enabled = true
- local Button = Instance.new("TextButton", Gui)
- Button.BackgroundColor3 = Color3.new(1, 0, 0)
- Button.BorderColor3 = Color3.fromRGB(170, 0, 0)
- Button.Position = UDim2.new(0.422, 0, 0.69, 0)
- Button.Size = UDim2.new(0, 200, 0, 50)
- Button.ZIndex = 999999
- Button.Text = "Rejoin"
- Button.Font = Enum.Font.GothamBold
- Button.TextScaled = true
- Button.TextColor3 = Color3.new(1, 1, 1)
- Button.MouseButton1Down:Connect(function()
- local TeleportService = game:GetService("TeleportService")
- TeleportService:Teleport(game.PlaceId, Player)
- end)
- end)
- task.spawn(function()
- for _, PlayerC in pairs(game.Players:GetPlayers()) do
- PlayerC.Chatted:Connect(function(message)
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(message, "All")
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement