Scripting Helpers is winding down operations and is now read-only. More info→
Ad
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 3 years 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 — 3y
1
ofc! (sounds kinda retarded) but trust me the map is goated I spent like 3 days on it and it looks good Configuator 158 — 3y
2
if you are seeing this. I am asleep. Yall are mean. Yall wouldnt say goodnight to me. yallwontsaygoodnight 2 — 3y
0
bad night Jakob_Cashy 79 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

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

0
it was a local script Configuator 158 — 3y
Ad

Answer this question