|
I forgot the script, and I can't find it in the wiki, can anyone paste it, its kind of a request, but the script is in the wiki, I just can't find it. |
|
|
Model:MoveTo(Vector3.new(X,Y,Z))
There you go :P |
|
|
|
:MoveTo(CFrame.new(Vector3.new(X,Y,Z))
Works better :o |
|
|
Sorry
:MoveTo(CFrame.new(Vector3.new(X,Y,Z)))
Lacked a closure.
> SoulStealer9875 has returned nil in this thread |
|
|
Soul, you fail. MoveTo takes an argument of type Vector3, and CoordinateFrame can not be cast to Vector3. |
|
|
or you could do this:
:MoveTo(CFrame.new(Vector3.new(x,y,z)).p)
O.o |
|
|
But that is the same as
MoveTo(Vector3.new(x,y,z))
... |
|
|
okay so everyone doesnt know. :P i bet i know someone that knows. Telamon? XD lol |
|
arundelJoin Date: 2008-04-21 Post Count: 5762 |
Just some know were they're talking about on this thread, use the examples they gave. |
|
|
|
MoveTo takes a Vector3.
There, sorted. We all know what to do. |
|
|
I like overcomplicating it. >:P |
|
|
ugleugleJoin Date: 2009-11-04 Post Count: 225 |
Im with you nick :P |
|
|
I like overcomplicating it. >:P |
|
|
"CoordinateFrame can not be cast to Vector3."
Actually, have you ever tried it?
game.Players.SoulStealer9875.Character:MoveTo(CFrame.new(Vector3.new(4, 5.4, 3)))
Works, doesn't it. |
|
|
Unable to cast CoordinateFrame to Vector3
Congratulations, moron. |
|
|
but you can get the vector3 of the cframe using CFrame.p |
|
|