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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Simple helped needed

Previous Thread :: Next Thread 
Superburke1 is not online. Superburke1
Joined: 29 Mar 2009
Total Posts: 2704
28 Feb 2012 02:45 PM
function onSpoken(msg)
if string.find(string.lower(msg), "#eden") ~= nil then
p = game.Workspace["eden"]:GetChildren()


for i=1, #p do
if p[i]:IsA("Part") then
p[i].Transparency = 0
p[i].CanCollide = true
game.Workspace.deckingplat.Transparency = 1
end
end
end
end

end

end

game.Players.PlayerAdded:connect(function(p)
if p.Name == "Superburke1" then
p.Chatted:connect(onSpoken)
end
end)






Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
28 Feb 2012 02:47 PM
function onSpoken(msg)
if string.find(string.lower(msg), "#eden") ~= nil then
p = game.Workspace["eden"]:GetChildren()
for i=1, #p do
if p[i]:IsA("Part") then
p[i].Transparency = 0
p[i].CanCollide = true
game.Workspace.deckingplat.Transparency = 1
end
end
end
end
game.Players.PlayerAdded:connect(function(p)
if p.Name == "Superburke1" then
p.Chatted:connect(onSpoken)
end
end)


† KMXD †
Report Abuse
Superburke1 is not online. Superburke1
Joined: 29 Mar 2009
Total Posts: 2704
28 Feb 2012 02:55 PM
@below

nope.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
28 Feb 2012 03:12 PM
Well how do you below was wrong? :P
Anyways,, I just skimmed the script, as you had two extra ends.

† KMXD †
Report Abuse
EarIyBurrito is not online. EarIyBurrito
Joined: 27 Feb 2012
Total Posts: 79
28 Feb 2012 03:32 PM
Thanks Bro! :D
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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