Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how to teleport a tool to a players humanoidrootpart?

how do i do this plz answer

2 comments

0

this isn't a script request site :/

0

i can do it stay calm :D

1 answer

I believe you could use Vector3.new but I may be wrong. For example, you could do this:

local tool = -- GET THE TOOL HERE
local Player = -- GET THE PLAYER HERE
local Handle = tool.Handle

local TeleportTo = Player.HumanoidRootPart.Position

-- An Event could go here requesting the Player and tool
Handle.Position = Vector3.new(TeleportTo.X, TeleportTo.Y, TeleportTo.Z)

This is something I just wrote up so I don't fully know if it works.

Enjoy!

1 comment

0

Do NOT take answer a question that is requesting for scripts. They will not learn much of scripting and potentially loose motivation once they an obstacle.

This discussion is preserved as it was. New answers, comments, and votes are closed.