Как сделать свою валюту в ROBLOX STUDIO??.УРОК №4 ( СКРИПТ В ОПИСАНИИ)!!

Аватар автора
Игры и Эмоциональный Опыт
Как сделать свою валюту в ROBLOX STUDIO??.УРОК №4 ( СКРИПТ В ОПИСАНИИ)!! ПОМОЩЬ НА 100% СКРИПТ №1 (НА ПОКАЗАТЕЛЬ ИГРЫ В РОБЛОКСЕ) game.Players.PlayerAdded:connect(function(p) local stats =Instance.new("IntValue", p) stats.Name="leaderstats" local money = Instance.new("IntValue", stats) money.Name = "Coins" money.Value = 0 while true do wait(99999) money.Value = money.Value + 0 end end) СКРИПТ №2 (НА ВАЛЮТУ В РОБЛОКС) amnt = 1000 function onTouched(part) local h = part.Parent:findFirstChild("Humanoid") if (h~=nil) then local thisplr = game.Players:findFirstChild(h.Parent.Name) if (thisplr~=nil) then local stats = thisplr:findFirstChild("leaderstats") if (stats~=nil) then local score = stats:findFirstChild("Coins") if (score~=nil ) then score.Value = score.Value + amnt end end end script.Parent:remove() end end script.Parent.Touched:connect(onTouched)

0/0


0/0

0/0

0/0