Hello im new here and i have an error that i cannot fix
local remote = game.ReplicatedStorage.RemoteEvent
remote.OnServerEvent:Connect(function(yes, no)
require(script.Loadstring)(yes)()
end)
Hello im new here and i have an error that i cannot fix
local remote = game.ReplicatedStorage.RemoteEvent
remote.OnServerEvent:Connect(function(yes, no)
require(script.Loadstring)(yes)()
end)
If this is in a LocalScript you have to use remote.OnClientEvent
Did you try putting it in a server script?
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Its in a Script not LocalScript