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
 

Banning suspected exploiters

Previous Thread :: Next Thread 
Dodeca is not online. Dodeca
Joined: 11 Sep 2011
Total Posts: 13649
20 Aug 2016 03:54 AM
Let's say an IntValue's value gets changed on the client side that is never supposed to be changed. Would a localscript pick up the .Changed event if the player used a third party program to change it?
Report Abuse
bosswalrus is not online. bosswalrus
Joined: 04 Jan 2013
Total Posts: 5430
20 Aug 2016 03:55 AM
why would someone change the IntValue
Report Abuse
vexieh is not online. vexieh
Joined: 22 Oct 2009
Total Posts: 3468
20 Aug 2016 03:59 AM
Pretty sure a LocalScript could detect that yeah, you could probably use a RemoteEvent to compare the local value and the server value of the IntValue.


Report Abuse
Dodeca is not online. Dodeca
Joined: 11 Sep 2011
Total Posts: 13649
20 Aug 2016 04:00 AM
@boss
my game is going to use intvalues in guis that should be read-only
Report Abuse
vexieh is not online. vexieh
Joined: 22 Oct 2009
Total Posts: 3468
20 Aug 2016 04:01 AM
Compare inside the LocalScript of course, although it's not a perfect method you could try something like this

local ServerInt = game.Workspace.FetchIntEvent:FireServer()
local Player = game.Players.LocalPlayer
local Leaderstats = Player:WaitForChild("leaderstats")

if(ServerInt == Leaderstats.IntValue.Value)then
print("Number is the same on both the client and server")
else
print("Number is not the same")
end




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