How can I see when a value hits zero in another script, then 'send' that info to my script?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

Basically the title

  1. What is the issue? Include screenshots / videos if possible!

I cant figure out how to do it.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I looked and found some stuff about remote functions and events but I cannot understand it because I am too stupid so I need some help.

Depends if you want to cross the server/client boundary or not. If so then you might want to take a look at remote functions and events. Otherwise, you might want to check bindable functions and events.

1 Like

its for a map/stage change so i dont really know, but i want all players to see the change and it affect them.

local value  = -- define the value
value.Changed:Connect(function()
    if value == 0 then
    
    end
end)
2 Likes

Ahhhhhh thank you good sir/madam, that was really helpful!

1 Like