The title says most of it, how can I remove the CanTouch value in a script if the player has a Value called Owner1 assigned to their name?

This doesn't work:

if Owner1.Value == player.Name then
		-- I'm doing game.Workspace.[Insert Part Here].CanTouch = false, but it's still touching
	end

2 comments

0

in the touch script in the part, just check if the player that touched it has the value set to them, if they do, dont do anything, otherwise, run the function

0

yeah that's what Owner1 does but it's not working, I tried something else but a new bug came, when the bug gets solved I'm gonna answer this question