Playerstats - Roblox Beginners Scripting Tutorial #16 (2024)

  Рет қаралды 38,210

BrawlDev

BrawlDev

Күн бұрын

Пікірлер: 194
@RequiemNaru
@RequiemNaru 4 ай бұрын
Holy I've watched all the tutorials but the people in the comments are just so talented makes feel like I learned nothing
@XqlWasTaken
@XqlWasTaken 4 ай бұрын
for real my code doesnt even work
@TropialGamingYT
@TropialGamingYT 4 ай бұрын
same
@GraphEnotik-xs4gb
@GraphEnotik-xs4gb 3 ай бұрын
@@XqlWasTaken just use some debug methods like print.
@ways8027
@ways8027 3 ай бұрын
whenever u feel stupid, you are learning its how it is
@ElTonio2023
@ElTonio2023 2 ай бұрын
@@ways8027 exactly
@BAKADatebayo
@BAKADatebayo 2 ай бұрын
Decided to incorporate the Kill Brick script into this assignment to mesh the learnings together. I created two functions. One function supply's the user coins if they touch a specific block, while the other makes the player lose coins and die if they touch another local coinPart = game.Workspace.TouchPart local debounce = false coinPart.Touched:Connect(function(otherPart) if debounce == false then debounce = true print(otherPart) coins.Value = coins.Value + 10 task.wait(2) debounce = false end end) local lossPart = game.Workspace.KillBrick lossPart.Touched:Connect(function(otherPart) if debounce == false and coins.Value > 10 then debounce = true print(otherPart) coins.Value = coins.Value - 10 task.wait(2) debounce = false end end)
@Stream7812
@Stream7812 2 ай бұрын
The scripts are in defferent parts?
@osakadev
@osakadev 5 ай бұрын
Today's Summary: playerstats (or leaderstats), is a special folder created inside the player instance which will contain IntValues or other values which will be displayed as a table in the players list to the player in the game This type of playerstats are used in games like Pet Simulator X, Bee Swarm Simulator and millions more How to create instances: - First of all, an instance is EVERYTHING that makes up a game, 3D objects, 2D objects, services and EVERYTHING contained in the explorer (even hidden services) - To create instances dynamically you use the class "Instance", to do it, you do it this way: local myPart = Instance.new("Part") myPart.Parent = workspace myPart.Anchored = true -- we can change all the properties that a part has! The first parameter of "Instance.new", is the name of the class (of the object to create) of the object that we want to create It is important to know that this function returns the instance that you have just created, so if you don't change the parent, only the memory will exist but not visually How to create stats in the players list: - You need to create a folder whose name MUST be "leaderstats" (so did roblox, don't ask). Then you will need to assign the parent to the player who joins the game - Then you must create intvalues, numbervalues and other things inside the folder For example: local folder = Instance.new("Folder") folder.Parent = player -- IMPORTANT folder.Name = "leaderstats" -- IMPORTANT local coins = Instance.new("IntValue") coins.Parent = folder coins.Name = "Coins".
@OuzeHD
@OuzeHD 5 ай бұрын
dang
@TropialGamingYT
@TropialGamingYT 4 ай бұрын
Im just copy n pasting what u say on a Google Doc cuz im too lazy to write...
@madshark2924
@madshark2924 Ай бұрын
@@TropialGamingYT basic what im doing
@yadukrishn
@yadukrishn 4 ай бұрын
"hello world" (print)
@reaklaz
@reaklaz 4 ай бұрын
nuh uh 😭
@Rafibhai196
@Rafibhai196 Ай бұрын
💀🙏
@Who1156
@Who1156 Ай бұрын
W code
@Rafibhai196
@Rafibhai196 Ай бұрын
@@Who1156 😂😂 print("im LEARNING")
@UsBallVilockea24
@UsBallVilockea24 Ай бұрын
What code is this🤔🤔🤔🤔
@TropialGamingYT
@TropialGamingYT 4 ай бұрын
Bro this I did a tutorial couple of months ago and i was so puzzles with the Leader boards stats. But now you showed me so much to leader board stats that this has boosted my motivation on developing games to Max. This Defiantly Deserved way more Likes and Views, this is peak Scripting Tutorials!!!
@SYN_Nir
@SYN_Nir 2 ай бұрын
same XD
@Joaopedro-ev2py
@Joaopedro-ev2py 5 ай бұрын
New subscriber! From Brazil
@Sadmar09
@Sadmar09 2 ай бұрын
New subscriber from spain, I hope this tutorials help me make my dream games
@ElTonio2023
@ElTonio2023 2 ай бұрын
good luck bro!👍
@olizero
@olizero 3 күн бұрын
bro ngl its like my 8th hour watching those today and ur teaching so good that it feels so easy to make scripts now and before id have to google every script even after tutorials
@DanTe3_
@DanTe3_ 9 күн бұрын
I'm watching every single one of these tutorials, and, while i watch, im doing a WHOLE ESSAY about them, i have everything noted on my dms and i basically have some clever explanations of what happens here in my native language! these tutorials help alot you learn from thee bottom
@60YS
@60YS 6 күн бұрын
dude may i please have the text you have so i can read over discord 6oys if you can send it over
@McChillingTon736
@McChillingTon736 16 күн бұрын
I always love your videos man very educational
@bazerduck1234
@bazerduck1234 5 ай бұрын
OMG! this crazy! i just created a block , that when touched, changes its color and gives you money! cudnt have done this without you! thanks a lot man
@CrimsonMoonVr101
@CrimsonMoonVr101 5 ай бұрын
Pls tell me how
@bazerduck1234
@bazerduck1234 5 ай бұрын
@@CrimsonMoonVr101 local killBrick = script.Parent local bool = false game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local Money = Instance.new("IntValue") Money.Parent = leaderstats Money.Name = "Money" Money.Value = 0 task.wait(1) killBrick.Touched:Connect(function(otherPart) if bool == false then bool = true Money.Value += 1 killBrick.BrickColor = BrickColor.new("Really red") task.wait(0.5) killBrick.BrickColor = BrickColor.new("Medium stone grey") task.wait(0.5) if Money.Value % 10 == 1 and Money.Value ~= 1 then killBrick.BrickColor = BrickColor.new("Pink") task.wait(5) end bool = false end end) end)
@thessuperrooster5006
@thessuperrooster5006 4 ай бұрын
@@CrimsonMoonVr101 Learn
@Ismalellel
@Ismalellel 4 ай бұрын
dude, when i readed your comment i did the same and it worked!!! it's crazy bc i didnt know i could do this, im so happy too :D!
@Dennis_3077
@Dennis_3077 Ай бұрын
if you watch and do at the same time you can learn that pretty easy. And if you cant do that, watch the series again.
@ItzBlixYT
@ItzBlixYT 2 ай бұрын
i fogo- loops and tables but decided to watch a begginer scripting series complete and now i think thank god i watched again or else i wouldve beeen able to do nothing
@basic9122
@basic9122 5 ай бұрын
Keep up the work dude. This has got to be the best playlist for scripting. Love the work!!
@CupOfShoess
@CupOfShoess 5 ай бұрын
keep it up! love this searies just found it im gonna start reaching for my dreams again!
@kwarw
@kwarw 3 ай бұрын
Thank you so much!! really helped game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new('Folder') leaderstats.Name = 'leaderstats' leaderstats.Parent = player local seconds = Instance.new('IntValue') seconds.Name = 'Seconds' seconds.Value = 0 seconds.Parent = leaderstats local minutes = Instance.new('IntValue') minutes.Name = 'Minutes' minutes.Value = 0 minutes.Parent = leaderstats while player.Parent do task.wait(1) seconds.Value = seconds.Value + 1 if seconds.Value >= 60 then seconds.Value = 0 minutes.Value = minutes.Value + 1 end end end)
@egggrenade2746
@egggrenade2746 2 ай бұрын
Alright men, you have made it this far. May you be ready for the beast of the next episode. May god help you understand the final trial called ''tables''
@CooperTrooper294
@CooperTrooper294 2 ай бұрын
gulp
@ismailzantemirov2169
@ismailzantemirov2169 Ай бұрын
you actually scared me..
@SamOrPix
@SamOrPix Ай бұрын
i feel so talented after going over this once i understand it all
@Martin_GMZ12
@Martin_GMZ12 5 ай бұрын
Yes! new video
@zorouhrblx
@zorouhrblx 5 ай бұрын
i thought you quit, i didnt know you had a new channel lol
@BrawlDevRBLX
@BrawlDevRBLX 5 ай бұрын
Yesssir! Glad you found me again! 😊
@z1ngetsuu
@z1ngetsuu Ай бұрын
what is his other channel
@ManCatGravy_PlaysRusso
@ManCatGravy_PlaysRusso Ай бұрын
@@z1ngetsuu sigmaplayz_YT
@funnyreal332
@funnyreal332 3 ай бұрын
tahnks soh much i just made a game with randomly falling asteroids with random sizes and velocities that kill you on touch and now that i watched this a timesurvived stat that increases every second and resets when you die, that is also a way i put badges in my game like if the timesurvived is already equal to 30 then u get the badge survive 30 seconds (devforum carried me)
@Moxuw_
@Moxuw_ 5 ай бұрын
New subscriber from France !
@HistoryEditss
@HistoryEditss 5 ай бұрын
New Subscriber! You Making Good Videos
@j4cob436
@j4cob436 4 ай бұрын
Thanks for these simple tutorials, really got me into scripting!
@iiking3284
@iiking3284 2 ай бұрын
Also here’s a very small reminder: Instead of saying coins = coins + 1 you can simply type coins += 1
@Pokeshek1
@Pokeshek1 Ай бұрын
Why does this work?
@qqqqty9404
@qqqqty9404 Ай бұрын
@@Pokeshek1+= I think it can be used as a shortcut for +1
@AxelMyGuy
@AxelMyGuy 11 күн бұрын
@@qqqqty9404 coins+=1 is the same as coins = coins+1. So it repeats the coins
@pechugapelua7756
@pechugapelua7756 3 ай бұрын
Im actually proud of this one cant believe i did it by myself local db = false local function onTouch(otherPart) local player = game.Players:GetPlayerFromCharacter(otherPart.Parent) if player then local leaderstats = player:FindFirstChild("leaderstats") local coins = leaderstats:FindFirstChild("Coins") if coins and not db then db = true coins.Value = coins.Value + 1 script.Parent.CanTouch = false script.Parent.Transparency = .7 --I did this by myself!! LES GOOOOO task.wait(3) script.Parent.CanTouch = true script.Parent.Transparency = 0 db = false end end end script.Parent.Touched:Connect(onTouch)
@tochukwuagwuh4989
@tochukwuagwuh4989 2 ай бұрын
what does this code do
@AdibBenzan
@AdibBenzan 2 ай бұрын
@@tochukwuagwuh4989 nothing ask chatgpt
@baconph2578
@baconph2578 Ай бұрын
oh i know how did this work first, if you touched a part you will add a coin from its leaderstats with debounce preventing the player to get too much money from just touching a part. second, it will make the part go transparent to opaque
@KingDumpling2013
@KingDumpling2013 14 күн бұрын
@tochukwuagwuh4989it add money to the stats of the player like adding coins if you young the part
@gabiluka4160
@gabiluka4160 Ай бұрын
Thanks man
@user-im3lx2bq1w
@user-im3lx2bq1w 9 күн бұрын
On the coins part it somehow doesn’t work, ive typed it in correctly 2 times and it still doesnt appear next to my user
@BastiRufi
@BastiRufi 5 ай бұрын
Thank you i have learned so much from you. Now i can try and make my own game
@fredymredy
@fredymredy 26 күн бұрын
What if i want the playerstats to be only visible when a player only holds the Tab button, how can be made like that and also what about GUI?
@Thewall2
@Thewall2 10 күн бұрын
Why can’t I make a stat that says how long you’ve been alive like in other games I’ve tried so many times and it never worked?
@md-hassan-gi3mo
@md-hassan-gi3mo Ай бұрын
You can also write coins.Value += 1 instead of coins.Value = coins.Value + 1
@benz_ed1tz
@benz_ed1tz Ай бұрын
Do you have to set a parent for the instance or can you keep the instance parent the default parent?
@paramore.editor
@paramore.editor 5 ай бұрын
this series has helped out so much! i really appreciate the time and effort you’ve put into these videos, new subscriber!
@naminex4443
@naminex4443 5 ай бұрын
W video
@Dr_buckett
@Dr_buckett 4 ай бұрын
I encountered something to where my code was constantly doublespaced while only taking up one line of code while i was trying to create a ranking system based off of the coins you had. Other than that do you know why i stat using a Stringvalue doesn't work (the code is basically the same as the coins instance code but with a string value and the value being a string)
@ENSANElol
@ENSANElol Ай бұрын
You can use an if statement to check if player name = yourplayername then assign it to a value lets say string . value = "Developer" else string . value = "Player"
@ENSANElol
@ENSANElol Ай бұрын
there might be and should be a better way to do this since if you change your name, this breaks. like using PlayerID or something which is unique and will never change.
@Powascal
@Powascal Ай бұрын
local button = script.Parent button.Touched:Connect(function(otherpart) local human = otherpart.Parent:FindFirstChild("Humanoid") if human then local newPart = Instance.new("Part") newPart.Parent = game.Workspace.Button newPart.Size = Vector3.new(3, 3, 3) newPart.Position = Vector3.new(0, 3, 2) newPart.BrickColor = BrickColor.new("Sea green") newPart.Shape = Enum.PartType.Ball newPart.Mass = 0.001 end end) also if you know how to set a limit on how many new parts are made I would appreciate it
@soudeux8702
@soudeux8702 Ай бұрын
u can add a variable (0) that increments everytime u touch it, the limit would probably be (if i < 10 then) so it would would limit to 10
@HD-fj7kd
@HD-fj7kd 2 ай бұрын
i tried a bunch now its making the whole value and its in the folder its just not next to the player like shown
@MarZ677
@MarZ677 Ай бұрын
Ah finally, About to finish learning scripting then he says "advanced tutorial" AWH HELL NAW (i will watch it
@Beeknight-9094
@Beeknight-9094 Ай бұрын
I legit these were like jump height or speed and stuff
@2inezine
@2inezine 5 ай бұрын
i learn something new today ..
@M4NNY_1S_C00L
@M4NNY_1S_C00L Ай бұрын
i dont have the player character in the workspace, is this outdated or is there a problem on my end?
@anshikatiwari191
@anshikatiwari191 24 күн бұрын
Is it necessary to put leaderstats as variable?
@GoldenBred
@GoldenBred Ай бұрын
What if he was called FreakDev and freaked all over the place
@sigma-n4f8d
@sigma-n4f8d Ай бұрын
I hope this is alright! local pet = math.random(1,4) if pet == 1 then print("you got a cat!") elseif pet == 2 then print("you got a dog!") elseif pet == 3 then print("you got a hamster!") elseif pet == 4 then print("you got a mouse!") end
@yumengwang3078
@yumengwang3078 Ай бұрын
hello everyone! I tried to make game of collecting coins, basically combining all I learn from the tutorials above, but I can't figure out why the coin always come up at the same place, not randomly. Could anyone help me?
@jiggy6814
@jiggy6814 Ай бұрын
Idk I'm also new but there are cordinate in roblox studio so you could use the math.random script to make it appear at random ppaces
@CrimsonMoonVr101
@CrimsonMoonVr101 5 ай бұрын
Can u make a tutorial on if the player touches a block it will give you a certain amount of coins, such as 25-50
@stupidoBanana
@stupidoBanana 5 ай бұрын
i dont know how to make the player only touch button this is what i got make the part fly local part = game.Workspace.Part local coins = 0 part.Touched:Connect(function(player) print("1+ coin!") print(coins) coins = coins + 1 end)
@jakgutn
@jakgutn 4 ай бұрын
​@@stupidoBanana you can add here the FindFirstChildWhichIsA("Humanoid") command to prevent generating the coins when some other part is already touching it
@reaklaz
@reaklaz 4 ай бұрын
@@stupidoBanana thats just you forgot to anchored it bro 😭 you didnt make it fly
@legendzaryj
@legendzaryj 4 ай бұрын
Put this script inside of the part that you want to give coins on touch: local part = script.Parent local coins = 25 part.Touched:Connect(function(hit) local character = hit.Parent if character:FindFirstChild("Humanoid") then print(hit) local player = game.Players:GetPlayerFromCharacter(character) player.leaderstats.Coins.Value += coins part:Destroy() -- Only keep this if you want to destroy the part after collection. end end)
@shinichikudo8521
@shinichikudo8521 22 күн бұрын
​@@legendzaryjwhy part instead of SSS?
@cookiepenguino
@cookiepenguino 4 ай бұрын
thanks for the guides! for this learning objective i did: game.Players.PlayerAdded:Connect(function(player) task.wait(1) local leaderstats = player:FindFirstChildOfClass("Folder") local coins = leaderstats:FindFirstChildOfClass("IntValue") local partIsTouched = false local tp = game.Workspace.touchPart local chat = game:GetService("TextChatService") tp.Touched:Connect(function(otherPart) if partIsTouched == false then partIsTouched = true chat:DisplayBubble(tp, "ouuchhh dont touch me that hurts") tp.Material = "Neon" tp.Color = Color3.new(1,0,0) task.wait(1) tp.Color = Color3.new(1,1,0) task.wait(1) tp.Color = Color3.new(0,1,0) task.wait(1) tp.Color = Color3.new(0,0,1) task.wait(1) tp.Material = "Plastic" coins.Value += 20 tp.BrickColor = BrickColor.new("Medium stone grey") task.wait(3) chat:DisplayBubble(tp, "waaiiitttt did you just,,, STEAL FROM ME... come BACK you DIRTY SCOUNDREL.") partIsTouched = false end end) end) the chat:DisplayBubble's broke after a while and i couldnt figure out why so sadly that doesnt really work :(
@reaklaz
@reaklaz 4 ай бұрын
you meant chat:DisplayBubble(tp, "ouuchhh dont touch me that hurts") by: Print("player, ",ouuchhh dont touch me that hurts") if that helps tell me i want to know
@Terratomere
@Terratomere 15 күн бұрын
@@reaklaz print puts it in the output
@HD-fj7kd
@HD-fj7kd 2 ай бұрын
dude im trying to learn it and even copied it one to one it isnt working for me for some reason im gonna try some more times
@Thecardkid1
@Thecardkid1 20 күн бұрын
i dont know why but the entire part of coins was not working for me and i copied the code exatly the same
@dawnscript1
@dawnscript1 18 күн бұрын
Yeah same
@SaahirSCJ
@SaahirSCJ 3 ай бұрын
Roblox studio just automatically filled my code in for me
@thatkidyoyo
@thatkidyoyo 2 ай бұрын
for some reason the first code shown does not work for me
@cosmicsleepyy
@cosmicsleepyy 3 ай бұрын
how do you make it so that it stops adding and resets on death
@Dragonball3D
@Dragonball3D 5 ай бұрын
i tried making a code where when it reachs 60 seconds it goes to 1 minute but when i made the code there isint a second or minute at all in the leaderboard the code is like them same how you did with the coins for seconds and then i have the minute code but instead of "while true do" i have "if Seconds.Value == 60 then Seconds.Value = 0 Minutes.Value = 1 how i would fix this code
@t8bx
@t8bx 5 ай бұрын
This code may help you, let me know if you encounter any issues. (Put this at the bottom of your code, after you create your instances.) while true do task.wait(1) Seconds.Value = Seconds.Value + 1 if Seconds.Value == 60 then Seconds.Value = 0 Minutes.Value += 1 task.wait(0.1) end end end)
@LowKeyMoment
@LowKeyMoment 5 ай бұрын
just use chatgpt if you dont inow why it wont eork
@oogabungabanana
@oogabungabanana 5 ай бұрын
​@@t8bxyep
@UpgradedTitanDripBaconYT_Alt
@UpgradedTitanDripBaconYT_Alt 9 күн бұрын
i made a time Leader stat :D
@fujiwaranonekobiodrando1257
@fujiwaranonekobiodrando1257 4 ай бұрын
😭Is it possible to read that stat in other scripts?
@The_BassWood_Who_Cried_Pancake
@The_BassWood_Who_Cried_Pancake 3 ай бұрын
I've been trying but it keeps saying that it can't find the leaderstats folder
@fujiwaranonekobiodrando1257
@fujiwaranonekobiodrando1257 3 ай бұрын
@@The_BassWood_Who_Cried_Pancake well the leaderstats folder only is created after the script ran so you might need to use wait for child or something?
@The_BassWood_Who_Cried_Pancake
@The_BassWood_Who_Cried_Pancake 3 ай бұрын
@@fujiwaranonekobiodrando1257 I used both wait for child and find first child it didnt work with either one
@The_BassWood_Who_Cried_Pancake
@The_BassWood_Who_Cried_Pancake 3 ай бұрын
Actually, in the Final Episode, he does make something like that so I would reccomend looking at that
@fujiwaranonekobiodrando1257
@fujiwaranonekobiodrando1257 3 ай бұрын
@@The_BassWood_Who_Cried_Pancake AWESOME
@Blankeyn
@Blankeyn 3 ай бұрын
Yo im almost there wish me luck
@bennettpearson7827
@bennettpearson7827 3 ай бұрын
Anyone know how to remove leaderstats from leaderboard and when i try to change it doesn't work and it follows every new game i make pls help im begging you brawl dev read this
@lucckkkyyyy
@lucckkkyyyy 2 ай бұрын
ok so go to your leaderstats folder inside of your character and delete it, if you cant find this make a script inside of the workspace and type this. game.Players.PlayerAdded:Connect(function(player) local leaderstats = player.FindFirstChild("leaderstats") leaderstats:Destroy() end) This will delete any instance inside your player that is named "leaderstats" you will have to make this script in every game you make but this is only if you cant delete your leaderstats folder!
@bobuxcartel4051
@bobuxcartel4051 3 ай бұрын
game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local playtime = Instance.new("IntValue") local current_time = tick() playtime.Name = "Play Time" playtime.Parent = leaderstats while true do playtime.Value = tick() - current_time wait(1) end end)
@lord8207
@lord8207 4 ай бұрын
I failed my asssigment, unfortunately I couldnt come with anything because I didnt know how to come up with it-
@OTAKUFLIX481
@OTAKUFLIX481 3 ай бұрын
can someone help me i wrote the same code as brawldev but it did not worked
@AkaSam8
@AkaSam8 3 ай бұрын
nothing will happen and i new part wont show in the workspace
@Ishy-n1z
@Ishy-n1z 4 ай бұрын
tbh cht ik tis random but i was deving a game based of sekiro and has 26 hours of gameplay sadly today i quit game devolpemnt due to being a one man team
@osakadev
@osakadev 5 ай бұрын
W
@aidandoesanimations
@aidandoesanimations 2 ай бұрын
did roblox update the scripting cuz this isnt working for me. EDIT: it works now
@VectoorX
@VectoorX 5 ай бұрын
Probably not the best idea to put a unwrapped While Loop inside the Player Added event 😅
@CriticalWow
@CriticalWow 5 ай бұрын
the script isnt working for me
@reaklaz
@reaklaz 4 ай бұрын
maybe you just made it wrong the computer almost always right so you made a mistake
@CriticalWow
@CriticalWow 4 ай бұрын
@@reaklaz nah
@CriticalWow
@CriticalWow 4 ай бұрын
@@reaklaz i know now
@CriticalWow
@CriticalWow 4 ай бұрын
@@reaklaz its just i didnt fix my script
@reaklaz
@reaklaz 4 ай бұрын
@@CriticalWow ok
@robo298
@robo298 5 ай бұрын
Why is it not working for me 😭
@reaklaz
@reaklaz 4 ай бұрын
maybe you just made it wrong the computer almost always right so you made a mistake (im too lazy to make a reply so i just copy the reply i sent to the person on top of u)
@ArchieRS
@ArchieRS 5 ай бұрын
2 views in 1 minute is CRAZY
@osakadev
@osakadev 5 ай бұрын
no scuffed simulator?
@maxymusgamer9900
@maxymusgamer9900 5 ай бұрын
hi mr scuffed owner
@anshikatiwari191
@anshikatiwari191 27 күн бұрын
Code not working '
@donovankl
@donovankl Ай бұрын
print("hello world")
@kaledoublescope
@kaledoublescope 4 ай бұрын
Why can’t this just be in the game?
@RobloxBaconator
@RobloxBaconator 2 ай бұрын
Isn't it obvious? Not all games are the same so some want to have coins in the leaderboard, some want to have gems, some want to have a made-up currency or even something like time or speed
@KSSdude
@KSSdude 2 ай бұрын
hey brawldev I really like your vids and I am looking forward to learn from you in real time rather than videos. I wish we both can create a game on day
@fishywithglasses
@fishywithglasses 4 ай бұрын
w h y d o i n o t s e m y s c r i p t
@tjmstudios-l1j
@tjmstudios-l1j 5 күн бұрын
I CANT
@JayBoiKobe
@JayBoiKobe 5 ай бұрын
First
@lucaz7863
@lucaz7863 2 ай бұрын
0:00 first
@Cannonplaylol
@Cannonplaylol 3 ай бұрын
i made a time leaderstat lol (its bassically the same thing except the name is time instead of coins) game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local coins = Instance.new("IntValue") coins.Name = "Time" coins.Value = 0 coins.Parent = leaderstats while true do task.wait(1) coins.Value = coins.Value + 1 end end)
@MetaSkills178
@MetaSkills178 5 ай бұрын
bruh i think that it was smth else
@meenaboss1433
@meenaboss1433 3 ай бұрын
Somone teach me i can pay with robux
@Your-Average-KDE-Lover
@Your-Average-KDE-Lover 5 ай бұрын
32 views in 15 mins bro fell off
@spiniks893
@spiniks893 4 ай бұрын
He does usefull tutorials
@giselacandelario68
@giselacandelario68 4 ай бұрын
Yt comment section is done at this point
@UserBananaIDK
@UserBananaIDK 4 ай бұрын
Bro he has only 11k subs like bro?
@AkaSwvy
@AkaSwvy 3 ай бұрын
Bro this fell off meme is so bad
@podpisicgnamenya
@podpisicgnamenya 3 ай бұрын
14 likes in 2 months bro fell off
@mystikewl_
@mystikewl_ Ай бұрын
i made a gambling machine with the math.random and the currency brawldev, did i make you proud?
@TwiistedPlayzz
@TwiistedPlayzz 5 ай бұрын
My Script, +1 speed every second game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local Speed = Instance.new("IntValue") Speed.Name = "Speed" Speed.Value = 0 Speed.Parent = leaderstats while true do wait(1) Speed.Value = Speed.Value + 1 player.CharacterAdded:Connect(function(character) local humanoid = character:WaitForChild("Humanoid") humanoid.WalkSpeed = 0 while true do wait(1) humanoid.WalkSpeed = Speed.Value end end) end end)
@ScriptHeavens
@ScriptHeavens 5 ай бұрын
game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local timeplayed = Instance.new("IntValue") timeplayed.Name = "Time Played" timeplayed.Value = 0 timeplayed.Parent = leaderstats while true do wait(1) timeplayed.Value = timeplayed.Value + 1 end end)
@PODATO_DEVICE_USER
@PODATO_DEVICE_USER 3 ай бұрын
game.Players.PlayerAdded:Connect(function(player) local Leaderstats = Instance.new("Folder") Leaderstats.Name = "leaderstats" Leaderstats.Parent = player local Scripts = Instance.new("IntValue") Scripts.Name = "Scripts" Scripts.Parent = Leaderstats end)
@juju23414
@juju23414 4 ай бұрын
local ts = game:GetService("TweenService") local tt = 1.0 local ti = TweenInfo.new(tt,Enum.EasingStyle.Linear) while task.wait(tt) do local r = math.random(0,255) local b = math.random(0,255) local g = math.random(0,255) ts:Create(script.Parent,ti,{Color = Color3.fromRGB(r,b,g)}):Play() end
@Snow-mw5jm
@Snow-mw5jm 3 ай бұрын
part = script.Parent local debounce = false part.Touched:Connect(function(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player then if debounce == false then debounce = true player.leaderstats.Coins.Value = player.leaderstats.Coins.Value + 1 task.wait(0.5) debounce = false end end end)
@GeeEhs
@GeeEhs 5 ай бұрын
local block = game.Workspace.Block local playerHasTouched = false block.BrickColor = BrickColor.new("Lime green") block.Material = "Neon" game.Players.PlayerAdded:Connect(function(player) local leaderStats = Instance.new("Folder") leaderStats.Name = "leaderstats" leaderStats.Parent = player local coins = Instance.new("IntValue") coins.Name = "Coins" coins.Value = 0 coins.Parent = leaderStats block.Touched:Connect(function(otherPart) if playerHasTouched == false then playerHasTouched = true block.BrickColor = BrickColor.new("Really red") coins.Value = coins.Value + 1 print(player, "has gained a coin!") task.wait(1) playerHasTouched = false block.BrickColor = BrickColor.new("Lime green") end end) end)
@chalmcal
@chalmcal 5 ай бұрын
(made a better version of the script I made for the last episode, altough one problem I have with the script is that multiple body parts touch the brick the points shoot up like crazy without the wait instances activating for some reason) local gun = math.random(1, 6) local gamer = script.Parent local snake = gamer:FindFirstChild("water") local spin = gamer:FindFirstChild("spin") game.Players.PlayerAdded:Connect(function(player) local LeaderStats = Instance.new("Folder") LeaderStats.Name = "leaderstats" LeaderStats.Parent = player local TimesFired = Instance.new("IntValue") TimesFired.Name = "Times fired" TimesFired.Value = 0 TimesFired.Parent = LeaderStats local Coward = Instance.new("IntValue") Coward.Name = "Coward Value" Coward.Value = 0 Coward.Parent = LeaderStats snake.Touched:Connect(function(otherpart) local humanoid = otherpart.Parent:FindFirstChild("Humanoid") if humanoid then TimesFired.Value = TimesFired.Value + 1 if gun == 1 then humanoid.Health = 0 else print("you lived") gun = gun - 1 task.wait(5) end else task.wait(5) end end) spin.Touched:Connect(function(otherpart) local humanoid = otherpart.Parent:FindFirstChild("Humanoid") if humanoid then gun = math.random(1, 6) print("coward") Coward.Value = Coward.Value + 1 task.wait(5) end end) end)
@ziekmanny
@ziekmanny 5 ай бұрын
game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" -- if it isnt written exactly like this it wont work leaderstats.Parent = player local exhale = Instance.new("StringValue") exhale.Name = "Exhale" local breathin = false exhale.Value = "Breathing In" exhale.Parent = leaderstats while true do task.wait(1) if breathin == false then exhale.Value = "Exhaling" breathin = true elseif breathin == true then exhale.Value = "Inhaling" breathin = false end end end)
@aeboistudio4368
@aeboistudio4368 5 ай бұрын
game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local exp = Instance.new("IntValue") exp.Name = "exp" exp.Value = 0 exp.Parent = leaderstats while true do local random = math.random(1, 100) local baseplate = game.Workspace.Baseplate print(random) if random < 1 then print("1%") baseplate.BrickColor = BrickColor.new("Gold") exp.Value = exp.Value + 100 elseif random < 30 then baseplate.BrickColor = BrickColor.new("Silver") print("30%") exp.Value = exp.Value + 50 elseif random < 100 then baseplate.BrickColor = BrickColor.new("Bronze") print("70%") exp.Value = exp.Value + 10 end wait(1) end end)
@Tyger-Games
@Tyger-Games 3 ай бұрын
How Many Secends Played Script! -- put this all in a script game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local secends = Instance.new("IntValue") secends.Name = "PlayTime" -- change PlayTime To What You Want The LeaderBoard Value To Be called secends.Value = 0 secends.Parent = leaderstats while true do wait(1) secends.Value = secends.Value + 1 end end)
@NOTGHOSTONSTEAM
@NOTGHOSTONSTEAM 5 ай бұрын
game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local coins = Instance.new("IntValue") coins.Name = "Coins" coins.Value = 0 coins.Parent = leaderstats local resetCoins = game.Workspace.KillBrick resetCoins.Touched:Connect(function(otherPart) local coins = coins if coins then coins.Value = 0 end end) while true do task.wait(1) coins.Value = coins.Value + 1 end end) I AM SO HAPPY THIS WORKED I USED THE KILLBLOCK FROM LAST EPISODE TO MAKE IT RESET COINSSSSS
@arcticpandaros570
@arcticpandaros570 5 ай бұрын
game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local coins = Instance.new("IntValue") coins.Name = "Coins" coins.Value = 0 coins.Parent = leaderstats local String = Instance.new("StringValue") String.Name = "Class" String.Value = "Warrior" String.Parent = leaderstats while true do task.wait(1) coins.Value = coins.Value + 1 end end)
@sammyawad4933
@sammyawad4933 4 ай бұрын
i call it america game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local coinss = Instance.new("IntValue") coinss.Name = "guns" coinss.Value = 0 coinss.Parent = leaderstats local coins = Instance.new("IntValue") coins.Name = "alcohol" coins.Value = 0 coins.Parent = leaderstats while true do task.wait(0) coins.Value = coins.Value + 99999999 * 9999999 coinss.Value = coinss.Value + 99999999 * 99999999 end end)
@darf-fr
@darf-fr 5 ай бұрын
W
Tables - Roblox Beginners Scripting Tutorial #17 (2024)
27:53
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
How pro Roblox developers learnt to script
10:03
AlvinBlox
Рет қаралды 867 М.
Your roblox game has 0 players, here's why...
5:29
1Coal
Рет қаралды 207 М.
ROBLOX Daily Reward System Tutorial
8:37
Emilki
Рет қаралды 458
Roblox RaycastHitbox Is Extremely Useful...
12:13
Paul1Rb
Рет қаралды 34 М.
My game is 262,000 times faster than Minecraft. I'll show you how.
12:20
IGoByLotsOfNames
Рет қаралды 1,3 МЛН
I Learned How to SCRIPT in 7 Days | Roblox
11:00
Simjet
Рет қаралды 137 М.
Roblox Code Review: Miner's Haven
16:59
foshes
Рет қаралды 98 М.
Datastore: A Scripter's Worst Nightmare Explained
9:55
Ludius
Рет қаралды 23 М.
I Made An ACTUAL "2-Player" Roblox Game
24:55
ByteBlox
Рет қаралды 71 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН