What the script is using:
/ StarterGui / ScreenGui / Frame LocalScript
Script:
local Player = game.Players.LocalPlayer
repeat wait() until Player.Character:FindFirstChild("Torso")
if script.Parent.Size.X.Offset == 100 then script.Parent.Size.X.Offset = script.Parent.Parent.AbsoluteSize.X script.Parent.Size.Y.Offset = script.Parent.Parent.AbsoluteSize.Y end

5 comments
I had also checked my other post and found a problem with the Gui reference
You should use more variables. It make your code clear to read.
yes but i asked how to fix this and i do understand the varriables thing
Please also put your code in a code block
how would i make a code block?