Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to carry your health into other places?

Asked by 10 years ago

I am making an FPS game, and I want your health to carry over to the next level. Such as, if you have 30 health, your health when you teleport to the next level should be 30 as well. How would I do this? And I mean any health amount. Along with any ammo, weapons, or anything. The value of ammo is "Ammo" and "AmmoStored."

2 answers

Log in to vote
1
Answered by
TofuBytes 500 Moderation Voter
10 years ago

Use DataStoreService to save the current state of the player's health.

0
I don't know how to use DataStoreService, though. TheRings0fSaturn 28 — 10y
0
Wiki has a tutorial. wiki.roblox.com Search "GlobalDataStore" Lacryma 548 — 10y
Ad
Log in to vote
-2
Answered by 10 years ago

Don't make the health go up, Don't know how to. But I know that.

Answer this question