If another dev teleports a user to my game, is there a way I can find which game that user came from?
Can I use teleport data for this? Is there a way to make it work without the other dev needing to specify teleport data?
If another dev teleports a user to my game, is there a way I can find which game that user came from?
Can I use teleport data for this? Is there a way to make it work without the other dev needing to specify teleport data?
game:GetService("Players").PlayerAdded:Connect(function(Player)
local TeleportData = Player:GetJoinData();
print(TeleportData.SourcePlaceId);
end);
Wow thanks. I was afraid the answer was “no”. This is awesome.
Exploiters have been doing this in their “Loading” places for a while.
@sjr04 is GetJoinData
different from this TeleportService
method?
You can call it from the server
What is a “loading” place? I don’t understand the exploit.
I think he meant a backdoor that teleports you to a Loading place.
Anyways, @Blokav that function is called only on the client. That’s the way you retrieve data when you teleport the player in a local script.
I believe it’s where you’re sent to a loop of places pretending it to be “Loading” when in reality it’s just racking up place visits. Could be wrong but I’ve seen it.
A lot of recent lua viruses (often hidden inside free models or plugins) send joining users to some “Loading” place that collects data on which game they teleported from, so the exploiter can build a list of places that have the backdoor in them, and know which ones they can go in and do their cheating.
edit: found another thread.
@sjr04 @Quwanterz Thanks for clearing that up for me!