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
 

FilteringEnabled question

Previous Thread :: Next Thread 
golangoal is online. golangoal
Joined: 26 Apr 2011
Total Posts: 185
12 Mar 2016 05:29 PM
When I use FE, does everything has to be called from a local script to a server script?
For example if pressing the key H sets my walkspeed to 100, the line of writing humanoid.walkspeed = 100 is supposed to be written in a server script or a local script?
Report Abuse
golangoal is online. golangoal
Joined: 26 Apr 2011
Total Posts: 185
12 Mar 2016 06:09 PM
?
Report Abuse
Flux_Capacitor is not online. Flux_Capacitor
Joined: 07 Apr 2008
Total Posts: 45720
12 Mar 2016 06:10 PM
Well, not everything.
And yeah you should invoke a RE/RF that changes the walkspeed after you press H or whatever.
Report Abuse
golangoal is online. golangoal
Joined: 26 Apr 2011
Total Posts: 185
12 Mar 2016 06:16 PM
I need to understand something, does FE prevent exploiters from changing the game no matter where I write the script(server or local)?
Report Abuse
golangoal is online. golangoal
Joined: 26 Apr 2011
Total Posts: 185
12 Mar 2016 06:18 PM
Because I tend to think that if something is written in a local script, then an exploiter can change things in it like switching his walkspeed and then the other players can see it which I don't want to happen.
Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
12 Mar 2016 06:19 PM
Just change the speed on the client, since it controls the character's physics anyways.
Report Abuse
golangoal is online. golangoal
Joined: 26 Apr 2011
Total Posts: 185
12 Mar 2016 06:23 PM
If you had to choose where to change the speed of the player in FE, would you choose to put it in local or server script? What you say is what I'll do.
Report Abuse
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
12 Mar 2016 06:24 PM
if you change it in the client the higher walkspeed might not show to other clients

or, it will

you'd have to get a friend to test with you and check


#Code print("Narwhals are our future")
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
12 Mar 2016 06:26 PM
Lord, it would because you can change local stuff with FE, which would allow a walkspeed change.


Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
12 Mar 2016 06:29 PM
Changing the speed on the client would cause the character's speed to increase, but the property change wouldn't replicate. So if you need other network peers to know the property was changed, change it on the server. Otherwise, change it on the client.
Report Abuse
golangoal is online. golangoal
Joined: 26 Apr 2011
Total Posts: 185
12 Mar 2016 06:33 PM
So you would use this?

--server

script.RemoteEvent.OnServerEvent:conenct(function(Player)
Player.Character.Humanoid.WalkSpeed = 100
end)


--local

game.Workspace.Script.RemoteEvent:FireServer()
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