Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
1

For some reason I am unable to make my script where it only shows on your screen? help please.

Asked by 2 months ago
local block = game.Workspace.JoiningReward.JoiningRewardBlock
local player = game.Players.LocalPlayer
block.Touched:Connect(function(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        player.leaderstats.Breaths.Value = player.leaderstats.Breaths.Value +15
        block.JoiningRewardGui.BillboardGui.Text.Text = "Join Again For Your Next Reward!"
        script.Disabled = true
    else
        block.JoiningRewardGui.BillboardGui.Text.Text = "Claim Your Reward!"
        script.Disabled = false
    end
end)

I’m using a local script inside of startergui and for some reason this wont work! please help!

1
IS THIS A BREATHING SIMULATOR Spiritlotus 151 — 2mo
1
ofc! (sounds kinda retarded) but trust me the map is goated I spent like 3 days on it and it looks good Configuator 147 — 2mo
2
if you are seeing this. I am asleep. Yall are mean. Yall wouldnt say goodnight to me. yallwontsaygoodnight 2 — 2mo
0
bad night Jakob_Cashy 74 — 2mo

1 answer

Log in to vote
0
Answered by 2 months ago

try making this a LocalScript, if it doesnt work then...

0
it was a local script Configuator 147 — 2mo
Ad

Answer this question