Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can someone help me with a script that gives the player 2 gems for each completed obby stage?

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?

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 !

1 comment

0

im script beginner so its not weird if it doesnt work

This discussion is preserved as it was. New answers, comments, and votes are closed.