Here is more details.
game.ReplicatedStorage.Server1.OnServerEvent:Connect(function()
local player = game:GetService("Players").LocalPlayer
game:GetService("TeleportService"):Teleport(4931146666,player)
end)
this is a script normal script inside serverscriptservice. When server 1 is fired from a localscript then it should teleport the player to another place. Why do i get invalid player to teleport if local player = game.Players.LocalPlayer that is good why do i get this problem
