#Proximity Prompt not working
22 messages · Page 1 of 1 (latest)
why are you using treepunch.PromptButtonHoldEnded
just do treepunch.triggered
and whats with the task.wait on the button
make it like this:
`treepunch.Enabled = true
treepunch.Triggered:Connect(function()
task.spawn(function()
treepunch.Enabled = false
task.wait(3)
treepunch.Enabled = true
end)
end)`
idk, i don't know how it works
** You are now Level 4! **
use what i said
what is task.spawn? why do I need to put it?
so it doesnt interupt
any other part of the script
lets say you have a while loop of the folowing:
`while wait(1) do
end`
print("TEST")
test will never print
cuz the while loop ran first
and will never end
HOWEVER
if you put it under a task.spawn function
it allows other parts like test
to print
you get it or no
ok