Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

[GUI] Why Doesnt This Work?

Trying to make a Level Up Bar

 player = game.Players.LocalPlayer
while true do
	wait()
if player.Level.Value >= 10 then
	script.Parent:TweenSizeAndPosition(UDim2.new(0, 50,0, 75), UDim2.new(0, 675,0, 475), "Out", "Quad", 1) 
end
if player.Level.Value >= 20 then
	script.Parent:TweenSizeAndPosition(UDim2.new(0,150,0, 75), UDim2.new(0, 675,0, 475), "Out", "Quad", 1) 
end
end

4 comments

1

What does it do, and what does it not do? And maybe you should just tween the size.

0

but then the position would move wouldnt it>

0

it dosent need to move position... you have it changes the size but the position stays the same, so no need to tweenposition

0

Ok Ill try it

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.