RM.OnServerEvent:Connect(function(plr)
local ValueB = plr.Balloons
while true do
wait(1.2)
if plr.Bool.Value == "On" then
plr.leaderstats.Balloons.Value = plr.leaderstats.Balloons.Value + ValueB.Value
plr.PlayerGui.PartyClown.TextLabel.Text = ValueB.Value
plr.PlayerGui.PartyClown.TextLabel:TweenPosition(UDim2.new(0.655, 5,0.449, 0),"Out","Elastic",0.3,true)
wait(0.6)
plr.PlayerGui.PartyClown.TextLabel:TweenPosition(UDim2.new(0.5, 5,1, 0),"Out","Elastic",0.3,true)
else
break
end
end
end)
Im going to explain so theres a string Value the stringValue.Value is On when another script make it to "off" it wont break,im doing something wrong here,but i cant know what!

1 comment
Remove the break after the else and make the else line "else then return end". Then do one end then the break.