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: How should I handle this?

Previous Thread :: Next Thread 
LilMcManiac is not online. LilMcManiac
Joined: 31 Oct 2011
Total Posts: 2812
08 Apr 2017 05:58 PM
If I were to give the player, a limited amount of time to sprint;

I would put a value on the client.
But, then he could exploit the value and give himself unlimited sprint.
Should I invoke the server, and check the value? If so, what would be the proper way of doing that?

Also, another way I was thinking is, for every player added to the game, add a folder holding these type of values? And when they want to sprint, invoke the server, and then have it handle the value.

Which way would be the best way? And the best exploit-proof way?

I think #2 would work the best, but then again that's me.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
08 Apr 2017 06:12 PM
Tell the server you want to sprint
Let the server make sure you have enough sprint and change their walkspeed on the server
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
08 Apr 2017 06:37 PM
you can just bind a remote event to input began and check the information there if you want to do server sided keybinds
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
08 Apr 2017 06:37 PM
and exploiters can still change their own walkspeeds
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
08 Apr 2017 06:46 PM
Yes except that you can check if it's different from the server's.
Report Abuse
RoyalBobby202 is not online. RoyalBobby202
Joined: 16 Apr 2011
Total Posts: 458
08 Apr 2017 07:02 PM
handle it with care
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
08 Apr 2017 10:57 PM
ye but..
they can just change client sided code :(
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
08 Apr 2017 11:01 PM
"they can just change client sided code :("
Well yes, but you can check if they've changed it. Or do something hacky like keep cloning that localscript to the client. Or perhaps just parent it to nil to trick 99% of the people trying to exploit your game since most of them are stupid anyways.
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
08 Apr 2017 11:02 PM
or mayb u can just use humanoid.Running to check ws
Report Abuse
loomis0523BC is not online. loomis0523BC
Joined: 08 Jan 2015
Total Posts: 764
09 Apr 2017 12:24 AM
make a script that if the value is > 10 it will kill the player


#code
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
09 Apr 2017 01:32 AM
just use running, should be reliable

i think it only fires while your character is capable of walking too so unless people get flung across the map running would be a better way to check other than velocity
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