Hello again! I’ve been trying to use Remote Events to enable and disable a bool value in PlayerGui. For some reason, it doesn’t work. I am using the script below:
DisablePlace.OnClientEvent:Connect(function()
local CanPlace = script.Parent:FindFirstChild("CanPlace").Value
CanPlace = false
end)
EnablePlace.OnClientEvent:Connect(function()
local CanPlace = script.Parent:FindFirstChild("CanPlace").Value
CanPlace = true
end)
Please note that the script is also located in PlayerGui.
Thanks!
I see no problems with that, so I suspect the problem might be on the server. Could you show me the script where it fires that remote event to the client?