Hello, I was trying to make a donation GUI. But when other devices’ screen scales come, it doesn’t be scaled and doesn’t move. I tried the plugins too but it didn’t work. And I realised that there was no) choice but getting a help. So, anyone can help? Also, here’s the video of this problem:
GUIs will usually offset to fix this you may need to have a auto correction script here is an example
local PropertyService = game.ServerScriptPlatform:GetPropertyService("UIService")
PropertyService:SetDefault("ScaleMode", "Stretch")
We can utilise the PropertyService to autofit for your screen
To use this code insert this code into the LocalServer script
The code can be placed in either the screen GUI or the frame, as it just needs to be placed within a LocalServerScript to function correctly.
You can place the code in whichever GUI element is more convenient or ideal for your game, as long as it’s in the LocalServerScript.
If you need more guidance you can reply to this and I’ll be with you as soon as I can
I see you already have a local script you can put this into your script or if you want I could make it more versatile and do it for you
now i got this error
The error message ‘ServerScriptStorage is not a valid member of DataModel’ indicates that you are trying to access an invalid property or method when using the ServerScriptStorage service.
ServerScriptStorage is a service that manages and stores scripts on the server for a specific Roblox game. It provides the ability to access a variety of services and perform various actions related to scripts.
The specific error message ‘ServerScriptStorage is not a valid member of DataModel’ most likely occurs due to a misaligned property name or argument.
Here is the code to add to your LocalScript:
local ss = game:GetService("ScriptStorage")
ss.LocalScriptStorage = game.Players.LocalPlayer
Note: Sorry for the long wait I’ve got school and I’m developing a game myself and it took me a bit of a while to fix it since my specialty is in building
I’ll try this 2 weeks later because i have to work to exams