So the thing is that when the player touched the object, it fires the remote event for the client and once fired, a gui will show, Any help?
-- Main Script coded in a Script
local function acti()
_G.Wall1.Disabled = false
_G.Wall2.Disabled = false
game.ReplicatedStorage.RemoteEvent:FireClient()
end
script.Parent.Touched:Connect(acti)
-- Receiver coded in a Local Script:
local function activateSpook()
script.Parent.Enabled = true
end
game.ReplicatedStorage.RemoteEvent.OnClientEvent:Connect(activateSpook)

2 comments
Which line gives that error?
Line 5 In main script