Help to fix my script pop up

hello i created pop up system in roblox studio which shows how much you get, but here’s the trouble: when you enter the game, this pop-up pops up for you, help fix it, here’s a vider on the right in the corner you can see how I get pop-up help fix

It would be nice to have more information on this, and I’m not the best scripter, but could you add some sort of bool to the function to add stats / generate these? (assuming you arent using .Changed), which would also probably help for not showing a negative popup when buying something

Excuse me, what is a bool, can you elaborate?

A bool is just a true/false variable. You could use it and only display if the bool is set to true inside of said function.

Documentation page here

Hello, if the gui is in startergui, it will always show, and please give us more information on how the script is made

That is, you mean when a player enters the game, he does not appear, right?

I mean, whenever someone is getting their stats after loading in, the popup would not appear.

my script from this video nursery can find my script then I will throw it to you

If I’m confusing, I’m sorry. I don’t comment on posts like these often, and I’m not the best at explaining things, but I try

myy script animation parent in replicatedStorage

wait(0.1) script.Parent:TweenPosition(UDim2.new(script.Parent.Position.X,0,-0.1,0))
wait()

for i = 1,20 do
script.Parent.Rotation += 1
script.Parent.TextStrokeTransparency += 0.05
script.Parent.TextTransparency += 0.05
wait(0.05)
end

The same thing is happening in the video
The problem = every gui in startergui always gets enabled no matter what

You should avoid using startedGui for the pop ups

dont use devforum for such questions because it can be solved by yourself. To fix the pop-up issue in Roblox Studio, you can add a condition to trigger the pop-up, such as when a player touches a specific part or when a certain event occurs in the game. You can use an if statement or an event listener to achieve this.

How to make a pop up gui in Roblox studio! - YouTube
How to make Currency Change Popup! [Roblox Studio] - YouTube
How to make a GUI Pop Up After You Touch a Part On Roblox Studio - YouTube

I don’t need it when the player gets up on the block, I need it when the player pumps my strength, something else is given to him pop-up, and not here are the links that you threw off the video

And how should I be where to insert these scripts then?

local strengthValue = --[[ get the IntValue representing the player’s strength ]]

strengthValue.Changed:Connect(function(newValue)
if newValue > strengthValue.Value then
– trigger the pop-up
end
end)

To trigger the pop-up when the player increases their strength, you can add a condition to check if the player’s strength has increased and then trigger the pop-up. You can use an if statement or an event listener to achieve this

Write this script in ReplicatedStorage ?

You say “you can decide on your own”, but am I new to writing scripts?

ok sure
local replicatedStorage = game:GetService("ReplicatedStorage") local newScript = Instance.new("Script", replicatedStorage) newScript.Name = "MyScript" newScript.Source = "-- write your code here"