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: what is wrong wit dis scripty

Previous Thread :: Next Thread 
TheColorfulGuest is not online. TheColorfulGuest
Joined: 16 Jun 2013
Total Posts: 6984
04 Jan 2014 05:15 PM
--[[
Thanks for using TheColorfulGuest's Admin Commands V1.0.0.

Directions:
Put your name in the owner slot.
Put the people you want as a mega admin in the mega admin slot.
Put the people you want as a original admin in the admin slot.
Put the people you want as a game moderator in the moderator slot.
Test it, and enjoy.


Some admin commands are only in use for one type of rank.
Owner=5, Mega Admin=4, Admin=3, Game Moderator=2, and a player with no power=1.
Kick can only be used by admins, ban can only be used by mega admins, and some powerful commands are
only for the owner. Regular players get some weak commands, like cleaning workspace.
--]]

owner=""
megaadmins={"highsharkboy1234","Calvin5198","yojoehobo123","WaterySimon5756","TheColorfulGuest"} --Please keep my name in there, or atleast give some power.
admins={""}
moderators={""}
banlist={""}

function getrank(name)
val=1
if string.lower(name)==string.lower(owner) then
val=5
end
for i,v in pairs(megaadmins) do
if string.lower(name)==string.lower(v) then
val=4
end
end
for i,v in pairs(admins) do
if string.lower(name)==string.lower(v) then
val=3
end
end
for i,v in pairs(moderators) do
if string.lower(name)==string.lower(v) then
val=2
end
end
for i,v in pairs(banlist) do
if string.lower(name)==string.lower(v) then
val=0
end
end
return val
end

function isadmin(plr)
admind=false

for i,v in pairs(moderators) do
if string.lower(plr.Name) == string.lower(v) then
admind=true
end
end
for i,v in pairs(admins) do
if string.lower(plr.Name) == string.lower(v) then
admind=true
end
end
for i,v in pairs(megaadmins) do
if string.lower(plr.Name) == string.lower(v) then
admind=true
end
end
if string.lower(plr.Name) == string.lower(owner) then
admind=true
end
return admind
end

function getplayer(name, plyr)
if string.lower(name) == "all" then
local plrs={}
for a,c in pairs(game.Players:GetChildren()) do
if c:IsA("Player") then
table.insert(plrs,c)
end
end
return plrs
elseif string.lower(name) == "me" then
local plrs={}

table.insert(plrs,plyr)
return plrs
else
local plrs={}
for a,c in pairs(game.Players:GetChildren()) do
if string.find(string.lower(c.Name),string.lower(name)) then
table.insert(plrs,c)
return plrs
end
end
end
end

game.Players.PlayerAdded:connect(function(player)
wait(1)

for i,v in pairs(banlist) do
if string.lower(player.Name) == string.lower(v) then
script.CrashScript:clone().Parent=player.PlayerGui
wait()
player:Destroy()
end
end

player.Chatted:connect(function(cmd)
if string.lower(cmd) == "clean" then
f=game.Workspace:GetChildren()
for i = 1, #f do
if f[i]:IsA("Hat") or f[i]:IsA("Gear") then
f[i]:Destroy()
end
end
end
end)

admin=isadmin(player)

if admin == true then

player.Chatted:connect(function(msg)

rank=getrank(player.Name)


if string.sub(string.lower(msg),0,6) == "clone;" and rank <=3 then
v=getplayer(string.sub(msg,7),player)
if v ~= nil then
for i = 1, #v do
if v[i] ~= nil then
v[i].Character.Archivable=true
c=v[i].Character:clone()
m=Instance.new("Model",c)
m.Name="IsaClone"
c.Parent=workspace
c.Torso.CFrame=v[i].Character.Torso.CFrame+Vector3.new(0,5,0)
c:MakeJoints()
end
end
end
end
end)
end
end)

clean works, but the admin commands are broken.

~Add 1,810 posts to my post count~ CWHP=35k, V* =45k, i'm so colorful yo
Report Abuse
TheColorfulGuest is not online. TheColorfulGuest
Joined: 16 Jun 2013
Total Posts: 6984
04 Jan 2014 05:26 PM
bump

~Add 1,810 posts to my post count~ CWHP=35k, V* =45k, i'm so colorful yo
Report Abuse
TheColorfulGuest is not online. TheColorfulGuest
Joined: 16 Jun 2013
Total Posts: 6984
04 Jan 2014 05:46 PM
23 views... no replies.
seems legit.

~Add 1,810 posts to my post count~ CWHP=35k, V* =45k, i'm so colorful yo
Report Abuse
TheColorfulGuest is not online. TheColorfulGuest
Joined: 16 Jun 2013
Total Posts: 6984
04 Jan 2014 05:54 PM
b2

~Add 1,810 posts to my post count~ CWHP=35k, V* =45k, i'm so colorful yo
Report Abuse
TheColorfulGuest is not online. TheColorfulGuest
Joined: 16 Jun 2013
Total Posts: 6984
04 Jan 2014 06:19 PM
b3

~Add 1,810 posts to my post count~ CWHP=35k, V* =45k, i'm so colorful yo
Report Abuse
TheColorfulGuest is not online. TheColorfulGuest
Joined: 16 Jun 2013
Total Posts: 6984
04 Jan 2014 06:53 PM
b4

~Add 1,810 posts to my post count~ CWHP=35k, V* =45k, i'm so colorful yo
Report Abuse
iValianT is not online. iValianT
Joined: 21 Aug 2010
Total Posts: 58381
04 Jan 2014 06:54 PM
any outputs??
Report Abuse
TheColorfulGuest is not online. TheColorfulGuest
Joined: 16 Jun 2013
Total Posts: 6984
04 Jan 2014 06:58 PM
no
Report Abuse
TheColorfulGuest is not online. TheColorfulGuest
Joined: 16 Jun 2013
Total Posts: 6984
04 Jan 2014 07:27 PM
b5

~Add 1,810 posts to my post count~ CWHP=35k, V* =45k, i'm so colorful yo
Report Abuse
FrozenSmite is not online. FrozenSmite
Joined: 17 Jul 2013
Total Posts: 2242
04 Jan 2014 07:27 PM
tl;dr

♫♪ repeat wait() until game.Players.FrozenSmite.HasALife == true ♪♫
Report Abuse
TheColorfulGuest is not online. TheColorfulGuest
Joined: 16 Jun 2013
Total Posts: 6984
04 Jan 2014 07:33 PM
@frozen
you do know this is a scripting helper forum..
go back to lmad, rt, ot, atr, or whatever you came from

~Add 1,810 posts to my post count~ CWHP=35k, V* =45k, i'm so colorful yo
Report Abuse
FrozenSmite is not online. FrozenSmite
Joined: 17 Jul 2013
Total Posts: 2242
04 Jan 2014 07:34 PM
Jeez mean people c:

♫♪ repeat wait() until game.Players.FrozenSmite.HasALife == true ♪♫
Report Abuse
TheColorfulGuest is not online. TheColorfulGuest
Joined: 16 Jun 2013
Total Posts: 6984
04 Jan 2014 08:09 PM
b6

~Add 1,810 posts to my post count~ CWHP=35k, V* =45k, i'm so colorful yo
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
04 Jan 2014 08:13 PM
"you do know this is a scripting helper forum..
go back to lmad, rt, ot, atr, or whatever you came from"

you know, he is not just joking.

you gave us a long script with little information, no one is going to bother to debug all that.
Report Abuse
TheDarkMelon is not online. TheDarkMelon
Joined: 26 Jan 2013
Total Posts: 17713
04 Jan 2014 08:15 PM
[ Content Deleted ]
Report Abuse
TheColorfulGuest is not online. TheColorfulGuest
Joined: 16 Jun 2013
Total Posts: 6984
04 Jan 2014 08:19 PM
@thedark
>just made this like a couple days ago
you highly expect me to have a better admin than a person's admin who probably worked on it for about a few weeks or more
i would if i didn't have a life

~Add 1,810 posts to my post count~ CWHP=35k, V* =45k, i'm so colorful yo
Report Abuse
TheDarkMelon is not online. TheDarkMelon
Joined: 26 Jan 2013
Total Posts: 17713
04 Jan 2014 08:25 PM
[ Content Deleted ]
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
04 Jan 2014 08:27 PM
"i would if i didn't have a life"

yep, we are dealing with a moron here
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