Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб How to make a Simple Coin Collecting system | Roblox studio в хорошем качестве

How to make a Simple Coin Collecting system | Roblox studio 1 месяц назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



How to make a Simple Coin Collecting system | Roblox studio

"How to Make a Simple Coin Collecting System": "Discover how to create a straightforward coin collecting system in Roblox Studio with this comprehensive tutorial! Whether you're building an adventure game or a simulation, adding a coin collecting mechanism can enhance player engagement. In this video, I'll guide you through the process of setting up coins, scripting their collection, and updating a score display. Join me as we explore the basics of scripting in Lua and learn practical techniques to implement this feature in your Roblox projects. Let's get started and bring your game ideas to life!" Feel free to adjust the description to better fit the specific details and focus of your video! . This video is not my original video the idea is from Roblox studio tutorial. I hope you guys enjoyed it!!!!!!! -- Initializing services and variables local Workspace = game:GetService("Workspace") local Players = game:GetService("Players") local coinsFolder = Workspace.Coins local coins = coinsFolder:GetChildren() local COOLDOWN = 10 -- Defining the event handler local function onCoinTouched(otherPart, coin) if coin:GetAttribute("Enabled") then local character = otherPart.Parent local player = Players:GetPlayerFromCharacter(character) if player then -- Player touched a coin coin.Transparency = 1 coin:SetAttribute("Enabled", false) print("Player collected coin") task.wait(COOLDOWN) coin.Transparency = 0 coin:SetAttribute("Enabled", true) end end end -- Setting up event listeners for _, coin in coins do coin:SetAttribute("Enabled", true) coin.Touched:Connect(function(otherPart) onCoinTouched(otherPart, coin) end) end Discord sever:   / discord   thx for watching!!!!!!

Comments