LordGando
|
  |
| Joined: 05 Jul 2011 |
| Total Posts: 6723 |
|
|
| 22 Aug 2013 07:43 PM |
I WILL EXPLODE IF I DON'T FIX IT, please help
Please fix:
group = 930988 -- change to group ID deb = true function Check(p) if p ~= nil then deb = false local human = p.Parent if human ~= nil then local player = game.Players:GetPlayerFromCharacter(human) if player ~= nil then if player:IsInGroup(group) then player.TeamColor = BrickColor.new("Bright blue") end end end end end script.Parent.Touched:connect(Check)
|
|
|
| Report Abuse |
|
|
LordGando
|
  |
| Joined: 05 Jul 2011 |
| Total Posts: 6723 |
|
|
| 22 Aug 2013 07:44 PM |
BUMP OF RAGE!
-LᴏʀᴅGᴀɴᴅᴏ - Cows make milk, I drink milk |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2013 07:45 PM |
local Group = 930988
function Check(Hit) local Player = Game.Players:GetPlayerFromCharacter(Hit.Parent) if Player and Player:IsInGroup(Group) then Player.Neutral = false Player.TeamColor = BrickColor.new("Bright blue") end end
script.Parent.Touched:connect(Check) |
|
|
| Report Abuse |
|
|
LordGando
|
  |
| Joined: 05 Jul 2011 |
| Total Posts: 6723 |
|
|
| 22 Aug 2013 07:50 PM |
I put this in a Part, and it no work!
-LᴏʀᴅGᴀɴᴅᴏ - Cows make milk, I drink milk |
|
|
| Report Abuse |
|
|
LordGando
|
  |
| Joined: 05 Jul 2011 |
| Total Posts: 6723 |
|
|
| 22 Aug 2013 07:52 PM |
I put in local script?
-LᴏʀᴅGᴀɴᴅᴏ - Cows make milk, I drink milk |
|
|
| Report Abuse |
|
|
Ludici
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 640 |
|
|
| 22 Aug 2013 07:54 PM |
Group = 930988 Enabled = false script.Parent.Touched:connect(function(hit) local player = GetPlayerFromCharacter(hit.Parent) if player and player:IsInGroup(Group) and not enabled then enabled = true player.TeamColor = BrickColor.new("Bright blue") end end)
~Make the simple, amazing~ |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2013 07:55 PM |
| It should be a normal script. |
|
|
| Report Abuse |
|
|
Ludici
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 640 |
|
|
| 22 Aug 2013 07:56 PM |
Correction to my script:
Group = 930988 Enabled = false script.Parent.Touched:connect(function(hit) local player = GetPlayerFromCharacter(hit.Parent) if player and player:IsInGroup(Group) and not enabled then enabled = true player.TeamColor = BrickColor.new("Bright blue") wait() end enabled = false end)
~Make the simple, amazing~ |
|
|
| Report Abuse |
|
|
LordGando
|
  |
| Joined: 05 Jul 2011 |
| Total Posts: 6723 |
|
|
| 22 Aug 2013 07:56 PM |
I put in part, right?
-LᴏʀᴅGᴀɴᴅᴏ - Cows make milk, I drink milk |
|
|
| Report Abuse |
|
|
Ludici
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 640 |
|
|
| 22 Aug 2013 07:57 PM |
GAHHH I didnt capitalize enabled.. Here the final script xD Group = 930988 enabled = false script.Parent.Touched:connect(function(hit) local player = GetPlayerFromCharacter(hit.Parent) if player and player:IsInGroup(Group) and not enabled then enabled = true player.TeamColor = BrickColor.new("Bright blue") wait() end enabled = false end)
~Make the simple, amazing~ |
|
|
| Report Abuse |
|
|
Ludici
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 640 |
|
|
| 22 Aug 2013 07:58 PM |
Create a script paste that^^^^ in it and put it in a part.
~Make the simple, amazing~ |
|
|
| Report Abuse |
|
|
LordGando
|
  |
| Joined: 05 Jul 2011 |
| Total Posts: 6723 |
|
|
| 22 Aug 2013 08:00 PM |
Still doesn't work, I put it in a spawn part.
-LᴏʀᴅGᴀɴᴅᴏ - Cows make milk, I drink milk |
|
|
| Report Abuse |
|
|
LordGando
|
  |
| Joined: 05 Jul 2011 |
| Total Posts: 6723 |
|
|
| 22 Aug 2013 08:03 PM |
No work ):
-LᴏʀᴅGᴀɴᴅᴏ - Cows make milk, I drink milk |
|
|
| Report Abuse |
|
|
Ludici
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 640 |
|
|
| 22 Aug 2013 08:03 PM |
You can't test it in studio by playing solo. Upload the place and then test it online. Player in solo does not belong to any groups.
~Make the simple, amazing~ |
|
|
| Report Abuse |
|
|
LordGando
|
  |
| Joined: 05 Jul 2011 |
| Total Posts: 6723 |
|
|
| 22 Aug 2013 08:04 PM |
I did, I played it online... Still doesn't work
-LᴏʀᴅGᴀɴᴅᴏ - Cows make milk, I drink milk |
|
|
| Report Abuse |
|
|
Ludici
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 640 |
|
|
| 22 Aug 2013 08:07 PM |
Other than that just make sure you have the group id number right, make sure the team color is "Bright blue" and not "Really blue."
~Make the simple, amazing~ |
|
|
| Report Abuse |
|
|
LordGando
|
  |
| Joined: 05 Jul 2011 |
| Total Posts: 6723 |
|
| |
|
Ludici
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 640 |
|
|
| 22 Aug 2013 09:16 PM |
The script that I gave you looks fine to me, so it must be something in your place messing it up.
~Make the simple, amazing~ |
|
|
| Report Abuse |
|
|