All pastes #716591 Raw Edit

Circle Script

public lua v1 · immutable
#716591 ·published 2007-09-26 23:33 UTC
rendered paste body
repeats = 25radius = 10bin = script.Parentscript.Parent=game.Workspacemodel = Instance.new("Model")m = Instance.new("Model")m.Name = bin.Namefunction fire(i,booms)	local centerpoint = bin	local a = i * ((3.14156 * 2) / booms) 	local y = 0	local x = radius * math.cos(a)	local z = radius * math.sin(a)	local launch = Vector3.new(x, y, z)	local New = bin:clone()	New.CFrame = CFrame.new(centerpoint.Position + launch, centerpoint.Position + launch * 2)	New.Parent = mendfor i=1,repeats do	fire(i,repeats)endbin.Parent = modelm.Parent = modelmodel.Parent = game.Workspacescript.Parent=binscript.Disabled = true