so i’m making a tower defense game i got some crazy ideas in my head and i need to get them out
anyways im handling tower placement right now and theres a problem
on the client i have this line TowerEvent:FireServer(self.Model, self:GetUniqueName(), finalPosition)
see the problem with this is that i pass through the position and exploiters can abuse this really really easily…so how would i get around this?
Very few details given here. You are firing the position of where the tower is to be placed to the server, correct? How could this be abused? The only problem would be placing towers out of bounds or on the road area where enemys come through, so you would have a check to make sure the requested position doesn’t align with the road or is out of bounds, could use ZonePlus for example
forgot to update this but after a long day of headaches from playing a stupid game i came back and realized its two height checks for below and above where all towers would be placed so its already fixed
thanks for the help anyway