Script working in Tests but NOT on server??

Hi all i really hope someone can help me out here. Im new to the scripting and got alot of help to get my script working.

And it works very well in all tests but when i upload it to a server non of the scripts work or runs?

It look like this:

Really hope someone can help me out here and show or guide me to way its not working.


Ok so i found out what the problem is but not sure how to fix it.

The script works first time you place the item and stay near it. then the scrip runs and keep running.
But the moment you leave it and go away from it, out of view distance. All scripts stops working and never turns back on again…
So what to do and how to fix it? Anyone?