Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

When I rebirth it sets my rebirth to 2501 when its suppose add 1 at a time what shoud i do?

Asked by 4 years ago
01local open = false
02local player = game.Players.LocalPlayer
03 
04script.Parent.RebirthButton.MouseButton1Click:Connect(function()
05    if open == false then
06        script.Parent.Frame.Visible = true
07        script.Parent.Frame.Requirements.Text = "You need "..(player.leaderstats.Rebirths.Value+1*2500).." to rebirth."
08        open = true
09    else
10        script.Parent.Frame.Visible = false
11        open = false       
12    end
13end)
14 
15script.Parent.Frame.RebirthButton.MouseButton1Click:Connect(function()
View all 27 lines...
0
You do realise that on line 22, you made it add 2,500 instead of 1? Maybe try that/ aadenboy 17 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

You need to remove line 22 because it is saying that it is adding 2500 to rebirths.

Ad

Answer this question