https://pastebin.com/vsapzndU

putting the entire script here doesnt work so i put it into pastebin instead

im not getting anything from this and i get no output either

12 comments

0

Don't access the playerGui from a serverscript

0

What are you wanting to do with this script?

1

for now i want it to say you won if you did and say you lost if you did, and getting the playergui from a server script is totaly fine like this

0

So you have 351 lines of code to tell the client if they have 'Won' or not??.. and also Unless FilteringEnabled is set to false, the PlayerGui is 100% Client Sided

1

filtering enabled is always enabled due to roblox standards now, even if u set the filtering enabled to false it will still be on while ur playing, and you can access the playergui the way i do in the script

1

The PlayerGui is not 100% client sided. The server can access it perfectly fine.

0

exacly, a server script cant access the local player though without getting the player from the player character or player userid, but it can always access the things inside the players

0

Uh, This must be a new feature because before PlayerGuis were 100% client sided,, https://scriptinghelpers.org/questions/62595/how-do-i-access-the-playergui-from-a-server-script. anyways, I'd recommend do this through a local script and using RenderStepped. But you do you

0

no need to do so, i rather use this kind of system

0

No wonder you're a bad programmer and have -10 upvotes received then

0

shut up, im not a bad programmer i just use what i understand and i havent started learning about renderstepped

0

That question contained false information. I explained why in the comments of the top answer. @IDKBlox