Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why doesn't this work?

Asked by 9 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

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?

0
No answers? In 1 hour i got 11 views but no answers! Normally, i would get 2 views then an answer in 1-30 mins. Are you guys awake?? User#10843 0 — 9y

Answer this question