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

does anyone know how to make a gui only show for a certain player?

i was playing with my friend and he got to the gui part and it showed up for him and me aswell. so i need to figure out how to make it so it only shows for the player that triggered the gui


workspace.WishHimAGoodBirthday.ClickDetector.MouseClick:Connect(function() script.Parent.TextTransparency = 0.9 wait(.03) script.Parent.TextTransparency = 0.8 wait(.03) script.Parent.TextTransparency = 0.7 wait(.03) script.Parent.TextTransparency = 0.6 wait(.03) script.Parent.TextTransparency = 0.5 wait(.03) script.Parent.TextTransparency = 0.4 wait(.03) script.Parent.TextTransparency = 0.3 wait(.03) script.Parent.TextTransparency = 0.2 wait(.03) script.Parent.TextTransparency = 0.1 wait(.03) script.Parent.TextTransparency = 0.0 end)

2 comments

0

Edit your question to show your script, since we don't know how it's triggered.

0

done

1 answer

Tell me if this works!

workspace.WishHimAGoodBirthday.ClickDetector.MouseClick:Connect(function(player) 
if player.UserId == YourfriendUserIdHere then
script.Parent.TextTransparency = 0.9 wait(.03) script.Parent.TextTransparency = 0.8 wait(.03) script.Parent.TextTransparency = 0.7 wait(.03) script.Parent.TextTransparency = 0.6 wait(.03) script.Parent.TextTransparency = 0.5 wait(.03) script.Parent.TextTransparency = 0.4 wait(.03) script.Parent.TextTransparency = 0.3 wait(.03) script.Parent.TextTransparency = 0.2 wait(.03) script.Parent.TextTransparency = 0.1 wait(.03) script.Parent.TextTransparency = 0.0 end)
end

2 comments

0

it wont work because having it just work for him doesnt make it only show up for him and i want it to work for multiple people and not just him

0

ok

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