I want to write time instead of money but leader stats (data version) When I change the thing on line 21 it doesn't work. But only leaderstats also works. Can u help ?
Hello, I want to keep the script, but how do I change the name from money to points? When I do, it just doesn't work and doesn't give me anything. What do I do?
whenever i purchase an item from the sword shop i made, the points shott from 250 to 0 after i purchase, but then go back up to 251, is there a fix for this?
Tech Do you have a video that makes leaderboard? I finished this video how to get money/points every second. But i want to have a leaderboard so i know how much money/point does people have like whos the 1st 2st 3st like that. Pls Reply to me!
Hi guy, what if i use dialog then if player select true dialog choice point in leaderstats will +1 I can’t do this I try to mix your method with dialog basic localscript then put it in starterplayerscript represent your second script in severscripsevice
help, I was making a obby with an autosave with stage leaderboard. Then when the added the Leaderstat (Datastore), The stage leaderboard was gone and it was replaced with the "Money" Leaderstats. The money saves, but I don't see the stage leaderstat. Is there a way to fix this?
how do i make it so when a player joins, a number value generates into their player files. i am making a tycoon completely from scratch and i dont know how to do this.
On the first person shooting series, is there any way to make it rapid fire when the mouse is being held down. I tried experimenting with loops but I can't seem to get it to work.
Can you make a video about.... -Admin GamePass working -Admin Commands working -Ban GUI Commands that give players game currency (only from game mods) Love your vids please make these a vid I need them. Everyone makes them so bad and they don't work. Even in their video
bro this is very usefull thank you (you'll see me a lot so pls ignore these comments ) and i was working on a game and i want you to try it as soon as it is ready. if you are free that is
wow thank you so much! thsi was rlly helpful for me! but is there a way to like make a safezone where you dont get points and everyone has infinite health?
Is there a way to make it so that if they are on certain teams they will get the points? Say if somebody is on the "Lobby" Team, they wouldn't get anything but if they are on "Red Team" and "Blue Team" they'll get points?
im not the best game designer, but I think its something along the lines of while game.Player.LocalPlayer.Team.TeamName == team name do *money giver script here*
hello! :3 if you could help me it would be greatly appreciated ^^. How may I use this to give you points only if you have a certain tool? Like if you buy this item, you get the points? tysm for your time. keep up great work!
Hi, I'm making an obby and I would like to make it so when the player steps on the checkpoint, they are awarded a bonus of a certain amount of coins. I don't want them to be able to collect the bonus more than once. I only want it so each player can touch the brick only once when they completed the stage. Could you do a tutorial on that? edit: I just saw that you have a touch part to get points tutorial. I still have a question though: How do you make it so the players can only collect the bonus once. I want all players in the game to be able to collect the bonus from the block once. (Every player that completes stage 1 of the obby will get a stage 1 bonus but if they go back to the stage 1 checkpoint again they will not receive a bonus because they already passed the stage).
Can you make a video about rocket launchers like a rocket laucher that turns players in to ice and then blows them up you know like weird onces crazy once
I used this system to help my game make a car buying and spawning system, works great! But... when you purchase a car the amount the cars costs DOES get subtracted, but a few seconds later your points go back to what they were, how can I fix this?
Here you go! Paste these in separate scripts inside the ServerScriptService. Script 1: local amount = 1 while true do wait(math.random(1,3)) --change interval to whatever you want for _,plr in pairs(game.Players:GetChildren()) do local stats = plr:FindFirstChild('leaderstats') if stats then stats.Points.Value = stats.Points.Value + amount end end end =================================================================================== Script 2: local function onPlayerJoin(player) local leaderstats = Instance.new('Folder') leaderstats.Name = 'leaderstats' leaderstats.Parent = player local points = Instance.new('IntValue') points.Name = 'Points' points.Value = 0 points.Parent = leaderstats end game.Players.PlayerAdded:Connect(onPlayerJoin)
It worked, but do u know maybe how to give to some people money? so like, everyone starts with 5 coins and they get every min 5 coins (That worked). But what I wanna add more is, I want for some other people that they get already let's say 1K coins but not everyone just a few roblox users
@@TechwithMikeYT i only have one so far because in the video you showed you tested like half way through and the board was up it didnt even have that ill show you what i have rn though
Thanks a ton, with this, I'll finally be able to have a working currency system for my morph game!
Notifs on, thank you for this!
This will be so useful in my roleplay game, thank you!
will it reset when player rejoin?
Look for a leaderstats Auto-Save
I very like your tutorial.Everything works well.keep it up.I subs and support you!
I want to write time instead of money but leader stats (data version)
When I change the thing on line 21 it doesn't work.
But only leaderstats also works.
Can u help ?
THANK YOU SO MUCH I HAVE BEEN LOOKING FOR THIS
will it reset when player rejoin?
@@guysnail1316 No, that's the whole point of the Datastore. It does exactly as said, stores your data.
Hello, I want to keep the script, but how do I change the name from money to points? When I do, it just doesn't work and doesn't give me anything. What do I do?
Wherever it is written money in both scripts change it from Money to Points
whenever i purchase an item from the sword shop i made, the points shott from 250 to 0 after i purchase, but then go back up to 251, is there a fix for this?
how do you make when u buy a part like then it starts giving you automaticly money
TYSM! I will subscribe. With your help , I've been getting better at ROBLOX scripting. Now I'm going to go look for a leaderboard video- ;-;
I am Turkish and Turks did not teach such things in Roblox, you are the king!!!!!
Mine did not work
the script helps so much and saves so much time and any erros thanks!
How do i make so when i touch something i auto get points ?
Tech Do you have a video that makes leaderboard?
I finished this video how to get money/points every second. But i want to have a leaderboard so i know how much money/point does people have like whos the 1st 2st 3st like that. Pls Reply to me!
Hi guy, what if i use dialog then if player select true dialog choice point in leaderstats will +1 I can’t do this I try to mix your method with dialog basic localscript then put it in starterplayerscript represent your second script in severscripsevice
you deserve more subs, thank you.
help, I was making a obby with an autosave with stage leaderboard. Then when the added the Leaderstat (Datastore), The stage leaderboard was gone and it was replaced with the "Money" Leaderstats. The money saves, but I don't see the stage leaderstat. Is there a way to fix this?
hey so im having a problem where it dosent work with multiple players but works fine in singleplayer.i dont know why it does this can someone help
how do i make it so when a player joins, a number value generates into their player files. i am making a tycoon completely from scratch and i dont know how to do this.
Can you make a video where you can buy stuff with the currency as a gui? Please can you do it?
Make a video on ragdolls
Wow you think it will help me a lot!
Thank You Very Much! This Was Very Helpful!
On the first person shooting series, is there any way to make it rapid fire when the mouse is being held down. I tried experimenting with loops but I can't seem to get it to work.
How to give players a points after finishing the game in another place.
The place is attached to original game.
Can you make a video about....
-Admin GamePass working
-Admin Commands working
-Ban GUI
Commands that give players game currency (only from game mods)
Love your vids please make these a vid I need them. Everyone makes them so bad and they don't work. Even in their video
So how am I supposed to update everything in the advanced LeaderStats script. ( Already Renamed "Money" ) It gives points but doesn't save.
have you published the game and enabled API Services?
how can i make this currency be used to buy some stuff in my game?
This can be usefull with daily rewards for my game. Thx man
If you read this by any chance, can you tell us how to make a shop with the coins?
You can watch alvinblox
IT WORKS!!!! best video ever.
Thank you so much!
this works perfect!
will it reset when player rejoin?
bro this is very usefull thank you (you'll see me a lot so pls ignore these comments )
and i was working on a game and i want you to try it as soon as it is ready. if you are free that is
Thanks bro this helped alotttt.
How can you make it so it only happens to certain ranks in a group?
you have to use robloxs API, but im not entirely sure how to find ranks of a group
Ik im late but is there a way to give points to players in-game?
Thank you so much
wow thank you so much! thsi was rlly helpful for me! but is there a way to like make a safezone where you dont get points and everyone has infinite health?
Ideas : crafting system? btw ur vids are cool
do you still type this datasave script when u already have one?
Good videos love the tutorials
how do i make a coins per second upgrade?
Its working,thank you!
Is there a way to make it so that if they are on certain teams they will get the points? Say if somebody is on the "Lobby" Team, they wouldn't get anything but if they are on "Red Team" and "Blue Team" they'll get points?
im not the best game designer, but I think its something along the lines of
while game.Player.LocalPlayer.Team.TeamName == team name do
*money giver script here*
Is it possible by making it but with a ui?
it dosent work for me but the point system works it dosent save the points tho
why does it say " players is not a valid member of DataModel "Game""?
nevermind i just had to put a capital letter
how do u make the gui or whatever it is for the level
hello! :3 if you could help me it would be greatly appreciated ^^. How may I use this to give you points only if you have a certain tool? Like if you buy this item, you get the points? tysm for your time. keep up great work!
what if you already have one leaderstats
I love ur vids :)
idea: teleport gui
how can we make a shop with that?
Nice :) btw can you make a system so of you kill an npc a system message appears?
how do i reset a players point count on death?
I'll use it thx
The points will save?
hey, great script! but is there a way to make it so premium player earn more? thanks
exactly what i needed
Hi, I'm making an obby and I would like to make it so when the player steps on the checkpoint, they are awarded a bonus of a certain amount of coins. I don't want them to be able to collect the bonus more than once. I only want it so each player can touch the brick only once when they completed the stage. Could you do a tutorial on that?
edit: I just saw that you have a touch part to get points tutorial. I still have a question though: How do you make it so the players can only collect the bonus once. I want all players in the game to be able to collect the bonus from the block once. (Every player that completes stage 1 of the obby will get a stage 1 bonus but if they go back to the stage 1 checkpoint again they will not receive a bonus because they already passed the stage).
just use a wait function and put it to around 1 million seconds or something eg:
wait(10000000000000)
@@dexx0 Thanks for the suggestion!
@@egypt6868 no problem!
@@egypt6868 or make it so the script gets destroyed,taht means the script will never work again
@@dexx0 i'd recomment to put wait(math.huge) (I know the comment is old but it's just in case so you know)
for me the leaderstats does not show up
tysm
Thank you!
The datastore leaderstats doesnt work for me is there something im missing?
Check the output while the game is running to see if you have any error messages
@@TechwithMikeYT a nvm it works now just had to delete the other leader stats script
Can you make a video about rocket launchers like a rocket laucher that turns players in to ice and then blows them up you know like weird onces crazy once
I used this system to help my game make a car buying and spawning system, works great! But... when you purchase a car the amount the cars costs DOES get subtracted, but a few seconds later your points go back to what they were, how can I fix this?
I am guessing you are doing the subtracting from a local script. It has to be a server script otherwise the game dosen't reconize it.
@@blackfire0708 ah okay, thanks!
IT'S WORKS!!! THX
your a life saver
does this save?
Can you make a NPC basic dialog shop with money? Thanks if you do!
With this money that you made in the video ofc
will this save?
the points aren not saving
This works so well, amazing job and keep up the work. +1 sub from mee
Thank you!
@@TechwithMikeYT No Problem :D
Why don't you use += or -= ?
The script doesn't work :P
Did you check output for errors?
@@TechwithMikeYT yep, and can you please do a tutorial video on "How to give a player 1 point in a random time?" :')
Here you go! Paste these in separate scripts inside the ServerScriptService.
Script 1:
local amount = 1
while true do
wait(math.random(1,3)) --change interval to whatever you want
for _,plr in pairs(game.Players:GetChildren()) do
local stats = plr:FindFirstChild('leaderstats')
if stats then
stats.Points.Value = stats.Points.Value + amount
end
end
end
===================================================================================
Script 2:
local function onPlayerJoin(player)
local leaderstats = Instance.new('Folder')
leaderstats.Name = 'leaderstats'
leaderstats.Parent = player
local points = Instance.new('IntValue')
points.Name = 'Points'
points.Value = 0
points.Parent = leaderstats
end
game.Players.PlayerAdded:Connect(onPlayerJoin)
It worked, but do u know maybe how to give to some people money? so like, everyone starts with 5 coins and they get every min 5 coins (That worked). But what I wanna add more is, I want for some other people that they get already let's say 1K coins but not everyone just a few roblox users
onPlayerJoin is underlined in blue
Nice! Also is there a way to use the points for shops?
yes, just watch other videos
i dont understand what i am doing wrong
Imma use this to make a time in game leaderboard
Great video
this guy overcomplicates his life
it didnt work sadly and i checked if there was error messages but it doesnt look like there is ; (
Did you put it in server storage by accident?
@@TechwithMikeYTill check
@@TechwithMikeYT No it is in serverScripservice and there is 2 scritps and i did one and i tested when you tested and it didnt work
Can you paste what you have for both?
@@TechwithMikeYT i only have one so far because in the video you showed you tested like half way through and the board was up it didnt even have that ill show you what i have rn though
how do I change the "Money" to say "time"
just change the values that say “money” to time
can you do a tutorial about muder mystery 2 system?
It didnt work sadly. Can you think of any reason why?
Without post your code or telling me what error messages you have in the output while the game is running...nope no clue.
@@TechwithMikeYT Thank you for the reply! I fixed it last night and I forgot to tell you. You've earned a sub!
Glad to hear! Thanks!
Can you help me? mine didnt work and if you got yours working i need somebody too help me get mine working
Nice vid
doesn't work
if this is good i will sub
can you make like piggy jumpscare
bro that didnt work
the points dont saveee
Its not supposed to if you want it to save you would have to do stuff in replicated storage
make a tutorial of custene
Why you got 2k subs thats a cheat!
ctrl c ctrl v your script is now my property
clickbait
it didnt work
It works , either you made a typo or you couldn't figure out how to change the name from 'money' to something else and that broke it.
I LOVE YOU THANK YOU SO MUCHHHHHH
Thanks 😊
I will clap u...