I know CFraming Is more Efficient but I would to know how to use the MoveTo Method I found this on the wiki but I dont really understand how to use it! I would consider using CFraming But I dont know how I would move the postition of a part to a players torso! Please Help! :D (Note: I dont want a request I Just would Like to know how to use it! :D)
:MoveTo()
moved the part that is operated on to the coordinates or position. For example, using game.Workspace.Part:MoveTo(0,0,0)
would move the Part in the workspace to the coordinates (0,0,0).
It is often used to move Players to certain positions by using :MoveTo on their Torsos, although CFraming is more efficient.
Would this work @SlickPwner I have a script that clones the "ClickDetector" and the "Script" the part forms but its not at the torso Position....
01 | Torso = script.Parent |
02 | script.Parent.ClickDetector.MouseClick:connect( function (char) |
03 | local cloned 3 = game.ServerStorage.Part:Clone() |
04 | cloned 3. Parent = script.Parent.Parent.Torso.Parent |
05 | script.Parent.Anchored = true |
06 | script.Parent.Part:MoveTo(Torso) |
07 | wait( 3 ) |
08 | cloned 3 :Remove() |
09 | script.Parent.Anchored = false |
10 |
11 | end ) |