I want to move the gui from the center to the left out of the screen and I have this script here:
local TweenTable = { } local tweeninf = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0) local tweened = TweenService:Create(Frame5, tweeninf, TweenTable) tweened:Play()
How do I use the property table definition for gui's?
It needs to have the property and the value like so:
{CFrame = CFrame.new(0,0,0)} -- (property) = (value) {Value = 10} -- yes it can be used for tweening values
Hope this was explained well Edit: Quick note: you don't define it like object.Value, you just put the property's name (Value).