#Remote Security
31 messages · Page 1 of 1 (latest)
Im not creative enough to think of a way of securing my remote function
So to Fire to Server from client
yeah
any exploiter can just invoke the server tho
Event.OnServerInvoke = function(player)
It’s just the same as A remote event
So just make the Event ownership to nothing
your talking about :SetNetworkOwner()?
Yep
How does setting the ownership of the Event to nothing fix the problem?
Or do a Bindable Event aka the anti hack
But don’t bind it to anywhere only create it inside the script but not parent it anywhere
how am i suppose to reference it on the server script?
So just make it to the player adding but create it the instance not inside the function
So I’m going to see what I can so I can do a example so I know what to do
So it might take like 4 to 5 minutes
wait
before you do that
to fire the remote event you need to buy a developer product
so can i just use ProcessReceipt on a server scirpt
Is it to increase something or just to do something else
Itll give the player something. However, I can move the script deciding what the player receives to the server-sided script.
so lets say u get a tool from the DevProduct and it costs $10Rbx
yeah
so what about do it from Sever to Client instead
since people are used to seeing Client to Server
so youre saying prompt the purchase from the server?
so what to do is just the same but the opposite```lua
Event.OnClientEvent:Connect(function(textbutton,smth) -- smth is a example
textbutton.MouseButton1Click:Connect(function()
-- to do something that gets the DevProduct
end)
end)