generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Why isn't this script working?

Previous Thread :: Next Thread 
Akozta is not online. 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 is not online. Akozta
Joined: 14 Dec 2008
Total Posts: 442
19 Dec 2014 01:33 PM
bump
Report Abuse
Akozta is not online. Akozta
Joined: 14 Dec 2008
Total Posts: 442
19 Dec 2014 01:59 PM
bump
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image