Advertisement
ILovePotato

Untitled

Jan 24th, 2025
19,824
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. -- Teleport to Weakest Dummy
  2. local dummyName = "Weakest Dummy"
  3.  
  4. -- Function to find the dummy and teleport
  5. local function teleportToDummy()
  6. for _, object in pairs(workspace:GetChildren()) do
  7. if object:IsA("Model") and object.Name == dummyName then
  8. -- Teleport to the dummy's position
  9. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = object.PrimaryPart.CFrame
  10. print("Teleported to " .. dummyName)
  11. return
  12. end
  13. end
  14. print("Dummy not found!")
  15. end
  16.  
  17. -- Call the teleport function
  18. teleportToDummy()
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement