Still have questions? Join our Discord server and get real time help.
0

# How do I get the player that fires an event?

I am working on a script where a button will fire an event and a script in serverscriptservice will run a function. I need the script to clone a tool in the player that fired the events backpack.

6
It's automatically the first parameter Vulkarin 581 — 2y
0
LMFAO ^ greatneil80 2246 — 2y

RemoteEvent.OnServerEvent:Connect(function(player) end) Now of course you don't put any parentheses if your function is instantiated before connecting, so put that parameter in the function that is used.