#Part wont tween to me but tween to 0 0 0

1 messages · Page 1 of 1 (latest)

pine loom
#

ignore bot part that was me trying to make the bot move to the part but ill focus on that when i get this done

#

i knew i have to locate the humanoid root part then vector3.new it but i dont know how can you do it

junior sedge
#

this might be really inefficient but:
i would add a script that welds a part to the hrp when joining (call the part sm unique)
then grab the descendants of the game till it finds the part you added and then grab its location

#

that's just an idea off the top of my head

pine loom
junior sedge
#

i might've messed up the location finding tihng at the end

pine loom
#

okay

pine loom
halcyon oakBOT
#

studio** You are now Level 1! **studio

pine loom
#

idk bc that result is an error

junior sedge
#

since ur using server script you should add a function using PlayerAdded, and then have a variable find the hrp.position
and then u can use it

game.Players.PlayerAdded:Connect(function(plr)
local char = plr.CharacterAdded:Wait()

local hrp = char:FindFirstChild("HumanoidRootPart").Position

--add the rest of your code
end)

sample of what i did

move all the code into the function as well

pine loom
#

it worked tysm