How do you make a message appear when a person touches a part. Here is my current script,
local door = game.Workspace.Door
function onTouchM(obj)
door.Touched:connect(function()
msg = Instance.new("Message", game.Workspace)
msg.Text = "..userID..Has Found The Door"
wait(5)
msg.Text:Destroy()
end)
end
Help plz. :) Note: this is a localScript in workspace and not in anything else. It is not in the part(door). Just lying around in workspace.
