local player = game.Players.LocalPlayer or game.Players.PlayerAdded:Wait()
local char = player.Character or player.CharacterAdded:Wait()
local Energy = player:WaitForChild("Values").Energy
local EGgui = script.Parent
Energy:GetPropertyChangedSignal("Value"):Connect(function()
local EGChange = Energy.Value/100
EGgui:TweenSize(UDim2.new(EGChange,0,1,0),"In","Linear",1)
end)
COMMUNITY QUESTION
Attemp to index nill with "TweenSize"??
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
make sure that EGui is an Instance that can tween