Wolf1te
(Wolf1te)
#21
Keep in mind, ANYTHING touching the part will trigger the event. How do you know when it triggers?
Just incase, you could add TouchInterest to it.
script.Parent.Touch.Touched:Connect(function(hit)
wait(1)
print("touched by instance ".. hit.Name.. "!")
end)
1 Like
Tris_banana
(Tris_banana)
#22
script.Parent.Touched:Connect(function()
print("1")
end)
or
script.Parent.Touched:Connect(function()
print(tostring(yourValue))
end)
1 Like
rtvr56565
(rtvr56565)
#23
@Wolf1te @Tris_banana
It appears that isn’t working in a normal script, I solved that changing to local script and putting a remote event to work in the normal script
1 Like