Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Teleport to Weakest Dummy
- local dummyName = "Weakest Dummy"
- -- Function to find the dummy and teleport
- local function teleportToDummy()
- for _, object in pairs(workspace:GetChildren()) do
- if object:IsA("Model") and object.Name == dummyName then
- -- Teleport to the dummy's position
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = object.PrimaryPart.CFrame
- print("Teleported to " .. dummyName)
- return
- end
- end
- print("Dummy not found!")
- end
- -- Call the teleport function
- teleportToDummy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement