#(UIButton.MouseButton1Click) Event Server-side

1 messages · Page 1 of 1 (latest)

blissful mantle
#

Aparently MouseButton1Click can be listened to by server scripts , and so i wana know, are there drawbacks to using it? if not then i would use that instead of sticking to using remotes.

#

only possible issue i see is some other player being able to fire that event through scripting

#

which idk if they could

small mortar
#

depends what you mean

#

and also i dont see how this could help you achieve whatever given that, if you just handle the event + logic in one serverscript under a client based repo

#

thats bad practice

#

unlesss its a tool but even then

blissful mantle
#

if it isnt then ill just use it

#

since its a simpler aproach

gusty plank
# blissful mantle is it

Doing things like that can leave things vulnerable to exploits, aswell if you do things on the client it reduces the load on the server, so when you click a button on the client, it doesnt have to replicate it across all clients like it would if it were on the server

blissful mantle
#

and listening to a click event or to a remote event doesnt seem too different server load wise

#

aparently there are no actual drawbacks but it removes the need of one extra remote event