#Need help (REBIRTH SYSTEM)
1 messages · Page 1 of 1 (latest)
but thats what he did on the tutorial and it seems to work
how can i make it work ?
by using a remote function not a remote event, like he said
ok i change it but now the script don't work it says that i don't have enough strength even though i have
Part two of the how to make a simulator game on Roblox series where AlvinBlox shows you how to add a rebirth system so that when you reach a certain amount of strength you can reset.
GUI: https://www.roblox.com/library/2790662212/GUI-FOR-VIDEO
PART 3: https://youtu.be/tFATXcfL4zs
Become a Member today for exclusive perks and to support my cha...
it's this tutorial
are u making it so if the Event did fire it should look ```lua
local Rebirth = game:GetService('ReplicatedStorage'):FindFirstChild('Rebirth')
Rebirth.OnServerEvent:Connect(function(player)
local Power = player:FindFirstChild('leaderstats'):FindFirstChild('Power')
local PowerCost = player:FindFirstChild('CostFolder'):FindFirstChild('PowerCost')
local Rebirths = player:FindFirstChild('leaderstats'):FindFirstChild('Rebirths')
if Power.Value >= PowerCost.Value then
Power.Value -= PowerCost.Value
PowerCost.Value *= 1.25
Rebirths.Value += 1 -- could be changed
end
end)```
the Power cost is the amount need to get to Rebirth
in the video it's this script
i just changed it with my variables
that script does not make since
idk i'm a beginner in luau but i didn't understood why the sqrt of 50M
so if i replace the script in the screenshot i sent with you code it'll work ?
well thats a example since that pic look like it was for a Power Game
the thing is that i want a rebirth system that increase the price everytime we rebirth
i followed the first tutorial of the guy but i had to change a script location from the server script service to a tool to make it work
it's a bit weird
i have a setting module script inside the tool to change the values like the ammount of points it gives but if i put the main script inside serverscript service it doesn't work but in the tool it does
** You are now Level 3! **
So it worked?
Also it's best if yk what he's talking about
absolutely not
like i said i had to change the scripts and add other ones to make multiple tools that have easy settings
What datastores you use? Profile Service?
yes
So I'm guessing you guys already got rebirths in the template. I'd personally not make an intvalue for everything if it's already in the template.
Also you gotta define the variables. And normally you wanna change rebirths value with Manager.Adjust(whatever)(plr, parameters)
what template ?
The template you use to hold the data inside of?
That's what i call it
Should be the template
Honestly you could just put everything in datamanager into one script but that also works
ewww Profile Service
If it works, it works
the normal datastore didn't work so i found something that worked
Normal datastore do work, you just aren't using it right. (The whole ProfileService is in lua code anyways). Anyways can you define the variables and see what errors?
bruh i have a regular data store system
i know regular datastore works but as i said i'm trying to understand lua so i watch tutorials but all the tutorials don't work
Yours got session locking?
Or something similar to prevent data loss by multiple sessions trying to connect at once?
im still trying to figure that out but it saves all the time
Wdym it saves all the time? So like you got it or not?
also mine has a Rejoin system if the game gets Updated for possible Private Server and Public servers
i still don't understand what can i do to make the rebirth system work
That's cool
@light axle I asked you to do something but i got ignored
So eh
sry i'm not english what am i supposed to do with the variables ?
Also this is 4 years ago. Stuff could be outdated
i see
Where is your "Power" and other data located
maybe look for another tutorial
Then access them and put them into a variable
Lemme see your template and manager
You don't even have a power data holder... Why did you copied him lol.
Anyways where is your cash located? Also in replicated storage?
it was the script from 1% Creator but even with the good variables it doesn't work
Yeah cause you gotta define the variables....
in the data manager apparently
Anyways heres a great tutorial imo https://youtube.com/playlist?list=PLl1Tso3TyF55UEnXsYkmsamFqKUBdgo1S&si=7ZaCDfv0EDqjcJEf
that's what i did
ok thx
Screenshot
i deleted it because it didn't work
That tutorial has a better profile service setup so you'll have to convert
... so what you got now?
** You are now Level 4! **
Uh fair enough
so it does work lol
Works when yk what to do. Anyways i wasn't motivated to write like 10 lines with a format that i don't use
There isn't really any major changes other than the profile being in a different modulescript
I'll just send you mines smh
Actually nvm. Just watch the video. Doesn't make sense giving the script and you don't understand shit
He'll explain it (although abit fast)
use EternityNum or Bnum
i'll see that tomorrow i'm going to sleep rn thx for your help guys
Just use a number formatter ig
it converts String into making it setup as 1QdSpTr for example or 1OcMiQd
hackers gonna enjoy spamming that remote event
** You are now Level 10! **
lets goo
nope u can just send a custom string into it
Converts number as strings but it also supports arithmetic of those large numbers
Not gonna do shit if you don't got enough power. All you're doing is crashing your game
Also the function is connected to a click event so you don't even need to be a hacker. Just use an autoclicker if they don't even check power on server side
Haven't met a situation where i needed to do that tbh.
like lua Rebirth.InvokeServer('Rebirth')