Hey guys, so I have no clue if this has been asked somewhere, which I’m sure it has. Anyways, i’m just wondering if it’s possible to use RemoveEvents for example, tycoon doors for owners only. I haven’t worked with RemoteEvents much but im stuck.
Yup! The server can send a remote event to the client to tell it that they own the tycoon. Then when the client receives the event, the client can disable collisions.
using RemoteEvents is useless, a simple .touched connection (or click detector) with a check will work
you don’t need remote events, just handle this on the client using touched event
Ok thats what I have used, thank you so much for the reply though. I was just a bit confused about how the remotes worked as ive seen people use them
You may have issues loading the platform, roblox is currently down, just letting you know.
Thanks so much for getting back to me, I really appreciate that! Can you explain more, as would you use something like player.touched?
Fairly simple. This can be done on the server, to be honest. No reason to give the client direct control over when the door should be opened.
tycoonDoor.Touched:Connect(function(obj)
-- Verify the object is a player using GetPlayerFromCharacter and then check if that player is the owner
end)
I see! Thank you very much for getting back to me.