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

how do I make when I touch a wall or a brick then a image pops up in your face?

Asked by 2 years ago

this is what I have right know

script.Parent.Touched:Connect(function(hit)
    local humanoid = hit.Parent:FindFirstChild("Humanoid")
    if hit.Parent ~= humanoid then
             -- I Don't know what to put here but I know I'll have to connect this script to the screen GUI
    end
end)
0
~= means it isnt equal to momgggbghghghghg 50 — 2y
0
i know. MAD_DENISDAILY2 137 — 2y
0
if im wrong its because i usually use functions for a touch event momgggbghghghghg 50 — 2y
0
also you can make guis have images momgggbghghghghg 50 — 2y
0
cool MAD_DENISDAILY2 137 — 2y

1 answer

Log in to vote
0
Answered by 2 years ago

if hit.Parent ~= humanoid then

else

game.StarterGui.guiname = true

Ad

Answer this question