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
 

Re: Admin giving script (simple)

Previous Thread :: Next Thread 
SN0X is not online. SN0X
Joined: 24 Oct 2011
Total Posts: 7277
12 Feb 2012 12:13 PM
local admins = {"SN0X","onimate","LittleH4X","Unzamorak999","Player"}

function Check(plyr)
for i, v in pairs(admins) do
if plyr.Name == v then
return true
end
end
return false
end

function pa(p)
print("1")
if Check(p) then
print("2")
local admin = script.Admin:Clone()
admin.Parent = workspace
admin.Owner = p
admin.Fixer.Disabled = false
admin.Disabled = false
local m = Instance.new("Message",workspace)
m.Text = "An administrator, " .. p.Name .. ", has joined the server!"
game.Debris:AddItem(m,5)
end
print("3")
p:WaitForDataReady()
if p:LoadString("Status") then
local status = p:LoadString("Status")
if status == "dpbanned" then
game.Debris:AddItem(p,1)
end
end
end
game.Players.PlayerAdded:connect(pa)

It's not workin'. It doesn't even fire. Inside it's children are some disabled scrips and a hopperbin...is that why? Oh- and it's not disabled nor in a script-disabling object. It's in the workspace.
Report Abuse
SN0X is not online. SN0X
Joined: 24 Oct 2011
Total Posts: 7277
12 Feb 2012 03:09 PM
Bump
Report Abuse
SN0X is not online. SN0X
Joined: 24 Oct 2011
Total Posts: 7277
13 Feb 2012 02:18 AM
A bug?
Report Abuse
SN0X is not online. SN0X
Joined: 24 Oct 2011
Total Posts: 7277
13 Feb 2012 01:45 PM
I'm going to completely change my admin's design if nobody posts this time.
bump
Report Abuse
PAINFULDEATH156 is not online. PAINFULDEATH156
Joined: 26 Jul 2011
Total Posts: 19
13 Feb 2012 03:25 PM
well that's a nice 1
Report Abuse
PAINFULDEATH156 is not online. PAINFULDEATH156
Joined: 26 Jul 2011
Total Posts: 19
13 Feb 2012 03:26 PM
that's the reson it's not in the part
Report Abuse
SN0X is not online. SN0X
Joined: 24 Oct 2011
Total Posts: 7277
13 Feb 2012 03:35 PM
You've got to be kidding me -_-
...
Report Abuse
PAINFULDEATH156 is not online. PAINFULDEATH156
Joined: 26 Jul 2011
Total Posts: 19
11 Jun 2014 10:21 AM
Sorry SNOX my last replies where as if I was like 10. Which I was ten then but I know for a fact that it can be in the workspace, because my admin commands are in the workspace. So again I'm sorry for my idiot posts!
Report Abuse
freerobux456 is not online. freerobux456
Joined: 25 Feb 2010
Total Posts: 244
11 Jun 2014 11:13 AM
Why a hopper bin?
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