Gui local script
script.Parent.MouseButton1Click:Connect(function()
game.ReplicatedStorage.RemoteEvent:FireServer()
end)
script
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function()
-- Any code in here will run when RemoteEvent is triggered
script.Parent.MouseButton1Click:connect(function()
game.StarterGui.Teleport.Frame.Visible = true
end)
end)

1 comment
Is FE enabled