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

How to make a wall disappear and reappear?

**Hello guys, good morning. **

I would like to know how I make a wall disappear for a short period of time by having the person say in the chat the right answer.

I took some print.

https://prnt.sc/s1cy8f

when someone said the correct answer the wall will disappear for 4 seconds for the person to pass and will reappear when the 4 seconds are up.

how everyone at school plays roblox. it would be a good move to learn something at home and talk.

1 answer

You must be new, however, this isn't a requesting site, i would suggest you read community guidelines Link: This is how you make the wall look disappeared

local Wall = -- Insert Wall here

game.Players.PlayerAdded:Connect(function(player)
  player.Chatted:Connect(function(msg)
      if msg == "ThisIsNotARequestSite" then -- If the player said ThisIsNotARequestSite then
		Wall.Transparency = 1 -- Invisible wall!
		Wall.CanCollide = false -- Can walk through wall !
		wait(4)
		Wall.Transparency = 0 -- visible wall!
		Wall.CanCollide = true-- Can't walk through wall !
	end
  end)
end)

Hope this would help ! :D Here is a link if you want to learn more about Chatted Event

2 comments

0

my bad .-. yeah, im new but thank u so much.

0

Glad it helped! Don't forget to accept the answer ! :D

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