Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-3

[GUI] Why Doesnt This Work?

Asked by 10 years ago

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
1
What does it do, and what does it not do? And maybe you should just tween the size. GoldenPhysics 474 — 10y
0
but then the position would move wouldnt it> Timster111 25 — 10y
0
it dosent need to move position... you have it changes the size but the position stays the same, so no need to tweenposition NinjoOnline 1146 — 10y
0
Ok Ill try it Timster111 25 — 10y

1 answer

Log in to vote
0
Answered by 6 years ago

this is terrible use size only dont tween

Ad

Answer this question