I have a problem with the remote event. I wanted to re-make a owner only door, but got an problem. when the player passes the "test" that he's owner, then I fire his client by RemoteEvent. But nothing happends. There are 2 scripts
"Script"(location: workspace["Owner Only Door"].Door)
script.Parent.Touched:Connect(function(player) if player.UserId == game.CreatorId then game.ReplicatedStorage.TestPassed:FireClient(player) end end)
And "LocalScript"(location: game.StarterPlayer.StarterPlayerScripts)
game.ReplicatedStorage.TestPassed.OnClientEvent:Connect(function() workspace["Owner Only Door"].Door.Transparency = 0.5 workspace["Owner Only Door"].Door.CanCollide = false end)

2 comments
Hello, thank you for help! I actually don't understand how I forgotten this...
No problem, its ok, it happens