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 when I touch a wall or a brick then a image pops up in your face?

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)

5 comments

0

~= means it isnt equal to

0

i know.

0

if im wrong its because i usually use functions for a touch event

0

also you can make guis have images

0

cool

1 answer

✓ Accepted answer

if hit.Parent ~= humanoid then

else

game.StarterGui.guiname = true

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