#Add to values.

1 messages · Page 1 of 1 (latest)

heavy barn
#

This is a simple script that should add 10$ to the MoneyValue Value (yes is iNT)
`local Hitbox = script.Parent
local Values = workspace.Tycoons.Tycoon.Values

Hitbox.Touched:connect(function(hit)

if hit.Parent:FindFirstChildWhichIsA('Humanoid') then -- Check if it is a character that touched the part
    Values.MoneyValue.Value += 10
    Hitbox:Destroy()
end

end`

#

The part is being destroyed properly by the way

tropic ingot
heavy barn
tropic ingot
heavy barn
#

Its so confusing 😭

#

ok it just started working randomly...

#

im worried now. because if it happened a few times in a row it will happen again in the future

vital trout
#

Can you send screenshot of your workspace.Tycoon

true rapids
gusty solarBOT
#

studio** You are now Level 8! **studio