WARNING!

Due to a spike in malicious scripts, we ask you to think twice before executing anything. If something appears too good to be true, it most likely is. Always test on an alt and report to the staff if you find rule breaking content.

Anime Defenders [🎉RELEASE]
18.6k Views
Free

Join player Require script

Anime Defenders [🎉RELEASE]Uploaded byShenanigga Shenanigga
2 months ago
Play Game

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

View Raw Edited By: Shenanigga
Edited By: ShenaniggaDownload
Comments
2
User profile picture

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

2 months ago
User profile picture

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.

2 months ago
Please Login to add comment.

Tags