Want to implement Firebase to your Roblox game? Follow this!
The things you’ll need to get this set up are:
*
Your firebase URL. - If you’re in your realtime database, you’ll be able to find it here:
*
Next, your auth token. To find this, there’s a few more steps, they are the following.
**
Head over to project settings:
**
Select Service Accounts:
**
Click on database secrets:
**
And finally, copy your auth token
Download the Roblox studio file I’ve attached to this message, it has the needed modules and examples.
FirebaseTemplate.rbxl (22.0 KB)
We’ll start off by getting everything set up.
**
Head over to ServerScriptService and go into FirebaseService:
**
From above, put in your auth token and database URL:
Alright, now we’ll head over into DBHandler
**
Start off by putting in where you want to save the data. Ex. ___ Game:
**
I’ve set up some notes inside the script, basically guiding you. Follow and fill anything that may be needed.
If you need any other help or have questions, let me know and I’ll try to help you!