RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a command that can randomize everything in the workspace"
-- server script local function randomize() for i,v in pairs(game.Workspace:GetChildren()) do if v:IsA("BasePart") then v.BrickColor = BrickColor.Random() v.Position = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100)) v.Rotation = Vector3.new(math.random(0,360), math.random(0,360), math.random(0,360)) end end end game.Players.PlayerAdded:Connect(function(player) player.Chatted:Connect(function(msg) if msg == "randomize" then randomize() end end) end)