Bro no way it works i had my own leaderstats but they only support one leaderstat/currency and i checked to so much youtube channels to find a script thats suppoty multiple and you are the only one tha thelped me thank you so much! (You earned a new subscriber)
Ive watched 6 videos on this u are the first one to explain it well to actually make it work to send the script and to show us how to use it u are awesome man please never stop
so there is a problem, you see when i made the script that was from the pastebin it didnt work i tried and tried and it wont work pls help me (You have a new subscriber!)
Bro, my script wasn't working so I looked in the comments and saw you (Teletacos Roblox Tutorials) helping people with their troubles, and I looked at them and it made my script work too. Teletacos Roblox Tutorials keep on being a good youtuber and actually trying to help people. Respect and another sub.
My data is managing to save and prints success but when i try to print the leaderstats value that it should be saving it just says 0 which its not 0 but do you know why?
Yes it works BUT when I spam play and instant close and try joining after few minutes I accidentally noticed that my Points stats becomes 0 again, it doesn't save with those risky game closing issue.
I have a problem I am making a sword fight game and I need leaderstats for Deaths And Kills Can u Replay with the script so I can copy and paste in my game I really need it (thank u(
Im sad to hear that though sometimes it doesnt work in studio, if you want to test it type game.Players.LocalPlayer:Kick() into the command bar while testing the game Also make sure your changing the values on the server
@@TeletacosRobloxTutorials Dude I just tested it. And it finally worked. Bro tysm now I only have to do 1 more thing for my game and all the hard stuff is done!
bro help i made for kills amd deaths and one is working like kills is only saving data pls help i ev watched the whole video and checked the scripts very carefull please help
When you are in game press F9. Click on the Server Option next to Client then type in the command line: game.Players.yourname.leaderstats.Coins.Value = 1 Note: You can ofc change coins to rebirths or whatever you have in the leaderstats and the value to whatever you want
I have been searching for 3 - 4 days and I still can't find a leader stat save I have done everything, and it has not been working Here is my script btw (Clicks and rebirths are my currency) local dataStoreService = game:GetService("DataStoreService") local ds = dataStoreService:GetDataStore("DataStoreTest") game.Players.PlayerAdded:Connect(function(plr) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = plr local Clicks = Instance.new("IntValue") Clicks.Name = "Clicks" Clicks.Parent = leaderstats local rebriths = Instance.new("IntValue") rebriths.Name = "Rebirths" rebriths.Parent = leaderstats local ClicksData, rebrithsData local success, errormessage = pcall(function() ClicksData = ds:GetAsync("Clicks-"..plr.UserId) rebrithsData = ds:GetAsync("rebirths-"..plr.UserId) end) if success then Clicks.Value = ClicksData rebriths.Value = rebrithsData end end) game.Players.PlayerRemoving:Connect(function(plr) local success, errormessage = pcall(function() ds:SetAsync("Clicks-"..plr.UserId, plr.leaderstats.Clicks.Value) ds:SetAsync("rebirths-"..plr.UserId, plr.leaderstats.Rebirths.Value) end) end) please help
Bro no way it works i had my own leaderstats but they only support one leaderstat/currency and i checked to so much youtube channels to find a script thats suppoty multiple and you are the only one tha thelped me thank you so much! (You earned a new subscriber)
Thx so much I've watched about 5 different tutorials this is the only one that works I'm liking and subscribing.
Ive watched 6 videos on this u are the first one to explain it well to actually make it work to send the script and to show us how to use it u are awesome man please never stop
THX OMG finally dude i ve been trying for hours
You just earned new sub! It's works! Thank you so much! :D
Thank you! There are way too many tutorials that are just premade scripts so thank you for explaining
it don't work and I hate it I copied everything exactly how it is on his vid and it dont work
why always not work every time,leadeboard work but not save
so there is a problem, you see when i made the script that was from the pastebin it didnt work i tried and tried and it wont work pls help me (You have a new subscriber!)
shut up with the pls help me learn the script and dont copy and paste it
@@404-AnimationYT Fr, Most people don't even care to learn Lua and just copy and paste most of the time.
Bro, my script wasn't working so I looked in the comments and saw you (Teletacos Roblox Tutorials) helping people with their troubles, and I looked at them and it made my script work too. Teletacos Roblox Tutorials keep on being a good youtuber and actually trying to help people. Respect and another sub.
My data is managing to save and prints success but when i try to print the leaderstats value that it should be saving it just says 0 which its not 0 but do you know why?
love the channel name teletaco XD
Thanks this tutorial really helped!
BRO U ADDED THE SCRIPT WITHOUT MAKING US PAY FOR IT!? UR THE BEST
maybe i'm just unnatentive but is there a section where they say how to make the bricks hat add the value?
thats what in saying
Hey, my script said the value cannot be converted to number and it didn't work, how can I fix it?
I have a question beacuse my rebirths wouldn't save so would is save saveautomsticly later?
Thank you so much, it helped a lot
Hey bro, my script said value cannot be converted to a number, and it didn't work, how can I fix it?
How do i delete the datasaves?
Thank you so much bro. You earned a sub! You just helped me with a big part of my game!
what's your game called?
You are the first one to show a script that is so easy to understand i thank you so much
Yes it works BUT when I spam play and instant close and try joining after few minutes I accidentally noticed that my Points stats becomes 0 again, it doesn't save with those risky game closing issue.
I have better, probably the perfect datastore script for leaderstats based from devforum.
@@MrMetrivus can u give pls
@@MrMetrivus bro rlly didn't link or tell us
Yo legit thank you so much I’ve been looking and trying to do a saving leaderstats for 2 weeks, you legit helped me out so much
Thank you soooo much I was struggling to find a tutorial that had multiple leaderstats saving thanks so much + 1 sub
it kinda works theres a problem i buy a developer product and spend coins with it when i rejoin i have the value of the developer products i made
FINALLY ONE THAT WORKS!! THANK YOU!
It was working but its started to not working at my game.. idk why can help?
how to make it you can only touch it to get the money and you can only get it once?
if u didnt know u cannot call a value a letter?
How to do it with strings?
THANK YOU SOO MUCH!
doesent work for me
if you could give a working one ill sube
How do you do it if you already have a leaderstat?
Perfect thanks(:
but with 2 value?
really good video
DUDE I LOVE YOU SO MUCH. I AM TRYING TO FIX THIS FOR FEW HOURS. I LOVE YOU!!!!!!!!!!!!!!!
YES FINNALY
something that works
thx
I have a problem I am making a sword fight game and I need leaderstats for Deaths And Kills Can u Replay with the script so I can copy and paste in my game I really need it (thank u(
It doesn't work even when I use Api services or using the script from the Pastebin
same as me bro
Bruh it doesn't work I even enabled API services :(
Im sad to hear that though sometimes it doesnt work in studio, if you want to test it type game.Players.LocalPlayer:Kick() into the command bar while testing the game
Also make sure your changing the values on the server
@@TeletacosRobloxTutorials How do I change the values on the server?
@@TeletacosRobloxTutorials Dude I just tested it. And it finally worked. Bro tysm now I only have to do 1 more thing for my game and all the hard stuff is done!
@@thegamingadrian5419 Nice!
it works but there is only one bug. When re-entering the game, my data is not saved, it comes all the way back to zero again. help pls?
IT WORKEDD
I JUST HAD TO PLAY WITH THE COMMANDS A LITTLE BIT
AND TRY MULTIPLE TIMES. THNKS.
I have this glich what should i do?
@@krishnabhurtun372 how to fix
it didnt work for me
I tested it in a real game I have API turned on and still isn't working. Help?
try using the pastebin in the disc?! that worked for me
@@ItsValidexI tried pastebin and everything this comment is saying and it still doesn’t work. I’ve went through my script 3 times 😭
tysm
not working
first one that works
edit: i think you need to save the game first because before it not work
Thank you so much!!!!
bro help i made for kills amd deaths and one is working like kills is only saving data pls help i ev watched the whole video and checked the scripts very carefull please help
Sameeee
can anyone help, ive tried many different scripts for this and none work and i do have api service on, ive even copy and pasted
idk how to fix it
ive had the same problem
@@Gamernoobub you ever find the fix?
ive been trying for weeks and i still havent found a way to make it work@@sixturnsALT
if i do find a way i could make a video and tell you about it@@sixturnsALT
it doesnt work
How do I make it so that when you spawn you already have 10 money for example
probably the same way you spawn a player with a sword for example. Same code but instead use the code for the money
do currency name.value = amount
@@thehaats true
Bruh doesnt work
Doesn't work!
tysm i was trying to make my leaderstats and it just would not show up and after i copied you video it worked
best scripter ever😊
Didn't work not one bit.
it don't work;-;
for somehow it didn't work due to the "warning line"
same
my roblox game are going to popular with this (my friend game that i helped)
i can't
😞😞😞
It dosnt work for me Pls help
Have you turned on api services in the game settings, if so it doesn't always work in roblox studio so you might want to try it out in the real game.
Posibly its just outdated but its not working, great video anyway.
it didnt work
Have you enabled api services in the game settings?
@@TeletacosRobloxTutorials yes
@DavibPlayz It works...
@@BeepSheepHello Not for me
could have been a spelling error or a you have space where its not needs
How can I increase my money with a command?
When you are in game press F9. Click on the Server Option next to Client then type in the command line: game.Players.yourname.leaderstats.Coins.Value = 1
Note: You can ofc change coins to rebirths or whatever you have in the leaderstats and the value to whatever you want
It only saves one leaderstat though
you didnt watch long enough
WHY IT DOESNT WORK
Have you enabled api services? And if your testing it in Roblox Studio it often doesnt work, therefore I recommend testing it in a real Roblox game.
Thankss
Please make it so when the server closes it saves
use :blindToClose
@@RealTurwinwhere?
go to settings and enabled ip servece
doesnt work :(
Did you get any errors in the console and have you enabled api services in the game settings?
@@TeletacosRobloxTutorials i did not get any errors and the game setting thing isnt the issue :/
@@itzmqximingame you may have changed something
WORKS
it works!!!!!!!!!!!
How delete??? Pliss help!!!!!
FINALLY ONE THAT WORKS!!!
joia
Thanks, other videos i tryed didnt work ;/
NOOB GIVE THE SCRIPT FOR BRICK
This one still works 🤟
DEAD
I have been searching for 3 - 4 days and I still can't find a leader stat save I have done everything, and it has not been working
Here is my script btw (Clicks and rebirths are my currency)
local dataStoreService = game:GetService("DataStoreService")
local ds = dataStoreService:GetDataStore("DataStoreTest")
game.Players.PlayerAdded:Connect(function(plr)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = plr
local Clicks = Instance.new("IntValue")
Clicks.Name = "Clicks"
Clicks.Parent = leaderstats
local rebriths = Instance.new("IntValue")
rebriths.Name = "Rebirths"
rebriths.Parent = leaderstats
local ClicksData, rebrithsData
local success, errormessage = pcall(function()
ClicksData = ds:GetAsync("Clicks-"..plr.UserId)
rebrithsData = ds:GetAsync("rebirths-"..plr.UserId)
end)
if success then
Clicks.Value = ClicksData
rebriths.Value = rebrithsData
end
end)
game.Players.PlayerRemoving:Connect(function(plr)
local success, errormessage = pcall(function()
ds:SetAsync("Clicks-"..plr.UserId, plr.leaderstats.Clicks.Value)
ds:SetAsync("rebirths-"..plr.UserId, plr.leaderstats.Rebirths.Value)
end)
end)
please help
First thing have you enabled Api services on the game?
@@TeletacosRobloxTutorials Yep
@@TeletacosRobloxTutorials im also going to try on another game just to be sure if i am doing something wrong
not working :(
help me its not saving datas for me
It don't work bruh
dosent work
Dont work