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

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

Asked by 2 years ago

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

Log in to vote
0
Answered by 2 years ago

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 !

0
im script beginner so its not weird if it doesnt work teshowypl 15 — 2y
Ad

Answer this question