Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how to teleport a tool to a players humanoidrootpart? [closed]

Asked by 3 years ago

how do i do this plz answer

0
this isn't a script request site :/ NGC4637 602 — 3y
0
i can do it stay calm :D The_Saver31 260 — 3y

Closed as Not Constructive by JesseSong

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 3 years ago

When answering, if your answer does not fully solve the question, it should be written as a comment to the question instead of as an 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!

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. JesseSong 3916 — 3y
Ad