Uploaded February 2023 | Updated September 2026, 10 hours ago
Today we talk about Remote Events! These are super helpful in interacting with clients and servers, and you don't want to miss it! Enjoy!
Join my Discord server here: discord.gg/2b6PDk7BAP
Check out my Patreon Page today: patreon.com/CodeBro29
MERCH: codebro29-official-merch.creator-spring.com
Comment ideas for future videos below! VVV
Roblox username: fiveironfan2006
My group: roblox.com/groups/5646843/Codebro29-Industries#!/about
#roblox #coding #lua
Today we talk about Remote Events! These are super helpful in interacting with clients and servers, and you don't want to miss it! Enjoy!
Join my Discord server here: discord.gg/2b6PDk7BAP
Check out my Patreon Page today: patreon.com/CodeBro29
MERCH: codebro29-official-merch.creator-spring.com
Comment ideas for future videos below! VVV
Roblox username: fiveironfan2006
My group: roblox.com/groups/5646843/Codebro29-Industries#!/about
#roblox #coding #lua



![How To Script On Roblox 2022 - Episode 11 (Leaderstats)
Welcome to part 11 where we talk about leaderstats! I hope you are all excited for another episode! :D
Join my Discord server here: https://discord.gg/2b6PDk7BAP
Check out my Patreon Page today: https://www.patreon.com/CodeBro29
MERCH: https://codebro29-official-merch.creator-spring.com
Comment ideas for future videos below! VVV
Roblox username: fiveironfan2006
My group: https://www.roblox.com/groups/5646843/Codebro29-Industries#!/about
Timestamps -[
0:00 - What are Leaderstats?
0:33 - Writing Leaderstats Scripts
3:55 - Modifying Leaderstats Externally
6:40 - Integer Shortcut
7:28 - Outro
] How To Script On Roblox 2022 - Episode 11 (Leaderstats)](https://i.ytimg.com/vi/rjxYyqm2zlk/mqdefault.jpg)
![I Remade DEAD RAILS in 1 Week...
Today I remade DEAD RAILS from scratch in only 1 WEEK....
Play the Game ➜ https://www.roblox.com/games/123981694939436/Dead-Sales
✨Discord Server: https://discord.gg/gCZWyP2ySq
😍Patreon: https://www.patreon.com/CodeBro29
❎ Twitter: https://x.com/CodeBro29YT
🔥SHOP: https://codebro29.shop/
👕MERCH: https://codebro29-official-merch.creator-spring.com/
CREDITS -[
MUSIC:
Music: Evan King - [ENERGETIC CHIPTUNE ♫ Thermal]
Music: Evan King - [CHIPTUNE, BUT FUNKY ♫ Useful]
Music: Evan King - [Virtually Impossible - Context Sensitive]
Music: Evan King - [HIGH ENERGY CHIPTUNE ♫ Biscuits- Context Sensitive]
Music: Evan King - [20XX]
https://www.youtube.com/ContextSensitive
https://contextsensitive.bandcamp.com/
]
Thanks to my guests that played the game at the end:
Carrot - @frozencarrot714
Xbot - @BlueIsTaken
TQ - @TQ5890
Moyai - @moyai5222
Roblox username: CodeBro29YT
My group: https://www.roblox.com/groups/5646843/Codebro29-Industries#!/about
#roblox #funny #gamedev I Remade DEAD RAILS in 1 Week...](https://i.ytimg.com/vi/rvCGqNCpRFU/mqdefault.jpg)
![How to Script on Roblox (ADVANCED) - Part 4 (DataStoreService)
Thanks for watching, hope you find DataStoreService helpful! :)
If you want to learn how to Save Data in Roblox Studio, then youre in the perfect place!
BEGINNER Scripting Series: https://www.youtube.com/playlist?list=PLfAg6nOoAuSm3IFHTbLfknrEDnRoSxCwW
SCRIPT -[
local DataStoreService = game:GetService(DataStoreService)
local DataStore = DataStoreService:GetDataStore(leaderstats)
game.Players.PlayerAdded:Connect(function(plr)
local folder = Instance.new(Folder,plr)
folder.Name = leaderstats
local Coins = Instance.new(IntValue,folder)
Coins.Name = Coins
local Gems = Instance.new(IntValue,folder)
Gems.Name = Gems
local CoinsVal = 0
local GemsVal = 0
local success,errorMessage = pcall(function()
local data = DataStore:GetAsync(plr.UserId)
CoinsVal = data[1]
GemsVal = data[2]
end)
if success then
print(Data successfully loaded!)
end
if errorMessage then
warn(errorMessage)
end
Coins.Value = CoinsVal
Gems.Value = GemsVal
while true do
task.wait(1)
Coins.Value += 1
end
end)
game.Players.PlayerRemoving:Connect(function(plr)
local coins = plr.leaderstats.Coins
local gems = plr.leaderstats.Gems
DataStore:SetAsync(plr.UserId,{coins.Value,gems.Value})
end)
game:BindToClose(function()
for i,plr in pairs(game.Players:GetPlayers()) do
local coins = plr.leaderstats.Coins
local gems = plr.leaderstats.Gems
DataStore:SetAsync(plr.UserId,{coins.Value,gems.Value})
end
end)
]
✨Discord Server: https://discord.gg/2b6PDk7BAP
😍Patreon: https://www.patreon.com/CodeBro29
👕MERCH: https://codebro29-official-merch.creator-spring.com
💬Comment ideas for future videos below! VVV
Roblox username: fiveironfan2006
My group: https://www.roblox.com/groups/5646843/Codebro29-Industries#!/about
#roblox #coding #lua How to Script on Roblox (ADVANCED) - Part 4 (DataStoreService)](https://i.ytimg.com/vi/rzVMsC0tKRM/mqdefault.jpg)


![I Made a Roblox BATTLEGROUNDS Game in 1 WEEK
The first 500 people to use my link https://skl.sh/codebro2909241 will get a 1 month free trial of Skillshare premium!
In today’s video I created a ROBLOX BATTLEGROUNDS Game FROM SCRATCH in only 7 DAYS! This challenge was really funny, and a whole lot of fun to make. Make sure to watch through the end to see what happens!
✨Discord Server: https://discord.gg/gCZWyP2ySq
😎Twitter: https://x.com/CodeBro29YT
🔬Get My Microphone: https://amzn.to/41A1AOy
🔥SHOP: https://codebro29.shop/
😍Patreon: https://www.patreon.com/CodeBro29
- Other Links -
🤩DEVTOPIA: https://discord.gg/bfMGuwYzXa
👕MERCH: https://codebro29-official-merch.creator-spring.com/
💬Comment ideas for future videos below! VVV
MUSIC -[
Music: Evan King - [ENERGETIC CHIPTUNE ♫ Thermal]
Music: Evan King - [CHIPTUNE, BUT FUNKY ♫ Useful]
Music: Evan King - [Virtually Impossible - Context Sensitive]
https://www.youtube.com/ContextSensitive
https://contextsensitive.bandcamp.com/
]
Roblox username: CodeBro29YT
My group: https://www.roblox.com/groups/5646843/Codebro29-Industries#!/about
#roblox #coding #funny #lua
Some Thumbnail Elements from: PNGTree & Freepik
This video is sponsored by Skillshare I Made a Roblox BATTLEGROUNDS Game in 1 WEEK](https://i.ytimg.com/vi/sUDNc2kU6zE/mqdefault.jpg)
![I Remade Grow a Garden in 2 WEEKS…
Today I remade GROW A GARDEN from scratch in only 2 WEEKS.... Enjoy!
Play the Game ➜ https://www.roblox.com/games/110952817369287/Pet-Collectors
Profile Store Tutorials by @Rileybytes ➜ https://www.youtube.com/watch?v=JZhSdLrEBZw&list=PLSsf2PgSRxkQFgRiVHjzbF53dlGe3r64l&ab_channel=Rileybytes-Roblox
ShopDehapy ➜ https://shopdehapy.com/
✨Discord Server: https://discord.gg/gCZWyP2ySq
😍Patreon: https://www.patreon.com/CodeBro29
🔬Get My Microphone: https://amzn.to/41A1AOy
❎ Twitter: https://x.com/CodeBro29YT
🔥SHOP: https://codebro29.shop/
👕MERCH: https://codebro29-official-merch.creator-spring.com/
CREDITS -[
MUSIC:
Music: Evan King - [ENERGETIC CHIPTUNE ♫ Thermal]
Music: Evan King - [CHIPTUNE, BUT FUNKY ♫ Useful]
Music: Evan King - [Virtually Impossible - Context Sensitive]
Music: Evan King - [HIGH ENERGY CHIPTUNE ♫ Biscuits- Context Sensitive]
Music: Evan King - [20XX]
https://www.youtube.com/ContextSensitive
https://contextsensitive.bandcamp.com/
]
HUGE thanks to https://www.youtube.com/@JustDucksey for the thumbnail inspiration!
Roblox username: CodeBro29YT
My group: https://www.roblox.com/groups/5646843/Codebro29-Industries#!/about
#roblox #funny #gamedev I Remade Grow a Garden in 2 WEEKS…](https://i.ytimg.com/vi/sWMHnc_x0eg/mqdefault.jpg)
