After checking the distance between the positions (I put a maximum distance of 100) you will set the position and time variables to the new ones. If (humRoot.Position - thePosition).Magnitude >= 100 and (myTime - tick()) < 1 then The time thing is a extra that detects whenever this change happens in less than the time you let this happen, If you dont really need that then you can ignore the tick() and myTime. HumRoot:GetPropert圜hangedSignal("Position"):Connect(function() If so executing ability function from module Client creates hitbox Client fires a bindable event to create VFX on all clients Hit detected. So here how its work: Client detects if keybind is pressed. I did it but I got not idea how to do sanity checks. You need to use a server-sided object, or save the position of the client-sided object on the server and do sanity checks when the remote fires, for it to actually be secure. Hi So I decided to try and make client-sided hitboxes. Use this method to fire a function when the specified property changes What are Client-Side Only Lethal Company Mods Essentially, there are two kinds of mods: Client-Side Mods and Server-Side Mods. Edit: An exploiter will always be able to lie about a client-sided object there’s no such thing as an unexploitable object. Update the important infos (I am using wait(1) because thats when my distance limitation stops checking on the position) Local humRoot = char:WaitForChild("HumanoidRootPart") Get the important infos such as the original position of the root part and a time That’s precisely why it’s generally considered a waste of your time and won’t stop anyone who actually wants the script. You only cost them an extra 2 minutes of work unfortunately. Player.CharacterAdded:Connect(function(char) And then the stealer simply does Ctrl + Shift + F, types in Stolen script and then they have found your protection and delete it. To do this you would need something like that: - This is in the case you are doing in the server which is more secure Actually you could use the :GetPropert圜hangedSignal(“Position”) in the HumanoidRootPart.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |