One of my scripts weren’t working and i managed to pinpoint it to one spot:
if not script.Parent.PlayerToFollow.Value == object.Parent.PlayerToFollow.Value then
print("ok")
else
print(script.Parent.PlayerToFollow.Value..object.Parent.PlayerToFollow.Value)
end
For some reason, I haven’t seen a single “ok” in my output, but I’ve seen it print something like Player1Player2, and that should not print since Player1 is NOT Player2. What am I missing?
Also, for some reason indentation is funky on this forum so here’s a screenshot:
if script.Parent.PlayerToFollow.Value == object.Parent.PlayerToFollow.Value then
print(script.Parent.PlayerToFollow.Value..object.Parent.PlayerToFollow.Value)
else
print('ok')
end