Akozta
|
  |
| Joined: 14 Dec 2008 |
| Total Posts: 442 |
|
|
| 19 Dec 2014 01:31 PM |
It is a common script that a lot of people use but it doesn't open for me...
door = script.Parent --this is the door
function onChatted(msg, recipient, speaker)
-- convert to all lower case
local source = string.lower(speaker.Name) msg = string.lower(msg)
if (msg == "256") then door.CanCollide = false door.Transparency = 0.7 wait(2) door.CanCollide = true door.Transparency = 0 end
end
function onPlayerEntered(newPlayer) newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end) end
game.Players.ChildAdded:connect(onPlayerEntered)
|
|
|
| Report Abuse |
|
|
Akozta
|
  |
| Joined: 14 Dec 2008 |
| Total Posts: 442 |
|
| |
|
Akozta
|
  |
| Joined: 14 Dec 2008 |
| Total Posts: 442 |
|
| |
|
|
| 19 Dec 2014 02:04 PM |
I think I'm the only person on the forums right now, and I can tell you that I don't have the patience right now to explain it to you.
But I can tell you that you will need the LoadAnimation property of Humanoid. |
|
|
| Report Abuse |
|
|