I want the color of the block to tween to orange but it wont work..
local this = script.Parent local tweenService = game:GetService("TweenService") local tweenInformation = TweenInfo.new( 2, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 10, false, 2 ) local partProperties = { Color = Color3.new(255, 176, 0) } local tween = tweenService:Create(this,TweenInfo,partProperties) wait "10" tween:Play()
I try to avoid tweening as much as I can but there are sometimes where it's more relevant, example: GUIs, Changing the size of the part (AKA, these are easier to tween without looping)
In your case, switching the brick color is easy and can be done without tweening.
wait(10) --It seems like you want to wait 10... script.Parent.BrickColor = BrickColor3.new("Bright orange")
Accept answer if it helped to mark this answered. If you need tutorials on tweening, see around the roblox wiki. Judging by your 'wait "10"' line, I feel safe to assume you are a beginner. So yeah, hope this did help.