Server scripts will not run in the player’s PlayerGui. Either switch the script for a LocalScript or move it to a place where it will run, such as ServerScriptService.
This is false. Server Scripts can run in the PlayerGui. However, it is recommended you do not use server Scripts in PlayerGui because PlayerGui is meant for visuals, and it makes more sense to handle visuals on the client.
You will also be unable to interact with any inputs a player may generate if you’re using a server Script
Here is proof for my claim by the way:
I am printing the Parent.Name of the script every ~0.03 seconds.
while true do
print(script.Parent.Name)
wait()
end
No sir I doing with Touch event the position tween but If I want to do it again I need close in server or in server is still opened but in local isn’t opened so if I want open it server don’t open it bc server think is already opened