RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Make a spectating ui"
-- local script (StarterGUI) local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui", player.PlayerGui) local spectatingFrame = Instance.new("Frame", screenGui) spectatingFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) spectatingFrame.Size = UDim2.new(0, 200, 0, 100) spectatingFrame.Position = UDim2.new(0.5, -100, 0.5, -50) local spectatingLabel = Instance.new("TextLabel", spectatingFrame) spectatingLabel.Text = "Spectating" spectatingLabel.TextColor3 = Color3.fromRGB(255, 255, 255) spectatingLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0) spectatingLabel.Size = UDim2.new(1, 0, 0.5, 0) spectatingLabel.Font = Enum.Font.SourceSansBold spectatingLabel.TextScaled = true local nextButton = Instance.new("TextButton", spectatingFrame) nextButton.Text = "Next" nextButton.TextColor3 = Color3.fromRGB(255, 255, 255) nextButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0) nextButton.Size = UDim2.new(0.5, 0, 0.5, 0) nextButton.Position = UDim2.new(0, 0, 0.5, 0) nextButton.Font = Enum.Font.SourceSansBold nextButton.TextScaled = true local prevButton = Instance.new("TextButton", spectatingFrame) prevButton.Text = "Prev" prevButton.TextColor3 = Color3.fromRGB(255, 255, 255) prevButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0) prevButton.Size = UDim2.new(0.5, 0, 0.5, 0) prevButton.Position = UDim2.new(0.5, 0, 0.5, 0) prevButton.Font = Enum.Font.SourceSansBold prevButton.TextScaled = true