here is a little part of the script
MiddleGui:FindFirstChild(InUseFrame):TweenPosition(
UDim2.new(0.5, 0,-1, 0),
Enum.EasingDirection.In,
Enum.EasingStyle.Back,
1,
true
)
it returned attempt to index nil with “TweenPosition”
here is a little part of the script
MiddleGui:FindFirstChild(InUseFrame):TweenPosition(
UDim2.new(0.5, 0,-1, 0),
Enum.EasingDirection.In,
Enum.EasingStyle.Back,
1,
true
)
it returned attempt to index nil with “TweenPosition”
What is the variable InUseFrame
assigned to? It seems that whatever it is, it isn’t the name of a child of MiddleGui.
That means that InUseFrame does not exist under MiddleGui. If you know for a fact that InUseFrame will be in Middle Gui (like at the start of the game when everything is loading), you can use :WaitForChild()
to find the name of the GUI . (at least 30 characters)
Try doing a WaitForChild.
May the Gui was not loaded.
alright my bad i forgot to put “.Value”
lol
Anyways that’s not a problem it usually happenes.