zirkon80
|
  |
| Joined: 07 Apr 2010 |
| Total Posts: 146 |
|
|
| 09 Aug 2011 03:54 PM |
| Hi, I need help making a flame script where certain people including me (The creator) gets a certain colored flame when you enter. Like the WIJ flame script. |
|
|
| Report Abuse |
|
|
Tranhead
|
  |
| Joined: 02 Apr 2008 |
| Total Posts: 4217 |
|
|
| 09 Aug 2011 04:03 PM |
I will help you make the script.
What you will need: A Script A Keyboard A computer o-o
You will need an onEntered event along with a respawn event. On spawn/respawn, you need to check if their name is.... well you know.
insert flame
end connections |
|
|
| Report Abuse |
|
|
zirkon80
|
  |
| Joined: 07 Apr 2010 |
| Total Posts: 146 |
|
|
| 09 Aug 2011 04:06 PM |
| Could you print out the script in a post please? I have all the requirements to do it. |
|
|
| Report Abuse |
|
|
grimm343
|
  |
| Joined: 18 Sep 2008 |
| Total Posts: 2796 |
|
|
| 09 Aug 2011 04:07 PM |
function onEnter(player) if (Player.Name == "zirkon80") then z = Instance.new("Fire") z.Size = 20 z.Color = Color3.new(255,255,200) z.SecondaryColor = Color3.new(0,0,-1) z.Heat = 25 z.Parent = Player.Character.Torso
elseif (Player.Name == "othername") then z = Instance.new("Fire") z.Size = 20 z.Color = Color3.new(255,255,200) z.SecondaryColor = Color3.new(0,0,-1) z.Heat = 25 z.Parent = Player.Character.Torso end end
game.Players.PlayerAdded:connect(onEnter)
Just tossed that together.. If there are any issues, I suppose I'll get my lazy self to fix 'em.. To add more people, just follow the pattern. |
|
|
| Report Abuse |
|
|
Tranhead
|
  |
| Joined: 02 Apr 2008 |
| Total Posts: 4217 |
|
|
| 09 Aug 2011 04:07 PM |
| I am just not a person to give out scripts. Sorry. D: |
|
|
| Report Abuse |
|
|
grimm343
|
  |
| Joined: 18 Sep 2008 |
| Total Posts: 2796 |
|
|
| 09 Aug 2011 04:07 PM |
| By the way, the reason I did it this way, was so you could add different colored and sized fire to different people. |
|
|
| Report Abuse |
|
|
Tranhead
|
  |
| Joined: 02 Apr 2008 |
| Total Posts: 4217 |
|
|
| 09 Aug 2011 04:09 PM |
| Grimm, I would suggest that you add another function to add everytime they respawn. |
|
|
| Report Abuse |
|
|
zirkon80
|
  |
| Joined: 07 Apr 2010 |
| Total Posts: 146 |
|
|
| 09 Aug 2011 04:13 PM |
| Ya, I tried it, but when I spawn it didnt give me a flame. |
|
|
| Report Abuse |
|
|
Tranhead
|
  |
| Joined: 02 Apr 2008 |
| Total Posts: 4217 |
|
|
| 09 Aug 2011 04:19 PM |
| Has to be in play mode, not build. |
|
|
| Report Abuse |
|
|
zirkon80
|
  |
| Joined: 07 Apr 2010 |
| Total Posts: 146 |
|
|
| 09 Aug 2011 04:20 PM |
| I know, I entered it in a script. Saved, and tried on play mode but it didnt work. |
|
|
| Report Abuse |
|
|
Tranhead
|
  |
| Joined: 02 Apr 2008 |
| Total Posts: 4217 |
|
| |
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
|
| 09 Aug 2011 04:30 PM |
| *Facepalm* The Character doesn't load right after the player does :/ it takes from 1 to 5 seconds. |
|
|
| Report Abuse |
|
|
zirkon80
|
  |
| Joined: 07 Apr 2010 |
| Total Posts: 146 |
|
|
| 09 Aug 2011 04:38 PM |
1: Yes I did change to colors
2: I did wait spectrum, it didnt work |
|
|
| Report Abuse |
|
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
|
| 09 Aug 2011 04:40 PM |
"2: I did wait spectrum, it didnt work"
*Facedesk* Must... not... flame... Please, if you have no idea of what I am talking about, avoid posting. |
|
|
| Report Abuse |
|
|
grimm343
|
  |
| Joined: 18 Sep 2008 |
| Total Posts: 2796 |
|
|
| 09 Aug 2011 08:12 PM |
| Lol. I am sure he meant a wait(5) in the script. :P |
|
|
| Report Abuse |
|
|
grimm343
|
  |
| Joined: 18 Sep 2008 |
| Total Posts: 2796 |
|
|
| 09 Aug 2011 08:15 PM |
function onChildAdded(child) wait(1) if (Child.Name == "zirkon80") then z = Instance.new("Fire") z.Size = 20 z.Color = Color3.new(255,255,200) z.SecondaryColor = Color3.new(0,0,-1) z.Heat = 25 z.Parent = child.Torso
elseif (Player.Name == "othername") then x = Instance.new("Fire") x.Size = 20 x.Color = Color3.new(255,255,200) x.SecondaryColor = Color3.new(0,0,-1) x.Heat = 25 x.Parent = child.Character.Torso end end
game.Workspace.ChildAdded:connect(onChildAdded)
I've never used a ChildAdded function, before.. How about this? |
|
|
| Report Abuse |
|
|
grimm343
|
  |
| Joined: 18 Sep 2008 |
| Total Posts: 2796 |
|
|
| 09 Aug 2011 08:17 PM |
Whoops.. Let's just repost that..
function onChildAdded(child) wait(1) if (child.Name == "zirkon80") then z = Instance.new("Fire") z.Size = 20 z.Color = Color3.new(255,255,200) z.SecondaryColor = Color3.new(0,0,-1) z.Heat = 25 z.Parent = child.Torso
elseif (child.Name == "othername") then x = Instance.new("Fire") x.Size = 20 x.Color = Color3.new(255,255,200) x.SecondaryColor = Color3.new(0,0,-1) x.Heat = 25 x.Parent = child.Character.Torso end end
game.Workspace.ChildAdded:connect(onChildAdded) |
|
|
| Report Abuse |
|
|