Hey, I'm kind of new to this and I tried everything I could but I can't make my remove event fire on a clicker function here's the script. When a player clicks on a part they teleport, that part is fine but the only thing that isn't working is the RemoteEvent.
function onClicked(plr)
game.ReplicatedStorage.FadeScreenDoor:FireServer()
wait(1.20)
plr.Character.HumanoidRootPart.CFrame = CFrame.new(6.504, -35.341, 111.535)
end
script.parent.ClickDetector.MouseClick:connect(onClicked)

5 comments
is this in a local script?
you don't need a remote for this, you could just do it all in a regular script.
should it be a local script?
if you use fireserver, it needs to be a local script but i dont think they run in workspace.
Local Scripts only run in Instaces that are for the client, like StarterPlayer, PlayerGui, Backpack, PlayerScripts, etc.