the best thing is a gui that shows the gems because i already got a leaderstat with stages. And if the payer complets the obby i want a system that like rebirths you and resets the stages but not the gems can anyone helm me there?
COMMUNITY QUESTION
Can someone help me with a script that gives the player 2 gems for each completed obby stage?
1 answer
just make a script that if you touch the invisible part on each levels you recive 2 gems (im polish so my english bad)
local part = workspace.part --for example
part.touched:connect(function()
game.Players.LocalPlayer.leaderstats.Gems.Value = game.Players.LocalPlayer.leaderstats.Gems.Value + 1
-- add the end
if this script is bad sorry but you must do it yourself !
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
im script beginner so its not weird if it doesnt work