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
 

Admin Help

Previous Thread :: Next Thread 
CombatHe is not online. CombatHe
Joined: 26 May 2012
Total Posts: 23
27 Jun 2012 01:15 PM
Idk why but this worked fine until I tried to make stuff like ff/noob123

help?


game.Players:GetPlayerFromCharacter(script.Parent).Chatted:connect(function(msg)
if (msg:sub(1,2)=="s/") then
if not (workspace:findFirstChild("Store")) then
d = Instance.new("Configuration")
d.Parent = workspace
d.Name = "Store"
wait()
end
a = Instance.new("StringValue")
a.Name = "loader"
a.Parent = workspace.Store
a.Value = msg:sub(3)
wait()
loadstring(a.Value)()
elseif (msg:sub(1,5)=="igui/") then
q = Instance.new("ScreenGui")
q.Parent = game.StarterGui
w = Instance.new("Frame")
w.Parent = q
w.Size = UDim2.new(1,0,.1,0)
w.Style = "RobloxSquare"
e = Instance.new("TextLabel")
e.Parent = w
e.Size = UDim2.new(1,0,1,0)
e.BackgroundTransparency = 1
e.TextColor3 = BrickColor.new("White").Color
e.Font = "ArialBold"
e.FontSize = "Size24"
e.Text = msg:sub(6)
elseif (msg:sub(1,4)=="g0d/") then
if (game.Players:findFirstChild(msg:sub(5))) then
game.Players[msg:sub(5)].Character.Humanoid.MaxHealth = math.huge
game.Players[msg:sub(5)].Character.Humanoid.Health = math.huge
end
elseif (msg:sub(1,3)=="ff/") then
if (game.Players:findFirstChild(msg:sub(4))) then
Instance.new("ForceField",game.Players[msg:sub(4)].Character)
end
elseif (msg:sub(1,5)=="kick/") then
if (game.Players:findFirstChild(msg:sub(6))) then
game.Players[msg:sub(6)]:Destroy()
end
elseif (msg:sub(1,4)=="ban/") then
if (game.Players:findFirstChild(msg:sub(5))) then
if not (workspace:findFirstChild("Banned")) then
t = Instance.new("Configuration")
t.Parent = workspace
t.Name == "Banned"
wait()
end
f = Instance.new("StringValue")
f.Parent = workspace.Banned
f.Name = msg:sub(5)
wait()
game.Players[msg:sub(5)]:Destroy()
end
end
end)

game.Players.PlayerAdded:connect(function(ply)
if (workspace:findFirstChild("Banned")) then
if (workspace.Banned:findFirstChild(ply.Name)) then
wait()
ply:Destroy()
end
end
end)
Report Abuse
ThrashSurfFlapjack is not online. ThrashSurfFlapjack
Joined: 20 Feb 2012
Total Posts: 164
27 Jun 2012 03:49 PM
It's happened to me. I quit and rejoin game, my problem is that I tryed "Loopkill/ThrashSurfFlapjack". If THAT does'nt work replace the admin script with a new one.
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