This is the script:
script.Parent.Touched:Connect(function(hit)
if not hit and hit.Name == script.Parent.Value.Value then
warn("User's name is not appropriate")
end
end)
this won't work and the warn doesn't even show.. Help? the Value object is located at the part, the script's type is Script.
- Part
- Script
- Value

4 comments
Please provide more information. Where is it located, and script type?
wait so you want to warn when cherrythetree touches it?
i was about to warn when user's name is not cherrythetree.
mate did you downvote me