Advertisement

Roblox Tutorial | How to make Cash on killing mob

Roblox Tutorial | How to make Cash on killing mob So hello, everyone in todays video im going to show you how you can make easily this. Once you kill a mob you earn each amount of cash.


|Script
local Humanoid = script.Parent.Humanoid
function PwntX_X()
local tag = Humanoid:findFirstChild("creator")
if tag ~= nil then
if tag.Value ~= nil then
local Leaderstats = tag.Value:findFirstChild("leaderstats")
if Leaderstats ~= nil then
Leaderstats.Cash.Value = Leaderstats.Cash.Value + 550 -
wait(0.1)
script:remove()
end
end
end
end
Humanoid.Died:connect(PwntX_X)

killing

Post a Comment

0 Comments