Everytime I put if and then command the “=” is highlighted red which an error.
game.Workspace.The.Anchored = false is a statement, where as the conditional part of the if clause expects an expression. You likely meant to use == instead of = but that is redundant here. Just use not:
if not game.Workspace.The.Anchored then
print("Anchored is false")
end
Thanks it really helps, you manage to slove my problem.
