#local part = script.Parentlocal function alTocco(hit)local person = hit.Parentlocal humanoid =

1 messages · Page 1 of 1 (latest)

minor quiver
#

IM trying to roll every 5 seconds but every 5 seconds it rolls a lot and stop for 5 seconds

#

local part = script.Parent

local function alTocco(hit)
local person = hit.Parent
local humanoid = person:FindFirstChild("Humanoid")

if humanoid then

while true do
task.wait(2)

local numerogrande = math.random(1, 100)
local numeropiccolo = math.random(1, 10)
print(numerogrande)
print(numeropiccolo)

    end 
 end

end
part.Touched:Connect(alTocco)

#

sry for 2 seconds but still doesnt wortk

stoic torrent
minor quiver
stoic torrent
# minor quiver so what i change i dont get it

Make a dictionary that holds every player that touched the part. So if the player is inside the dictionary you just return the alTocco function. So now each player can only enter the while true loop once.

minor quiver
stoic torrent