RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a random april fools script"
-- server script (ServerScriptService) local players = game:GetService("Players") local chatService = game:GetService("Chat") local function aprilFools(player) local randomMessage = { "You've just won 1000 Robux!", "Breaking News: Roblox is shutting down!", "Your account has been banned for 1 day!", "All your items have been deleted!", "You've been promoted to Admin!" } local chosenMessage = randomMessage[math.random(1, #randomMessage)] chatService:Chat(player.Character.Head, chosenMessage, Enum.ChatColor.Red) end players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) wait(5) aprilFools(player) end) end)