|
| 12 Aug 2014 12:32 PM |
If you put in group ID 0, no one can like do something doing with the ID...
How to make an ID thats fake and that everyone use it and it looks like everyone is in the group
(I dont wanna re-script an whole script for just 1 object) |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 12:34 PM |
I don't believe changing the group ID to 0 will work, as no-one is in a group with a group ID of 0. Therefore, I'd suggest changing the line that is:
if player:IsInGroup(120239) then whatever is here end
to something like
if player then whatever is here end
or just removing the two lines and just having:
whatever is here |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 12:35 PM |
| Learn reading, whole script is based on the group id-.- |
|
|
| Report Abuse |
|
|
Vescatur
|
  |
| Joined: 18 Feb 2012 |
| Total Posts: 3426 |
|
|
| 12 Aug 2014 12:37 PM |
| if the whole thing is based on group id and you want it to go for everyone... why have it based on groupid... e.e |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 12:37 PM |
Creating a fake group ID isn't possible. You will have to stick with the real group ID.
- RaverKiller |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 12:38 PM |
Caus, all other objects are based on group(s) and this object shouldnt, and its an 50+ line script.. c; |
|
|
| Report Abuse |
|
|
Vescatur
|
  |
| Joined: 18 Feb 2012 |
| Total Posts: 3426 |
|
|
| 12 Aug 2014 12:39 PM |
I still don't get why whatever it is you're trying to do can't just NOT be based on GroupID.
Only thing I can think of is that you didn't script it yourself, you got it as a FreeModel. |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 12:40 PM |
Damn, i hate you. Its not an free-model, and i'm not willing to rescript and whole script for just 1 object.. |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 12:42 PM |
| Is there an instance called; plr:IsNotInGroup(id) |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 12:43 PM |
| I can in fact read, perhaps to a higher ability than yourself. I would even go as far as to say that my writing capabilities exceed yours. You said: "re-write the whole script". You never specified how long your script was or how many times the group ID is required. Therefore, I assumed it would not be needed often. There is no point getting mad at me when I can not give you the ability to create a fake group ID. However, like I said, if you replace the group ID line with something like: if player then; or if true then, you might have more luck. You can do this easily by using the 'replace' function in ROBLOX studio. |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 12:45 PM |
player:IsInGroup(GroupID) == false then
will this work? |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 12:46 PM |
IsNotInGroup is not a method.
However, you could attempt the following: if Player:IsInGroup(Id) then else
- RaverKiller |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 12:54 PM |
Potentially, your idea would work:
if player:IsInGroup() == false then
end
But! Make sure the player isn't, in fact, in that group. |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 12:58 PM |
Yeah I would think something like this
(Make sure player is defined o.e)
if player:IsInGroup(ID) --put code here for the player that is in the group else --if player is not in the group (which you want) then put code here and the code here will run if the player is not in the group end |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 01:00 PM |
| Off-Topic: Also read your PM's, I would like a thumbnail :P |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 01:25 PM |
Is this possible; if player:IsInGroup() == false or if player:IsInGroup() == true then
it checks if hes in group or not and it works if ur not in group, and works for everyone right? |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 01:31 PM |
or this; player:IsInGroup(GroupID) or player.TeamColor == "Bright green" |
|
|
| Report Abuse |
|
|
Vescatur
|
  |
| Joined: 18 Feb 2012 |
| Total Posts: 3426 |
|
|
| 12 Aug 2014 01:32 PM |
how 'bout you try it and find out before asking us?
kthx |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 01:32 PM |
hey, buddy, you could just say if it works, caus it's scripting helpers.
|
|
|
| Report Abuse |
|
|
Vescatur
|
  |
| Joined: 18 Feb 2012 |
| Total Posts: 3426 |
|
|
| 12 Aug 2014 01:34 PM |
| hey buddy, you could just test it and find out if it works, 'cause logic |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 01:40 PM |
shaddup, i cant update on this acc caus r0bl0x hates me.. |
|
|
| Report Abuse |
|
|
| |
|
|
| 12 Aug 2014 02:10 PM |
(Make sure player is defined o.e)
if player:IsInGroup(ID) --put code here for the player that is in the group else --if player is not in the group (which you want) then put code here and the code here will run if the player is not in the group end
This should definitely work... |
|
|
| Report Abuse |
|
|
andy2855
|
  |
| Joined: 16 Feb 2014 |
| Total Posts: 15 |
|
|
| 12 Aug 2014 02:26 PM |
Alright just try this. It *MIGHT* work.
function PlrIn() game.Players:WaitForChild() GroupID = ("Group ID Here") game.Players:FindFirstChild() game.Players.GroupID = true end
script:GetChildren()
-- Put here what you want to give your fellow group members... |
|
|
| Report Abuse |
|
|
andy2855
|
  |
| Joined: 16 Feb 2014 |
| Total Posts: 15 |
|
|
| 12 Aug 2014 02:29 PM |
Oh and btw I forgot put an IntValue named 'GroupID' and Inside the IntValue put the number link of your group and then put the script Into the IntValue. |
|
|
| Report Abuse |
|
|