like when a humanoid touches a specific part it will show up a sentence then after a duration of time it goes away
Also please explain the script :)
I have it working
local gui = game.StarterGui.ScreenGu i--this will be the gui local brick = partNameHere --the part you touch brick.Touched:Connect(function(hit) --when the player touches it if hit.Parent:FindFirstChild("Humanoid") then --making sure it’s a player brick:Destroy() --destroying the brick to prevent glitches. Optional you can delete this line gui.Enabled = true --enabling it wait(4) —letting other stay on screen (change the number for different times it goes in seconds) gui.Enabled = false --disabling it end
--USE A LOCAL SCRIPT-- put the script in the screen gui put the screen gui in startergui change partNameHere to the name of the part put a frame in the gui put a text label in the frame you have to disable the gui in properties you have to edit text label text in properties leave frame and text label visible always
Closed as Not Constructive by WideSteal321, TheWaterFoox, LennyPlayzYT, and JesseSong
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?