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

Gui frame and button move around on different screens how to fix??

Asked by 3 years ago
Edited by raid6n 3 years ago

So basically i have a donate button on my game however it moves around on everyones screen they use just wonder how can i stop this its so annoying. I have autoscale lite plugin but still nothing works I have even set the anchor point to different number still breaks.

openbutton.MouseButton1Click:connect(function()
    Donate_Frame.Visible = true
    openbutton.Visible = false
end)

donate1.MouseButton1Click:connect(function()
    MarketplaceService:PromptProductPurchase(player, product1)
end)

donate2.MouseButton1Click:connect(function()
    MarketplaceService:PromptProductPurchase(player, product2)
end)

donate3.MouseButton1Click:connect(function()
    MarketplaceService:PromptProductPurchase(player, product3)
end)

donate4.MouseButton1Click:connect(function()
    MarketplaceService:PromptProductPurchase(player, product4)
end)

cancel.MouseButton1Click:connect(function()
    Donate_Frame.Visible = false
    openbutton.Visible = true
end)
0
So, do you mean the gui is moving on the screen or not fitting properly on the screen? BestCreativeBoy 1395 — 3y
0
What is the Size, Position, and AnchorPoint on the donate button User#30567 0 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago
Edited 3 years ago

If it's the issue of gui button not fitting properly on different resolutions, you can try using AutoScale Lite plugin. I personally use AutoScale Lite to scale them according to player's resolution.

Lemme show you the proper way of doing that (that I personally use), Just click on Unit Conversion and another Gui with Position and Size will come.

Just click on your GUI button, click on Scale in Position and Size in the Unit Conversion GUI.

Lemme know if it helps!

0
I did all that and it still doesn't work MEZYPLAYS 0 — 3y
0
That's strange BestCreativeBoy 1395 — 3y
Ad

Answer this question