Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can i fix this problem with FilteringEnabled?

Asked by 6 years ago

i have a custom tool that has a reload time.

but i dont want exploiters to get to the event and fire it when its reloading so they can spam bullets. how can i accomplish this?

works something like this:

reloading = false

function fire()
    FE.Event.Shoot:FireServer() --Problem is here. if the client can access rep storage then cant they just evade having to reload and spam bullets? how do i prevent this
end

function click()
    fire()
    reloading = true
end
0
If you are really concerned with exploiters I would have the server keep track of reloading/cooldowns and then check everytime a player wants to "fire" if they are reloading/allowed to do so Vulkarin 581 — 6y
0
thanks buddy although i new that. i was still trying to figure out how i should try and approach the problem. but your comment gave me confidence and i just solved it. if i could upvote you i would. Bucwheed 37 — 6y

Answer this question