RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a script where if you say taco it rains tacos and play a song"
-- server script local chatService = game:GetService("Chat") local tacoSong = game.Workspace.TacoSong local function onChat(player, message) if message:lower() == "taco" then tacoSong:Play() for i = 1, 10 do local taco = Instance.new("Part") taco.Name = "Taco" taco.Parent = game.Workspace taco.Position = Vector3.new(math.random(-100,100), 50, math.random(-100,100)) taco.BrickColor = BrickColor.new("Bright yellow") wait(0.1) end end end chatService.Chatted:Connect(onChat)