Я не знал что мне придумать.Я долго рылся в ютубе в поисках идеи и в итоге придумал идею для этого видео и ещё несколько идей
лидерборд:
game.Players.PlayerAdded:Connect(function(plr)
local f = Instance.new("Folder", plr)
f.Name = "leaderstats"
local coins = Instance.new("IntValue", f)
coins.Name = "Gold"
coins.Value = 0
end)
сбор монетки:
local pl = game:GetService("Players")
local coin = script.Parent
function giveMeMyMoney(part)
if part.Parent:FindFirstChild("Humanoid") then
coin.CanTouch = false
local player = pl:GetPlayerFromCharacter(part.Parent)
player.leaderstats.Gold.Value += 1
coin.Transparency = 1
script.Disabled = true
wait(3)
coin.Transparency = 0
coin.CanTouch = true
script.Disabled = false
end
end
coin.Touched:Connect(giveMeMyMoney)
Watch video Как сделать сбор монетки(тутор по Roblox Studio) online without registration, duration hours minute second in high quality. This video was added by user Linex 03 April 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,002 once and liked it 27 people.