![Anime Defenders [🗿RAIDS]](/images/script/17017769292-1717336536689.webp)
64.4k Views
Join player Require script
Anime Defenders [🗿RAIDS]Uploaded by 2 years ago
Please login to perform these actions:Description
i need auto join player sceipt for farm in hubs these doesnt work and my code doesnt work too Mu code is while wait(5) do local pl = game.Players.LocalPlayer.Character.HumanoidRootPart local Him = game.Players.Myusername local me = game.Players.LocalPlayer.Character.HumanoidRootPart me.CFrame = CFrame.new(Him) end
Comments
2

Offline
DinoZ 2 years ago - Edited
u tryna get "Him" CFrame but u only try to get his "DisplayName?" ( try use real name ), so its like this
local Target = "Impostor" -- player name u wanna tp to it here
while wait(5) do
local me = game.Players.LocalPlayer.Character.HumanoidRootPart
me.CFrame = game.Players[Target].Character.HumanoidRootPart.CFrame
end
Offline
katze7500 2 years ago - Edited
while wait(5) do
local Players = game.Players
local localPlayer = Players.LocalPlayer
local targetPlayer = Players:FindFirstChild("impostor") -- replace "impostor" with the correct username
if targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart") then
local me = localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart")
if me then
me.CFrame = targetPlayer.Character.HumanoidRootPart.CFrame
end
else
warn("Target player or their HumanoidRootPart does not exist.")
end
end
_____Finding the Target Player: Players:FindFirstChild("impostor") will find the player with the username "impostor". Replace "impostor" with the correct username.
Checking Existence: The script checks if the target player and their HumanoidRootPart exist. This prevents errors when trying to reference parts that don't exist.
Moving the Player: If everything exists, it sets the CFrame of the local player's HumanoidRootPart to the target player's HumanoidRootPart.

![[🎉 RELEASE] Anime Astral Simulator](/images/script/113236157544232-1780333729144.png)
Voxle Hub
