#Help with leaderstats
19 messages · Page 1 of 1 (latest)
brain has left the chat
Player is your player...
hey
u fix?
if you didn't, i can help.
Can you try this script?
local BUY = script.Parent
BUY.MouseButton1Up:Connect(function()
local player = game.Players.LocalPlayer
if player then
local leaderstats = player:FindFirstChild("leaderstats")
local Bobux = leaderstats and leaderstats.Bobux
if Bobux and Bobux.Value >= 1 then
Bobux.Value -= 1
end
end
end)
@glacial flower
man
** You are now Level 4! **
