Universal Script 📌
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

View Raw
Edited By: Shenanigga Download


Comments

3
Log in to join the conversation. Login
Shenanigga's profile picture
ShenaniggaUploader2 years ago(edited)

@Scripter @Breadido thank you so much guys now i know how to do it thanks <33

1
Dexemox's profile picture
Dexemox2 years ago(edited)

learn how to use pathfinding service

1
Kona's profile picture
Kona2 years ago(edited)

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

1