For some reason I am unable to make my script where it only shows on your screen? help please.
01 | local block = game.Workspace.JoiningReward.JoiningRewardBlock |
02 | local player = game.Players.LocalPlayer |
03 | block.Touched:Connect( function (hit) |
04 | if hit.Parent:FindFirstChild( "Humanoid" ) then |
05 | player.leaderstats.Breaths.Value = player.leaderstats.Breaths.Value + 15 |
06 | block.JoiningRewardGui.BillboardGui.Text.Text = "Join Again For Your Next Reward!" |
07 | script.Disabled = true |
09 | block.JoiningRewardGui.BillboardGui.Text.Text = "Claim Your Reward!" |
10 | script.Disabled = false |
I’m using a local script inside of startergui and for some reason this wont work! please help!