Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago

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

0
Not a website for requests, just saying. DetectiveRaie 193 — 3y
0
I also want to see how the script works so I can learn scripting a little bit more Haker902c 18 — 3y

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?

1 answer

Log in to vote
0
Answered by 3 years ago
Edited 3 years ago

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

0
Sorry for the late response hopefully it works peytonallen920 66 — 3y
0
its done peytonallen920 66 — 3y
Ad