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

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

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!

4 comments

1

IS THIS A BREATHING SIMULATOR

1

ofc! (sounds kinda retarded) but trust me the map is goated I spent like 3 days on it and it looks good

2

if you are seeing this. I am asleep. Yall are mean. Yall wouldnt say goodnight to me.

0

bad night

1 answer

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

1 comment

0

it was a local script

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