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 :)
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
Sorry for the late response hopefully it works
its done
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Not a website for requests, just saying.
I also want to see how the script works so I can learn scripting a little bit more