game.ReplicatedStorage.ModeEvents.TynReleaseEvent.OnServerEvent:Connect(function() local eff = game.ReplicatedStorage.ModeEffects.TynReleaseEffect:Clone() end)
Above is the current snippet i'm dealing with, I want to make "eff"'s parent = to the player's torso.
The issue is, it's a server script, I don't know how to access the local player's torso
When you fire the server from the client the first parameter of .OnServerEvent
is the player, always.
So that would go like this:
game.ReplicatedStorage.ModeEvents.TynReleaseEvent.OnServerEvent:Connect(function(plr)
print(plr.Name.." has fired this remote event.")
--do other stuff here
end)