#Need help (REBIRTH SYSTEM)

1 messages · Page 1 of 1 (latest)

light axle
#

I tried to make a rebirth system from a tutorial online but i used "InvokeServer" and it says that it's not a valid member of RemoteEvent "ReplicatedStorage.Remotes.Rebirth"

#

but thats what he did on the tutorial and it seems to work

#

how can i make it work ?

strong crow
#

by using a remote function not a remote event, like he said

light axle
#

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...

▶ Play video
#

it's this tutorial

heady juniper
#

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

light axle
#

i just changed it with my variables

heady juniper
#

that script does not make since

light axle
#

idk i'm a beginner in luau but i didn't understood why the sqrt of 50M

light axle
heady juniper
#

well thats a example since that pic look like it was for a Power Game

light axle
#

here's the script

#

i started to change a bit of the last part with your code

light axle
#

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

hidden fulcrumBOT
#

studio** You are now Level 3! **studio

manic forge
#

Also it's best if yk what he's talking about

light axle
#

like i said i had to change the scripts and add other ones to make multiple tools that have easy settings

manic forge
light axle
manic forge
# light axle

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)

light axle
#

what template ?

manic forge
#

That's what i call it

light axle
#

this ?

manic forge
#

Honestly you could just put everything in datamanager into one script but that also works

heady juniper
#

ewww Profile Service

manic forge
light axle
#

the normal datastore didn't work so i found something that worked

manic forge
heady juniper
light axle
#

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

heady juniper
#

mine acts like Profile but setup differently

#

but ive never used Profile yet

manic forge
#

Or something similar to prevent data loss by multiple sessions trying to connect at once?

heady juniper
#

im still trying to figure that out but it saves all the time

manic forge
heady juniper
light axle
#

i still don't understand what can i do to make the rebirth system work

manic forge
#

So eh

light axle
#

sry i'm not english what am i supposed to do with the variables ?

manic forge
light axle
#

i see

manic forge
light axle
#

maybe look for another tutorial

manic forge
#

Then access them and put them into a variable

light axle
manic forge
light axle
#

template

#

manager

manic forge
# light axle

You don't even have a power data holder... Why did you copied him lol.

manic forge
# light axle

Anyways where is your cash located? Also in replicated storage?

light axle
#

it was the script from 1% Creator but even with the good variables it doesn't work

manic forge
light axle
#

in the data manager apparently

light axle
manic forge
light axle
#

i deleted it because it didn't work

manic forge
manic forge
light axle
hidden fulcrumBOT
#

studio** You are now Level 4! **studio

light axle
#

nothing

#

i removed all the script from the tutorial and 1% Creator

manic forge
light axle
#

how do i convert the profile service ?

#

i have to delete all the files ?

heady juniper
manic forge
manic forge
#

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)

heady juniper
#

use EternityNum or Bnum

light axle
#

i'll see that tomorrow i'm going to sleep rn thx for your help guys

manic forge
heady juniper
#

it converts String into making it setup as 1QdSpTr for example or 1OcMiQd

plush galleon
hidden fulcrumBOT
#

studio** You are now Level 10! **studio

heady juniper
manic forge
manic forge
#

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

manic forge
heady juniper