I have a title text that always appears at the bottom of the screen. I can't seem to bring it down any lower so I disable it, and script it to enable. Then, after that, I put in a tweening code, and all of a sudden, none of the code works at all
-- Local Values -- local parent = script.Parent local tweenService = game:GetService("TweenService") local tweeningInformation = TweenInfo.new( 1, -- Length Enum.EasingStyle.Bounce, Enum.EasingDirection.In, 1, -- # of Repeats true,-- Should it repeat? 1 -- Tween delay ) local partProperties = ( Size = Vector3.new(433,73,0) Color = Color3.new(255,255,255) Transparency = 1 ) local Tween = tweenService:Create(part,tweeningInformation,partProperties) ---------------------------------------------------------------------- -- Text Visibility -- wait(9.7) parent.Visible = true ---------------------------------------------------------------------- Tween:Play()
This is the code I have in. Is there something wrong with the code?
partproperties have to be used with { and } instead of ( and ) this is how i mean it should look like
-- Local Values -- local parent = script.Parent local tweenService = game:GetService("TweenService") local tweeningInformation = TweenInfo.new( 1, -- Length Enum.EasingStyle.Bounce, Enum.EasingDirection.In, 1, -- # of Repeats true,-- Should it repeat? 1 -- Tween delay ) local partProperties = { Size = Vector3.new(433,73,0); Color = Color3.new(255,255,255); Transparency = 1 } local Tween = tweenService:Create(part,tweeningInformation,partProperties) ---------------------------------------------------------------------- -- Text Visibility -- wait(9.7) parent.Visible = true ---------------------------------------------------------------------- Tween:Play()