Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

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

2 comments

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.

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

1 answer

✓ Accepted answer

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})

This discussion is preserved as it was. New answers, comments, and votes are closed.