I tested but no money had came up on the money GUI I had made, its post to be if i kill a zombie, i get + 25 money and if i die, i lose - 25 money. Then, after a few tweaks, it still doesn't work. I'm doing this with 3 other things: Zombie Kills, XP and Rank and mabye i will add deaths from zombies too but, for now, Zombie Kills, XP, Rank and Money is the problem. By the way, this is in a local script
so its below:
local hum = char.Humaniod local char = game.Parent.Parent."Player1".Humaniod do (function() while local char = game.Parent.Players.Parent.Player."leaderstats".Money <= 0 then local char.(function()local Parent.Name."Zombie".(function().Health <= 0 then game.Parent.Players.Parent."Player1"."leaderstats".Money + 25 and script.Parent."StarterGui".Parent."Money".Parent."Money".Text = + 25 if local char.(function()."Health" <= 0 then game.Parent.Players."Player1"."leaderstats".Money - 25 if game.Parent.Parent."Player1".Humaniod.(function()"Killed" by local Parent.Name"Zombie" and if script.Parent."StarterGui".Parent."Money".Parent.ClassName = "TextLable" then script.Parent."StarterGui".Parent."Money".Parent."Money".Text = 0 or above and Humaniod.Health = 0 then script.Parent."StarterGui".Parent."Money".Parent."Money".Text = - 25 end) end) end end) end) end end)
Whats my problem?