The code is Starts Here:
local explosionPart = game.ServerStorage.ExplosionPart local explosionPartDropHeight = 100
local function createExplosionPartCopy() local explosionPartCopy = explosionPart:Clone() explosionPartCopy.Parent = game.Workspace local xPosition = math.random(440, 292) local zPosition = math.random(440, 292) explosionPartCopy.Position = Vector3.new(xPosition, explosionPartDropHeight, zPosition) end
while true do createExplosionPartCopy() wait (0.7) end
Ends Here. After i run it comes up with this: ServerScriptService.Script:7: bad argument #2 to 'random' (interval is empty) Pls someone help.
You have to have the smallest number first, and the largest number second.
math.random(292, 440)