|
| 07 Aug 2012 01:53 PM |
If you're on the team that's team color is white, It's suppose to give you infinite health, teleport you to a place and make your team color bright red. ( I can't figure out that last part so if you can help me with it thanks)
function player() local p = script.Parent.Parent.Parent.Parent.Character:FindFirstChild("Humanoid") if p.TeamColor == BrickColor.new("White") then p.MaxHealth = math.huge p.Health = p.MaxHealth script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(-180, 44.2, 5.984) script.Parent.Parent.Parent.OuterGui.Visible = false script.Parent.Parent.Visible = false end |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 07 Aug 2012 02:04 PM |
| it would help if you gave some output |
|
|
| Report Abuse |
|
|
Wolfe7112
|
  |
| Joined: 24 Jul 2011 |
| Total Posts: 15891 |
|
|
| 07 Aug 2012 02:05 PM |
insert>object>throw potatoe at screen>fixed or try
player.epicpatrick123.potatoe.'wolfe7112 likes waffles'
~*●*Ш☺ʟḟε子112 ☤ṧ ⊥нε ♭@∂ⅾε﹩т ◎ḟ тнε ßαⅾ*●*~ |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Wolfe7112
|
  |
| Joined: 24 Jul 2011 |
| Total Posts: 15891 |
|
|
| 07 Aug 2012 02:06 PM |
Dark im the only LMaD'er im not here to start a war i was looking for some help when i saw this thread by my friend epicpatrick123
~*●*Ш☺ʟḟε子112 ☤ṧ ⊥нε ♭@∂ⅾε﹩т ◎ḟ тнε ßαⅾ*●*~ |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 02:07 PM |
| lol wolf, but srsly someone fix this, it doesn't give me output, if it did i wouldn't be here |
|
|
| Report Abuse |
|
|
Wolfe7112
|
  |
| Joined: 24 Jul 2011 |
| Total Posts: 15891 |
|
|
| 07 Aug 2012 02:08 PM |
Function.Player() local p = Script.Parent.Parent.Parent.Character:FindFirstChild("Humanoid") if p.TeamColor == BrickColor.new("White") then p.MaxHealth. = math.huge p.Health = p.MaxHealth script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(-180, 44.2, 5.984) script.Parent.Parent.Parent.OuterGui.Visible = false script.Parent.Parent.Visible = false end end
try that
~*●*Ш☺ʟḟε子112 ☤ṧ ⊥нε ♭@∂ⅾε﹩т ◎ḟ тнε ßαⅾ*●*~ |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 02:10 PM |
| what happens when you run the script? |
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Aug 2012 02:13 PM |
| @wolf all you did was put a dot after maxhealth... which breaks it |
|
|
| Report Abuse |
|
|
Wolfe7112
|
  |
| Joined: 24 Jul 2011 |
| Total Posts: 15891 |
|
|
| 07 Aug 2012 02:13 PM |
I captilizaed and added end
~*●*Ш☺ʟḟε子112 ☤ṧ ⊥нε ♭@∂ⅾε﹩т ◎ḟ тнε ßαⅾ*●*~ |
|
|
| Report Abuse |
|
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
|
| 07 Aug 2012 02:15 PM |
| PlayerAdded will be better. |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 02:18 PM |
| do you have a connection line |
|
|
| Report Abuse |
|
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
|
| 07 Aug 2012 02:18 PM |
| @wolf That's so wrong, do you know to even basic script? |
|
|
| Report Abuse |
|
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
|
| 07 Aug 2012 02:19 PM |
| Oh wait, you don't even have a connection line.. |
|
|
| Report Abuse |
|
|
Wolfe7112
|
  |
| Joined: 24 Jul 2011 |
| Total Posts: 15891 |
|
|
| 07 Aug 2012 02:19 PM |
I dont even know 1 word in scripting besides end
~*●*Ш☺ʟḟε子112 ☤ṧ ⊥нε ♭@∂ⅾε﹩т ◎ḟ тнε ßαⅾ*●*~ |
|
|
| Report Abuse |
|
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
|
| 07 Aug 2012 02:22 PM |
| You obviously don't know how to script then.. |
|
|
| Report Abuse |
|
|
Wolfe7112
|
  |
| Joined: 24 Jul 2011 |
| Total Posts: 15891 |
|
|
| 07 Aug 2012 02:38 PM |
obviously :P
Watching videos on how to script now and this is what i learned so far
If true do Wait(1) Workspace.Player.Wolfe7112.Huminoid.health = 0
Would that work if i put it in my game it would kill me?
~*●*Ш☺ʟḟε子112 ☤ṧ ⊥нε ♭@∂ⅾε﹩т ◎ḟ тнε ßαⅾ*●*~ |
|
|
| Report Abuse |
|
|
human
|
  |
| Joined: 06 May 2007 |
| Total Posts: 2765 |
|
|
| 07 Aug 2012 02:39 PM |
@wolf that wouldn't work
game.Players.PlayerAdded:connect(function(player) wait(1) --I forget how to wait for the character to load.. player.TeamColor = BrickColor.new("Bright red") player.Character.Humanoid.MaxHealth = math.huge player.Character.Torso.CFrame = CFrame.new(-180, 44.2, 5.984) end) |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 02:41 PM |
game.Players.PlayerAdded:connect(function(player) Player.CharacterAdded:wait() --how about this? player.TeamColor = BrickColor.new("Bright red") player.Character.Humanoid.MaxHealth = math.huge player.Character.Torso.CFrame = CFrame.new(-180, 44.2, 5.984) end)
??? |
|
|
| Report Abuse |
|
|
Wolfe7112
|
  |
| Joined: 24 Jul 2011 |
| Total Posts: 15891 |
|
|
| 07 Aug 2012 02:42 PM |
@human y do i need cframe and whats bright red? my character is all white:?
~*●*Ш☺ʟḟε子112 ☤ṧ ⊥нε ♭@∂ⅾε﹩т ◎ḟ тнε ßαⅾ*●*~ |
|
|
| Report Abuse |
|
|
|
| 07 Aug 2012 02:43 PM |
| wolf... white is the teamcolor and cframe is moving the position |
|
|
| Report Abuse |
|
|