RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Make the background Black"
-- local script local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui") local frame = Instance.new("Frame") local playButton = Instance.new("TextButton") local rejoinButton = Instance.new("TextButton") local waitButton = Instance.new("TextButton") screenGui.Parent = player.PlayerGui frame.Parent = screenGui playButton.Parent = frame rejoinButton.Parent = frame waitButton.Parent = frame frame.Size = UDim2.new(0, 200, 0, 100) frame.Position = UDim2.new(0.5, -100, 0.5, -50) frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) playButton.Size = UDim2.new(0, 100, 0, 50) playButton.Position = UDim2.new(0, 0, 0, 0) playButton.Text = "Play" playButton.MouseButton1Click:Connect(function() screenGui:Destroy() end) rejoinButton.Size = UDim2.new(0, 100, 0, 50) rejoinButton.Position = UDim2.new(0, 0, 0, 50) rejoinButton.Text = "Rejoin" rejoinButton.MouseButton1Click:Connect(function() game:GetService("TeleportService"):Teleport(game.PlaceId) end) waitButton.Size = UDim2.new(0, 100, 0, 50) waitButton.Position = UDim2.new(0.5, 0, 0, 0) waitButton.Text = "Wait (20)" waitButton.MouseButton1Click:Connect(function() screenGui:Destroy() player.Character.Humanoid.WalkSpeed = 0 wait(20) player.Character.Humanoid.WalkSpeed = 16 end)