Player = game.Players.LocalPlayer

mouse = Player:GetMouse()


mouse.Button1Down:connect(function()
	if Player.bin.AttributePoints.Value >= 1 then
		Player.bin.Agility.Value = Player.bin.Agility.Value + 1
		Player.bin.AttributePoints.Value = Player.bin.AttributePoints.Value - 1
	end
end)

2 comments

0

Line 09 has - 1 at the end.

0

Found out the reason is because of on line 07.. I used ">=" instead of "<="