I tried to make a Gui that pops up every 10 seconds for every single player at the same time (in the server) but sometimes for some players the gui’s text and the buttons are stretched.
it will remain looking like this for them until they rejoin the game. My script doesn’t affect any scale or position. The script only makes the frame visible.
Can you give us a screen shot, and your script?
Hey! How did you scale the GUI? With offset or with size?
If possible, could you show me a screenshot of the GUI and the properties?
Do you mind showing us a screenshot?
We kinda need a screenshot for anyone to help you. you can easily take a screenshot by using:
Win+PrtSc ( If you dont have windows, you can look it up.)
Try looking at the output and see if there is anything mentioning the script or any errors.
Here is the script (local script inside startergui):
local remoteEvent = game.ReplicatedStorage.EventAlert
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local gui = playerGui:WaitForChild("EventAlert")
remoteEvent.OnClientEvent:Connect(function(plr)
playerGui.EventAlert.Frame.Visible = true
playerGui.EventAlert.FrameOutlines.Visible = true
wait(7.5)
playerGui.EventAlert.Frame.Visible = false
playerGui.EventAlert.FrameOutlines.Visible = false
end)
I use scale. If there are any other properties you need then let me know.
Do you have text scaled to true?
yes, i do. i just want to know what makes the gui stretched out
Could you show a screenshot of your explorer?
It could be because of a UI constraint.
i do have UICorner, but thats it. Could it possibly cause any positioning problems?
No. A UICorner cannot affect a GuiObject’s position or size. I thought it could be a UISizeConstraint or a UIAspectRatioConstraint but you don’t seem to have one.
It could be because of your GUI’s properties.
It could also be because the rest of the GUIs aren’t parented to the frame.
Hmmm. Put the text and the Accept/Decline Button into the Frame so that they’re the children of the frame. If it this still doesn’t fix the problem, let me know.
You probably aren’t using scale for all the objects like the buttons or whatever they’re inside of
no, i just checked, everything is using scale.
they are already in the frame.
also i just noticed that the same thing is happening to other guis aswell.
Yeah but only scale. If they has any offset on top of that scale then it will do that.
well, it doesn’t have any offset at all.
Hi! I recommend using an AutoScalling system that’ll:
A) ensure that you actually scaled it with size (not offset)
B) add a UIAspectRatio
If you’d like I can send you some plugins that might be able to help!