RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a script that causes grey spheres to spawn out of the Emitter part every 5 seconds"
-- server script (ServerScriptService) local emitter = game.Workspace.Emitter while true do local sphere = Instance.new("Part") sphere.Shape = Enum.PartType.Ball sphere.Size = Vector3.new(5, 5, 5) sphere.BrickColor = BrickColor.Gray() sphere.Position = emitter.Position sphere.Parent = game.Workspace local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Velocity = Vector3.new(math.random(-50, 50), math.random(10, 50), math.random(-50, 50)) bodyVelocity.Parent = sphere wait(5) end