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 » Scripting Helpers
Home Search
 

Is this script going to work?

Previous Thread :: Next Thread 
EchoDuplication is not online. EchoDuplication
Joined: 04 Apr 2013
Total Posts: 13205
02 Aug 2013 07:09 PM
local isAdmin = {["EchoDuplication"] = true, ["runeyak5"] = true, ["kingiceblock"] = true}

function findPlayer(name)
for _, player in ipairs(game.Players:GetPlayers()) do
if player.Name:lower() == name:lower() then
return player
end
end
end

function onChatted(message, player)
if message:sub(1, 5) == "Load:FFA" and isAdmin[player.Name] then
game.Lighting.l1.Parent = game.Workspace
end
end

function onChatted(message, player)
if message:sub(1, 5) == "Remove:FFA" and isAdmin[player.Name] then
game.Workspace.l1.Parent = game.Lighting
end
end


game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(message) onChatted(message, player) end)
end)

~♪~♫~♪~♫~♪~♫~♪~♫~
Report Abuse
EchoDuplication is not online. EchoDuplication
Joined: 04 Apr 2013
Total Posts: 13205
02 Aug 2013 07:12 PM
It did not

what's wrong with it? ;_;

~♪~♫~♪~♫~♪~♫~♪~♫~
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