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: Is this script FE compatible?

Previous Thread :: Next Thread 
Barmoi is online. Barmoi
Joined: 21 Jun 2011
Total Posts: 3797
03 Dec 2017 07:31 PM
Yea Im reverting rn so idk


script:


local debounce = {}

game.ReplicatedStorage:WaitForChild("CoinGiverEvent").OnServerEvent:connect(function(player)
local Strength = player:WaitForChild("leaderstats"):WaitForChild("Strength")
if (not debounce[player]) then
debounce[player] = true;
Strength.Value = (Strength.Value + 10)
wait(2)
debounce[player] = nil;
end
end)


ʰᵉʸ ʷʰᵒ ᵐᵃᵈᵉ ᵐʸ ᵏᵉʸᵇᵒᵃʳᵈ ᵗᶦⁿʸ|R$99,273|~Rocks Owner & Lead VC'er|+2.3k posts
Report Abuse
128Gigabytes is not online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
03 Dec 2017 07:32 PM
looks like it'll work

but people are going to exploit your game and fire the event them self and get free money because you trust the client too much
Report Abuse
Barmoi is online. Barmoi
Joined: 21 Jun 2011
Total Posts: 3797
03 Dec 2017 07:35 PM
so how to fix that?


ʰᵉʸ ʷʰᵒ ᵐᵃᵈᵉ ᵐʸ ᵏᵉʸᵇᵒᵃʳᵈ ᵗᶦⁿʸ|R$99,273|~Rocks Owner & Lead VC'er|+2.3k posts
Report Abuse
128Gigabytes is not online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
03 Dec 2017 07:36 PM
The client has almost no reason to ever request the server give them money, so stop doing that and handle all currency awards server side.
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