|
| 12 Jul 2012 09:18 PM |
p = Instance.New(Fire) p.Parent = game.Workspace.NAME.Torso
I just wanna know if that would work. Also:
if NAME.New then game.Players.NAME:remove()
I'm new to this stuff so... Yeah. |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 12 Jul 2012 09:24 PM |
Yes, the first one was close, try this: p = Instance.new("Fire") --Since the name is a string, you need to put "" around it, and new isn't capitalized. p.Parent = game.Workspace.NAME.Torso Then you would need to define the heat and size. |
|
|
| Report Abuse |
|
|
|
| 12 Jul 2012 09:24 PM |
p = Instance.new("Fire",game.Workspace.PersonsName.Torso)
if game.Players:FindFirstChild("NAMEHERE") then game.Players["NAMEHERE"]:Destroy() end |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
| |
|
|
| 12 Jul 2012 09:38 PM |
So
p = Instance.new("Fire") p.Parent = game.Workspace.NAME.Torso
How would you make it a command like in an admin script? |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 12 Jul 2012 09:43 PM |
@Sparky, well that makes it a LOT more complicated.. I won't be doing this right with the chat handler but my best try: function playerentered(newplayer) function chatted(chat) if string.sub(chat, 1,5) == "fire/" then person = string.sub(chat,6) plr = game.Players:FindFirstChild(person) p = Instance.new("Fire", plr.Character.Torso) p.Heat = 100 p.Size = 100 newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end) end end game.Players.PlayerAdded:connect(onPlayerEntered) |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2012 12:08 AM |
| mama, I swear, Person's*... Why would I put that Person'sName in a script? I don't want them thinking you can use ' within a name(without [""] or FindFirstChild(""))... |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 13 Jul 2012 12:50 AM |
cease, you were using 'persons' so it would just be multiple persons so you were doing this if you explain it out in words: multiple persons names And you can't do: game.Workspace.ColourTheoryceaslesssoulmamaguyrey107WhiteRain.Character So unless you put 'person's' it would mean multiple persons. |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2012 12:12 PM |
| mama, everyone besides you know what I meant, you are very stupid... |
|
|
| Report Abuse |
|
|
getkoed
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 2298 |
|
|
| 13 Jul 2012 12:57 PM |
@Cease Instance.new("Fire", workspace.PersonsName.Torso) |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2012 12:59 PM |
@getkoed; He said like in an admin script.
game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) if msg:lower():sub(1,4) == "fire" then local fire = Instance.new("Fire",game.Workspace.NameHere.Torso) end end) end) |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2012 01:01 PM |
| get, same thing, nimrod... |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2012 01:01 PM |
| Hey mamaguy, did you read the title of this section of the forum? It's Scripting Helpers if you didn't. That doesn't involve posting just so you can slam someone on a error as little as that. |
|
|
| Report Abuse |
|
|
| |
|
|
| 13 Jul 2012 01:05 PM |
For the first one, you could just do this:
Instance.new("Fire").Parent = game.Workspace.NAME.Torso
But your line would work too |
|
|
| Report Abuse |
|
|
getkoed
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 2298 |
|
|
| 13 Jul 2012 01:09 PM |
| CeaselessSoul, shh, my script is shorter. |
|
|
| Report Abuse |
|
|
WhiteRain
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 2723 |
|
|
| 13 Jul 2012 01:12 PM |
"game.Workspace.ColourTheoryceaslesssoulmamaguyrey107WhiteRain.Character" Why is my name in there? |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 13 Jul 2012 01:39 PM |
| ^Because I couldn't think of anyone else >:o |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 13 Jul 2012 01:40 PM |
@Epic, but this is also grammar helpers. Everywhere in my world is Grammar Helpers. |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2012 01:44 PM |
| You world doesn't include everbody else's. |
|
|
| Report Abuse |
|
|
WhiteRain
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 2723 |
|
|
| 13 Jul 2012 01:47 PM |
| I don't know whether to be happy or a bit frightened that people over the internet think about me. A bit creepy... |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 13 Jul 2012 01:50 PM |
@Epic, so we're in different worlds right now? Cool. @White, He's climbin in your windows He's snatchin your people up Tryna em so y'all need to Hide your kids, Hide your wife Hide your kids, Hide your wife Hide your kids, Hide your wife and hide your husband Cuz they're rapin errbody out here You don't have to come and confess We're lookin for you We gon find you We gon find you So you can run and tell that, Run and tell that Run and tell that, homeboy Home, home, homeboy We got your t-shirt You done left fingerprints and all You are so dumb Rou are really dumb--for real [ From: http://www.metrolyrics.com/bed-intruder-lyrics-antoine-dodson.html ] The man got away leaving behind evidence I was attacked by some idiot in the projects So dumb, So dumb, So dumb, So He's climbin in your windows He's snatchin your people up Tryna em so y'all need to Hide your kids, Hide your wife Hide your kids, Hide your wife Hide your kids, Hide your wife and hide your husband Cuz they're rapin errbody out here You don't have to come and confess We're lookin for you We gon find you We gon find you So you can run and tell that, Run and tell that Run and tell that, homeboy Home, home, homeboy |
|
|
| Report Abuse |
|
|
WhiteRain
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 2723 |
|
|
| 13 Jul 2012 01:51 PM |
| Nice spam and offsite link there. |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2012 01:54 PM |
| mama, you can't free style nor rap, there's supposed to be a rhythm, not just words... |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2012 01:54 PM |
When did this turn into a flame war?
-{20% Cooler}- |
|
|
| Report Abuse |
|
|