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

Why wont any of my weapons besides the classic sword work with my kill for money script on roblox?

Asked by 4 years ago

Alright so I asked this question yesterday a and I didn't get any helpful answers so I decided to ask again today. The only weapon that works with it was the classic sword so if you can give me any scripts to put in the weapons then that will be great also im using free model guns so like i said if you can give me any scripts to put in it then ill be grateful

local Humanoid = script.Parent.Zombie ;

        Humanoid.Died:Connect(function()
            local tagValue = Humanoid:WaitForChild("creator").Value;
            local leaderstats = tagValue:WaitForChild("leaderstats");
        leaderstats.Cash.Value = leaderstats.Cash.Value + 7;
            wait(0.1);
            script:Destroy();
        end);


(thats the money kill script btw)

0
cam, did you create a creator value with these guns? maumaumaumaumaumua 628 — 4y
0
if you didn't you have to or it will infinite yield maumaumaumaumaumua 628 — 4y
0
oh no i didnt, could you give me an example of what a creative value is? CamCIutch 4 — 4y

Answer this question