
10.1k Views
2 Executions
Help me to make an Walk into item
Universal Script 📌Uploaded by 2 years ago
Please login to perform these actions:
Description
i want to make an script in rng game that walking into item i can only do tp can someone give me an example so i can figure it



Moondiety Script | 17+ supported Games



@Scripter @Breadido thank you so much guys now i know how to do it thanks <33
learn how to use pathfinding service
local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") local collectibles = game.Workspace.Collectibles:GetChildren() for _, collectible in ipairs(collectibles) do local targetPosition = collectible.Position humanoid:MoveTo(targetPosition) humanoid.MoveToFinished:Wait() --wait until the character reaches the position end -- i hope this helps