maybe the script needs to be redone, I just don’t know how much time and effort I spent
Are you familiar with breakpoints? You can try to use them to debug if the code is running or not, to see if it is a problem with the Aura.
Okay, I see, it’s hard for you with the aura, maybe someone else will help, or can you help make an abbreviation for buying classes?
I’m not sure, what would the abbreviation be?
I have the abbreviation script but I would like to add them to the class purchase and class boost
give you an abbreviation script or not, I have it in replicated store
Yes, post the script. The class boost can have an abbreviation applied but only after purchase. But I need to go in a few minutes so it might take a while until my next response.
-- by coocoo242/duckvember#3029 (ReplicatedStorage)
local module = {}
local abvs = {
"", -- 1-3 might not be so accurate idk i fell asleep while counting
"K", -- 4
"M", -- 7
"B", -- 10
"T", -- 13
"Qd", -- 16
"Qn", -- 19
"Sx", -- 22
"Sp", -- 25
"Oc", -- 28
"N", -- 31
"de", -- 34
"Ud", -- 37
"DD", -- 40
"tdD", -- 43
"qdD", -- 46
"QnD", -- 49
"sxD", -- 52
"SpD", -- 55
"OcD", -- 58
"NvD", -- 61
"Vgn", -- 64
"UVg", -- 67
"DVg", -- 70
"TVg", -- 73
"qtV", -- 76
"QnV", -- 79
"SeV", -- 82
"SPG", -- 85
"OVG", -- 88
"NVG", -- 91
"TGN", -- 94
"UTG", -- 97
"DTG", -- 100
"tsTG", -- 103
"qtTG", -- 106
"QnTG", -- 109
"ssTG", -- 112
"SpTG", -- 115
"OcTG", -- 118
"NoAG", -- 121
"UnAG", -- 124
"DuAG", -- 127
"TeAG", -- 130
"QdAG", -- 133
"QnAG", -- 136
"SxAG", -- 139
"SpAG", -- 142
"OcAG", -- 145
"NvAG", -- 148
"CT", -- 151
"TaCG", -- 154
"AnTG", -- 157
"YX", -- 160
"YaZQ", -- 163
"YXZ", -- 166
"NoEV", -- 169
"KoTG", -- 172
"TrAG", -- 175 dont know any more abbreviation so it become E
"e178", -- 178
"e181", -- 181
"e184", -- 184
"e187", -- 187
"e190", -- 190
"e193", -- 193
"e196", -- 196
"e199", -- 199
"∞"; -- infonate
}
module.abbreviate = function(number)
for i =1, #abvs do
if number < 10 ^ (i * 3) then
if abvs[i] == "∞" then
return "∞"
else
return math.floor(number / ((10 ^ ((i-1) * 3)) / 100)) / (100)..abvs[i]
end
elseif tostring(number) == "inf" then
return "∞"
end
end
end
return module
--[[
Format:
local moduleSc = require(game.ReplicatedStorage.Abbreviate)
moduleSc.abbreviate(your value here)
]]
When you write a script, you can write it in the script that buys when you click the button, that is, when you buy a class, you can write an abbreviation there?
I won’t be there for a while either
can you help me with the abbreviation, write in my script where the purchase of the class is and I will click on the solution and that’s it
It looks easy to do, did you require it in the script?
Help you do it if it’s too easy for you
you can help just I really want to make an abbreviation
Okay, where is the module located?
replicatedStorage That’s where it is
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.