generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Only works in PlaySolo? - FilteringEnabled

Previous Thread :: Next Thread 
championbuilder is online. championbuilder
Joined: 20 Jan 2009
Total Posts: 13544
09 Apr 2015 09:41 AM
This is inside a serverscript in workspace, and i'm sure this worked in server yesterday.

for _,v in pairs(game.Players:GetChildren()) do
v.PlayerGui:WaitForChild("Stats")
v.PlayerGui.Stats:WaitForChild("Record")
if script[v.Name] then
script[v.Name].Score.Value = v.PlayerGui.Stats.Record.Value
end
end
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
09 Apr 2015 09:45 AM
I don't think Scripts have access to things in PlayerGui.
Also, don't test in Play Solo, test in a Studio test server, on the "Test" tab.
Report Abuse
championbuilder is online. championbuilder
Joined: 20 Jan 2009
Total Posts: 13544
09 Apr 2015 09:47 AM
That's what i'm doing, this is why im asking for help.
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
09 Apr 2015 09:48 AM
When FilteringEnabled is enabled server-scripts aren't allowed to manipulate player' PlayerGui's. Because, if they did, then it would be giving clients access to the server script.
Report Abuse
championbuilder is online. championbuilder
Joined: 20 Jan 2009
Total Posts: 13544
09 Apr 2015 09:49 AM
I'm not manipulating the gui, i'm reading from it. I'm almost certain this worked yesterday.
Report Abuse
nomer888 is online. nomer888
Joined: 13 Feb 2010
Total Posts: 551
09 Apr 2015 09:50 AM
The server doesn't even know the player has any GUIs at all with FE.
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
09 Apr 2015 09:52 AM
If the server did, then the client could easily use that to exploit.
Report Abuse
nomer888 is online. nomer888
Joined: 13 Feb 2010
Total Posts: 551
09 Apr 2015 09:53 AM
What danger is there in the server knowing of client goings-on? I don't quite understand.
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
09 Apr 2015 09:54 AM
I don't know really, I just heard.
Report Abuse
filiptibell is not online. filiptibell
Joined: 10 Mar 2013
Total Posts: 2362
09 Apr 2015 10:00 AM
What are you guys talking about?

The server can still access everything the player can.
But some children are not replicated from the player to the server.
As long as "Stats" is created server-side, this script should work.

~The herp lerped a derp~
Report Abuse
Cuyler is not online. Cuyler
Joined: 27 Feb 2006
Total Posts: 3784
09 Apr 2015 10:02 AM
Since the client needs direct access to the local PlayerGui, it would have to be modifiable by the client, therefore defeating the entire purpose of FilteringEnabled.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image