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

How do I make a block that puts dialog on your screen?"

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 :)

2 comments

0

Not a website for requests, just saying.

0

I also want to see how the script works so I can learn scripting a little bit more

1 answer

✓ Accepted answer

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

2 comments

0

Sorry for the late response hopefully it works

0

its done

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