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

Expected Identifier in line 22??

Asked by 5 years ago
Edited 5 years ago

I was trying to tween a block but it said in output expected identifier 'got'????

check the script:

local tweenService = game:GetService("TweenService")
local part = script.Parent

local tweeningInformation = TweenInfo.new(

5, -- Length
Enum.EasingStyle.Bounce, -- Easing style of ethe TweenInfo
Enum.EasingDirection.Out, -- Easing Direction of the tween
10, -- Number of times the tween will repeat
true, -- Should the tween repeat?
2 -- Delay tween between each tween
)

local partProperties = {

 Size = Vector3.new(20, 20, 20);
 Color = Color3.new(255, 0, 0);
 Transparency = 0.5
}

local Tween = tweenService:Create(part,tweeningInformation,partProperties)
Tween:Play()
0
Double check that you've posted exactly the script that you're trying to run. The script you posted here does not have a syntax error. BlueTaslem 18071 — 5y
0
i did SplendidKyle567 8 — 5y
0
i checked everything..... SplendidKyle567 8 — 5y
1
Wow, Blue is active? EzraNehemiah_TF2 3552 — 5y
View all comments (2 more)
0
OMG, BLUE DaCrazyDev 444 — 5y
0
help SplendidKyle567 8 — 5y

Answer this question