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

Expected "}" (to close '{' at column 54) got ')' Error while typing script?

Asked by
WishXVI 94
4 years ago
local tween = TweenService:Create(camera, TweenInfo {CFrame = CFrame.new(petClone.PrimaryPart.CFrame.lookVector *5) + Vector3.new(0,0.75,0)) ,petClone.PrimaryPart.Posistion.})

Note that this is all 1 line and for some reason that is broken or maybe i'm not typing it right

0
Posistion at the end of the line. Also CFrame.lookVector. Also. you put an extra end bracket at Vector3.new() I suggest you fix the errors. Dovydas1118 1495 — 4y
0
wait can you send a script in answers please i'm dumb and also if a mod sees this then sorry for asking for the script i just don't know how to do this WishXVI 94 — 4y

1 answer

Log in to vote
2
Answered by
Subsz 366 Moderation Voter
4 years ago
Edited 4 years ago

Your code is full of typing errors.

local tween = TweenService:Create(camera, TweenInfo.new(2), {CFrame = CFrame.new((petClone.PrimaryPart.CFrame.LookVector *5) + Vector3.new(0,0.75,0),petClone.PrimaryPart.Position})
Ad

Answer this question