2uX
|
  |
| Joined: 20 Mar 2013 |
| Total Posts: 6291 |
|
| |
|
Franky264
|
  |
| Joined: 30 Jan 2010 |
| Total Posts: 2757 |
|
|
| 30 Apr 2014 06:25 PM |
| So you need a admin script in your game? |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 30 Apr 2014 06:25 PM |
What?
game.Players.PLAYERNAME:Kick() |
|
|
| Report Abuse |
|
|
|
| 30 Apr 2014 06:27 PM |
if you're making your own, use this in your Chatted Event.
game.Players.2ux:remove() It's an easy kick script... |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 30 Apr 2014 06:29 PM |
Admins = {"YourName", "A Friends Name", "A Doge", "Me"}
game.Players.LocalPlayer.Chatted:connect(function(msg) for i,v in pairs(Admins) do if v == game.Players.LocalPlayer.Name then --string manipulation Player:Kick() end end end_ |
|
|
| Report Abuse |
|
|
|
| 30 Apr 2014 07:19 PM |
@se
It is 2uX
Lua is cap sensitive! |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 30 Apr 2014 07:56 PM |
| no it isnt stupid noob @warSspyKing noobLit |
|
|
| Report Abuse |
|
|
|
| 30 Apr 2014 08:02 PM |
First off transiate, it is. Second, after I helped with your animation editor you promised to stop trolling me remember?
Lua not lua, not LUA, not l.u.a or L.U.A
Lua is case sensitive.
Workspace.Model
Will not work if it is named model and not Model
Workspace.Model.name = "Work"
Will not work either, as it is Name, not name! |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
| |
|
OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
| |
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 30 Apr 2014 11:05 PM |
No.
You can call methods without having to capitalize it. such as:
:Kick() >:kick''; :BreakJoints() >:breakJoints'';
noob |
|
|
| Report Abuse |
|
|
|
| 01 May 2014 04:02 AM |
| Methods are different the the properties, and hierarchy. |
|
|
| Report Abuse |
|
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
| |
|