local function equipRank(player: Player, rank: string)
local humanoid: Humanoid = player.Character:FindFirstChild("Humanoid")
if humanoid then
local _, configLine = getItem(rank, "Ranks")
local multiplier = configLine.Stat
humanoid.MaxHealth = multiplier * DEFAULT_HEALTH
humanoid.Health = humanoid.MaxHealth
humanoid.WalkSpeed = multiplier * DEFAULT_WALK_SPEED
end
end
#hello can someone explain to me why this function is not getting triggered?
1 messages · Page 1 of 1 (latest)
I dont know if its getting trigger but nothing is happening when im trying to buy the ranks
Hey there! I will be assisting you!
Okayy can i dm you?
Sure!
the print statement is not printing
** You are now Level 1! **
show calling side
whats calling side?
im new sorry
now i have this error
Inventory is not a valid member of Player "Players.Itsme_Trks" - Client - Manager:89
inside that line is this
local result = remotes.Shop.ShopBuy:InvokeServer(clickedItem.Name, currentShop)
Yesss i didd it i debugg it my self HAHAHAHA
lol
Where was the function called