script:
script.Parent.Touched:Connect(function(plr)
local owner = game.Players[script.Parent.Plr.Value]
if owner.Antipush.Value == false then return end
if plr.Parent.Name ~= script.Parent.Plr.Value and owner.Antipush.Value == true then
script.Parent.Anchored = true
print("notowner")
elseif plr.Parent.Name == script.Parent.Plr.Value and owner.Antipush.Value == true then
script.Parent.Anchored = false
print("owner")
end
end)
the value has the player’s name in it, it prints owner once and prints not owner three times, why is that?