Spawning in objects

Back
thatpotatofry
Join Date:
Posts:
Apr 2024
6
21 days ago | 11 • By thatpotatofry

I want a script that can spawn objects in like Dodge the Teapots for my game. Please respond if you know how!


unfriended
Join Date:
Posts:
Dec 2021
10
18 days ago • By unfriended

you can create a loop script that spawns in parts every second (or whatever time you want it)


--if you want it to be slower do more than 1 seconds or vice versa


while wait(1) do
local part = Instance.New("Part")
part.Parent = game["Environment"]
part.Position = Vector3.New(-42.5, 10, -57) --make sure to change the vector 3 position to the spawner position
part.Anchored = false
print("spawned part")
end



thatpotatofry OP
Join Date:
Posts:
Apr 2024
6
1 day ago • By thatpotatofry OP

thx! sorry i didnt see it