-- Hello!
-- If you are unfamiliar with code, all you need to do is change the values of variables then press run
-- example : a = [insert value here]
-- then press run.
--
-- DM Shootthecreeperrr#4586 for help
--
-- STAR CALCULATOR:
-----------------------------------------------------------------------------------------------------------
-- variables IGNORE THESE SCROLL DOWN
-- this is the ONLY place where you will input values | If you get an error let me know
-- put **ALL** numbers in this form ( #e# : For example 1000 is 1e3, e = # of 0's [ ALWAYS LOWERCASE ])
RankMulti = Rank Multi -- do *NOT* put your rank. put the rank multipler
StarUpgrade = Amount Of Upgrades -- There are *450* in total, if you have none put 1
ChanceUpgrade = true or false -- if you dont have 100% in this leave as false (Req 10/10 Upgrades)
DoubleUpgrade = Amount Of Upgrades-- There are *25* in total, if you have none put 1
Rebirths = Amount Of Rebirths -- You always start at 1 so this should never be 1
StarEvent = Star Event -- if theres no event put 1
StarBoost = true or false
StarsGamepass = true or false
-- for this part if you dont have 13 pet slots fill in what you can otherwise put 0 *BESIDES* line 1 (otherwise everything = 0)
pet1 = value or 1
pet2 = value or 0
pet3 = value or 0
pet4 = value or 0
pet5 = value or 0
pet6 = value or 0
pet7 = value or 0
pet8 = value or 0
pet9 = value or 0
pet10 = value or 0
pet11 = value or 0
pet12 = value or 0
pet13 = value or 0
-- individual star calculations (put true for *ONE* only and false for the rest)
Tiny = true or false
TinyEnergized = true or false
Star = true or false
Big = true or false
Engerized = true or false
LargeEnergized = true or false
Ultra = true or false
Rainbow = true or false
RainbowEnergized = true or false
-- Your now complete! you can press 'run' or continue reading if your interested in the code
if StarUpgrade == 0 then
StarUpgrade = 1
else
StarUpgrade = StarUpgrade
end
if ChanceUpgrade == true then
ChanceUpgrade = 2
else
ChanceUpgrade = 1
end
if DoubleUpgrade == 0 then
DoubleUpgrade = 1
else
DoubleUpgrade = DoubleUpgrade
end
if StarBoost == true then
BoostV = 2
else
BoostV = 1
end
if StarsGamepass == true then
GamepassV = 2
else
GamepassV = 1
end
-- Stars
if Tiny == true then
a = (0.25)
end
if TinyEnergized == true then
a = (0.5)
end
if Star == true then
a = (1)
end
if Big == true then
a = (2.5)
end
if Engerized == true then
a = (4)
end
if LargeEnergized == true then
a = (10)
end
if Ultra == true then
a = (20)
end
if Rainbow == true then
a = (50)
end
if RainbowEnergized == true then
a = (100)
end
PetV = (pet1 + pet2 + pet3 + pet4 + pet5 + pet6 + pet7 + pet8 + pet9 + pet10 + pet11 + pet12 + pet13)
UpgradeV1 = (StarUpgrade * 1.1)
DoubleUpgrade = (DoubleUpgrade * 2)
Value = (UpgradeV1 * DoubleUpgrade * a * RankMulti * GamepassV * Rebirths * BoostV * ChanceUpgrade * StarEvent * PetV)
if DoubleUpgrade == 1 then
DoubleUpgrade = 'none'
end
if UpgradeV1 == 1 then
DoubleUpgrade = 'none'
end
if RankMulti == 1 then
RankMulti = 'none'
end
if GamepassV == 1 then
GamepassV = 'none'
end
if Rebirths == 1 then
Rebirths = 'none'
end
if BoostV == 1 then
BoostV = 'none'
end
if ChanceUpgrade == 1 then
ChanceUpgrade = 'none'
end
if StarEvent == 1 then
StarEvent = 'none'
end
print("Your total star multiplier is", Value)
print("")
print("Individual Star Values:")
print("")
print("Rank Multiplier: ", RankMulti)
print("Pet Multiplier: ", PetV)
print("Star Upgrades: ", UpgradeV1)
print("x2 Star Upgrade: ", DoubleUpgrade)
print("10% Star Chance: ", ChanceUpgrade)
print("Rebirths: ", Rebirths)
print("Star Event: ", StarEvent)
print("Star Gamepass ", GamepassV)
print("Star Boost: ", BoostV)
print("Star Type: ", a)
print("")
print("Thanks for using this! please report any issues to me!")
To embed this project on your website, copy the following code and paste it into your website's HTML: