Hello everyone!
I was hoping on knowing how to make a gui message appear when you enter an area, and it continues on with a little segment of text. With that said, is there a way for it to appear only for the player who has entered the area? Please help!
Thank you!
Make a brick that's Anchored, Transparent and Un-CanCollided. Then put a script with it with ontouched.
script.Parent.Touched:connect(function(TouchedPart) -- Do Stuff end)
Also make it check if it's an actual player:
script.Parent.Touched:connect(function(TouchedPart) if TouchedPart.Parent:FindFirstChild("Humanoid") ~= nil then -- Check if player -- Do Stuff end end)
And get into the PlayerGui
script.Parent.Touched:connect(function(TouchedPart) if TouchedPart.Parent:FindFirstChild("Humanoid") ~= nil then local Plr = game.Players:GetPlayerFromCharacter(TouchedPart.Parent) Plr.PlayerGui:WaitForChild("GUINAME").DOSTUFF end end)
So the above script would be the full script if you made it do stuff.