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

Whats wrong with this script?

Asked by 9 years ago

This script isn't working in the game but it works just fine My friend said there's something wrong with line 27 and directed me here. that's the image link to the script.

http://prntscr.com/8d3mgt

2 answers

Log in to vote
0
Answered by 9 years ago

You cannot insert vectors in CFrames. Use this instead

CFrame.new(1840, 11.199, 1398)

http://wiki.roblox.com/index.php?title=CFrames

Ad
Log in to vote
0
Answered by 9 years ago

Found out

Put CFrame.new(Vector(1840, 11,199, 1398)

Supposed to put CFrame.new(Vector3.new(1840, 11.199, 1398))

Answer this question