I did this: It detects the signal and transfers it from a Local Script to a Script but the Remove event doesn't do anything... and it only works on Studio Test Mode... Can someone help? Local Script:
function Remove()
print(1)
game:FindFirstChild("ReplicatedStorage").RemoteEvent:FireServer("remove",game.Players.LocalPlayer)
end
--\/ Remove Event
game.Players.PlayerRemoving:Connect(Remove)
Using a Remote Event to transfer the signal
Script
function Check("Word")
print(2)
If Word == "Remove" then
--Removing scripts
end
game:FindFirstChild("ReplicatedStorage").RemoteEvent.OnServerEvent(Check)

1 comment
when i test it with someone else and Purposely leave the game it does nothing.