|
| 16 Mar 2014 07:06 PM |
Started: 5 minuts ago
Quited :10 seconds ago......
Im not sure what variable threw this script off....
if game.Workspace.Player.Playername=Player1 do Player1Crash() then if Player1= Humanoid = true do Remove() end
Scripting helpers = dead
|
|
|
| Report Abuse |
|
|
| |
|
iCandle
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 17873 |
|
|
| 16 Mar 2014 07:07 PM |
Start with HTML my friend, the easiest thing ever.
im under your bed |
|
|
| Report Abuse |
|
|
Pexur
|
  |
| Joined: 23 Jun 2008 |
| Total Posts: 12779 |
|
|
| 16 Mar 2014 07:08 PM |
wait(5) if game.Workspace.Player.Playername=Player1 do Player1Crash() then if Player1= Humanoid = true do Remove() end
dere |
|
|
| Report Abuse |
|
|
|
| 16 Mar 2014 07:08 PM |
if game.Workspace.Player.Name == "Player1" do Player1:Kick() if Player1= Humanoid = true Player1:Remove() end still will be errors a lot, you really need to learn, sorry. |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Mar 2014 07:09 PM |
| You've written the syntax incorrectly. Syntax is basically like grammar in English. Read your script again, and compare it to other scripts. |
|
|
| Report Abuse |
|
|
|
| 16 Mar 2014 07:09 PM |
it's obvious you're 100% new to Lua
Player has to be defined PlayerName has to be defined
then, not do
Crash() isn't valid
Player1 needs to be defined
then if is wrong
and some more stuff |
|
|
| Report Abuse |
|
|
|
| 16 Mar 2014 07:10 PM |
| By the way, :remove() is a decapitated method. Use :destroy() instead. |
|
|
| Report Abuse |
|
|
|
| 16 Mar 2014 07:51 PM |
@fluffy >decapitated
You mean deprecated but nice try. |
|
|
| Report Abuse |
|
|
| |
|
129K
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 19010 |
|
|
| 16 Mar 2014 09:20 PM |
| omg you guys are so stupid |
|
|
| Report Abuse |
|
|
|
| 17 Mar 2014 02:03 AM |
| hiprokit above!!!!!!!!!!!!!1 |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Mar 2014 04:18 AM |
I have a feeling this came from another subforum.
EOS db 0x00 ;End of String Marker |
|
|
| Report Abuse |
|
|
|
| 17 Mar 2014 10:38 AM |
| Are yea, but it was atr, so not sub forum |
|
|
| Report Abuse |
|
|
|
| 17 Mar 2014 11:08 AM |
| I quit LUA too because I program in Lua |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
| |
|
|
| 17 Mar 2014 12:49 PM |
What's LUA?
I program, HTML, CSS, Python, JavaScript, and Lua, but I've never heard of LUA, what is it?
In all seriousness though, syntax is the equivalent of grammar in English. Except your humanities teacher isn't there to correct you.
If you get your syntax wrong in coding, your humanities teacher (i.e. computer) says 'wtf is this' at the simplest error.
Welcome to programming. |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
| |
|
|
| 17 Mar 2014 04:32 PM |
@title, you can move onto Lua then.
#nerdsunited |
|
|
| Report Abuse |
|
|
|
| 17 Mar 2014 05:22 PM |
if game.Workspace[LocalPlayer].Name == "Player1" then game.Workspace[LocalPlayer]:remove() end
Put that with an OnSpawn script. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
| |
|
MettaurSp
|
  |
| Joined: 20 Mar 2010 |
| Total Posts: 3179 |
|
|
| 18 Mar 2014 08:27 AM |
| ^Even if that was a script, it wouldn't error for that reason because it would be a string k. It would error because of an unexpected symbol. |
|
|
| Report Abuse |
|
|