#I need help with a menu script --Buttons That Work--
1 messages · Page 1 of 1 (latest)
Sure bro! If you don’t know how to code start with https://create.roblox.com/docs/tutorials/curriculums/core then learn how to code and it will be much easier 
type that site on the gif you will not get your ip grabbed
the site is fine
but not roblox
hey that did NOT help
google and youtube exists
use atleast 50% of your brain
Oh you wanted us to do all the work for you 😳 in that case you should check out #💵︱hiring
eh
those ui's are a bit complex?
use profileservice to store each game, donations should be easy, once u make a working system that stores each game or run, making the continue button should be just a little hard
also change the ui colors, they are not addictive enough
oK so im new to studio only about a month old
whats profile service :)
its a open source better datastore script u can use to store each game run or store anything in usual
but if your new just start with roblox's datastores
Is this scripting or no>
it is scripting
Take ur time
local PlayerData = DSS:GetDataStore("PlayerData_v1")
local function GiveStats(player)
-- Setup Folders
local leaderstats = Instance.new("Folder", player)
leaderstats.Name = "leaderstats"
local hiddenStats = Instance.new("Folder", player)
hiddenStats.Name = "HiddenStats"
local cash = Instance.new("IntValue", leaderstats)
cash.Name = "Cash"
local timePlayed = Instance.new("IntValue", hiddenStats)
timePlayed.Name = "TimePlayed"
local BrainrotCarrying=Instance.new("StringValue",hiddenStats)
BrainrotCarrying.Name="BrainrotCarrying"
-- LOAD DATA
local data
local success, err = pcall(function()
data = PlayerData:GetAsync(player.UserId)
end)
if success and data then
-- If data is a table, we unpack it
cash.Value = data.Cash or 0
timePlayed.Value = data.TimePlayed or 0
print("Data loaded for " .. player.Name)
else
cash.Value = 0
timePlayed.Value = 0
warn("New player or error: " .. tostring(err))
end
end
local function SaveStats(player)
local leaderstats = player:FindFirstChild("leaderstats")
local hiddenStats = player:FindFirstChild("HiddenStats")
if leaderstats and hiddenStats then
local dataToSave = {
Cash = leaderstats.Cash.Value,
TimePlayed = hiddenStats.TimePlayed.Value,
LastSeen = os.time() --This for offline earning :D
}
local success, err = pcall(function()
PlayerData:SetAsync(player.UserId, dataToSave)
end)
if not success then warn("Failed to save: " .. err) end
end
end
game.Players.PlayerAdded:Connect(GiveStats)
game.Players.PlayerRemoving:Connect(SaveStats)
game:BindToClose(function()
for _, player in ipairs(game.Players:GetPlayers()) do
SaveStats(player)
end
end)--this is just a example script i took from one of my games```
woah
game:BindToClose should make it work inside studio
it has a bit of improvement to do tho
Fr
ye
u only want cash and timeplayed values? timeplayed wouldnt show, only cash will show on leaderboards though
like the whole run?
like night
say theres 5 nights
i need to know which night they died/left off on
which one-fifth did they end off on
so use the script i gave or some other script from devforums to make the script, it should have a similar concept
mmm..
just save the player's data when they leave and give it to them when they continue or throw a error message saying they cant find a previous run
i dont really know how but ill try my best!
k
id?
dang
i mean put the values there like nights, some currency and all
is this where I'd put the data to save?
and then when player clicks continue you load it all in and if player dies, u put all his stats to nil if u want to so it is considered he has no run and u can also do it so it detects u already have a run and gives u a option to overwrite it
first release was literally today
the first BETA test release of the main game today
yeah
just working on the lobby and stuff...
so just this part is remaining?
partially
like menu part?
u should have done it in a desending order, doing the hardest then the easiest cause hardest may not work with the rest of your code at last
but idk
gl on the game though
okay thanls
Bc u SUCK???
what the HECK did i do to you?
wrong reply mb
what the heck DID I DO
Everything bitch
TF??
2/10 ragebait
Bitch
@mortal rune
Hope you know ill tell everyone you tried canceling everything and taking a break
Dumbass
Idiot
Liser
what🥀
oh i took a mental health break
PFFT IMAGINE
** You are now Level 1! **
yeah
can you ping a mod
u could proably make a ticket
👍
pizza are u pizza cause your pizza or are u pizza cause your pizza?
yeah i also made one, i recorded the whole convo
Nuh uh
tf u mean nuh uh
Nuh uh bitch
Loser
Die
No one loves you
Your failing
I HATE you
And so does everyone else
why do u hate?
?
Bitch stfu
No one cares
btw im GOING to steal ur entire game idea and then say you stole MINE
LOSER
😔
your words severely hurt me mentally and physically as well as sexually😔
ouch
ɲįǧĝəř
** You are now Level 2! **
look at this dude
why do u hate? cant u just forgive them of whatever they have done
why?
so?
LIKE HE LITERALLY IS SO FUCKING FAT
IT SHOULD
does he bully u or even attack u?
BITCH EVEN YOUR FATASS DONT LIKE SALAD
No DUMBASS
HES LEARNED NOT TO INTERACT WITH ME
so do u have a justification to hate?
thats a fact
No you dont
just forget it and go along with your life. Your wasting your time hating
ignore him
wait thats an old picture of me
from like 2 years ago
can u delete the face pic tho
so my stuff dont get leaked all over the floor
if u do you'll get perma ban
oh yeah well guess what @wide widget
counter of this centurary
gonna close it if you dooo :)
close it
closed
Nope
muted him
keep this thread open
actually no
close it
we already have the evidence
@mortal rune
ok
@mortal rune howd he just leak your stuff like that?
do you know how that guy did it?
im just curious
Hes my classmate.
BTW I WOULD LOVE if my info got deleted from here
ahem
just a thought tho
hint hint :) @storm radish
hint hint hint hint