I’m trying to enable a player script local script that I have disabled on a click of a button using a regular script.
I tried using a RemoteEvent but I cant seem to get this to work, would there be a more efficient or proper way to do this?
local function onPlayerAdded(player)
script.Parent.RemoteEvent:FireClient(Player)
game:GetService("Players").LocalPlayer.PlayerScripts.Client.Disabled = false
end