#wait in function doesn't work
6 messages · Page 1 of 1 (latest)
Well
A lot of part of your body or whatever touches it each generate new touched connect
So it work few times, try adding couldown or something like that
6 messages · Page 1 of 1 (latest)
local function SpawnBall()
local rollingsphere = Instance.new("Part")
rollingsphere.Parent = game.Workspace
rollingsphere.Position = Vector3.new(-0.399, 19.351, -17.6)
wait(5)
end
game.Workspace.ballregenpart.Touched:Connect(SpawnBall)
It just spawns a bunch of parts without waiting
I'm new to roblox studio
Well
A lot of part of your body or whatever touches it each generate new touched connect
So it work few times, try adding couldown or something like that