Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

HOW do i check a value in serverscriptscriptservice then act upon it when a goal has been reached?

Asked by
Tizzel40 243 Moderation Voter
5 years ago

ok in serverscriptservice I have a script called "SVAL" "That's the name of the script". InSide is a Child named "script Value"

the value of that scriptvalue is 100 [which is an intvalue]

I made a button and when clicked I want it to see if the value of script value is greater then 50 then is it will make the button disaper

BUT...... the value of the "scriptvalue" inside the "SVAL"..... IN SERVERSCRIPTSERVICE

and that MEANS I don't have accses to all the server things IN A LOCAL SCRIPT

how can I click the button and then if the value is over 50 then it will make the button disappear...

NOTE:THE VALUE OF "scriptvalue" IS INSIDE SVAL WHICH IS IN SERVERSCRIPTSERVICE (WHICH ANYTHING LOCAL CANT, CANNOT, AND WILL NOT REACH OR ACSSES)

0
Remote Events User#24403 69 — 5y
0
Theres no need to yell. First, this is scripting helpers not scripting do'ers, show us what you have so far. Also, anytime you need to go between the client and server remote events are the place to start. DinozCreates 1070 — 5y
0
ReplicatedStorage???? Warfaresh0t 414 — 5y

Answer this question