|
| 01 Oct 2015 03:56 PM |
| I need a Gui For a group called ROBLOX Moderation Safety like you click OwnerPannel And it comes up for the owner only! if you can help thanks! |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 03:58 PM |
alright here you go http://wiki.roblox.com/index.php/Scripting_Book
|
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 03:58 PM |
1. http://wiki.roblox.com/index.php?title=API:Class/Players/PlayerAdded 2. http://wiki.roblox.com/index.php?title=API:Class/Player/IsInGroup 3. http://wiki.roblox.com/index.php?title=API:Class/Player/CharacterAdded 4. http://wiki.roblox.com/index.php?title=API:Class/GuiObject/Visible
-The [Guy]
|
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:01 PM |
Thank's! But i got this bool IsInGroup ( int groupId ) Where do i add groupID? |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:02 PM |
IsInGroup(Put the group id here) I think... Never used group stuff before. |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:03 PM |
Your group ID is 2672039, found at the end of the URL when you visit your group page.
-The [Guy] |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:03 PM |
Bool IsInGroup() just means it returns a true/false value, int groupId just means that the group id is going to be an integer, a number. |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:06 PM |
So like bool IsInGroup (2672039) int groupId |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:07 PM |
| And How do i make it so only a HR can open it like the rank? |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:09 PM |
http://wiki.roblox.com/index.php?title=API:Class/Player/GetRankInGroup
-The [Guy] |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:15 PM |
| Thanks i need to know how to make commands too can you help? |
|
|
| Report Abuse |
|
|
| |
|
|
| 01 Oct 2015 04:18 PM |
Like admin commands?
1. http://wiki.roblox.com/index.php?title=API:Class/Player/Chatted 2. http://wiki.roblox.com/index.php?title=Function_dump/String_manipulation#string.sub 3. http://wiki.roblox.com/index.php/Chat_commands
-The [Guy] |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:22 PM |
| BusyCityGuy do you think you can help me make my group its a Protection group like RAE. |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:23 PM |
I can keep supplying the related wiki links if you like. :P
-The [Guy] |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:33 PM |
game.Players.PlayerAdded:connect(function(player) player:IsInGroup(2672039) then local groupGui = player.PlayerGui:FindFirstChild("GroupOnlyScreenGui"):wait() groupGui.Frame.Visible = true if player:GetRankInGroup(2672039) >= 7 then groupGui.Frame.HRFrame.Visible = true end end end)
Obviously adjust the paths to your GUIS to match your needs, but hopefully this can get you started.
-The [Guy] |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:34 PM |
game.Players.PlayerAdded:connect(function(player) player:IsInGroup(2672039) then player.CharacterAdded:connect(function() local groupGui = player.PlayerGui:FindFirstChild("GroupOnlyScreenGui"):wait() groupGui.Frame.Visible = true if player:GetRankInGroup(2672039) >= 7 then groupGui.Frame.HRFrame.Visible = true end end end end)
Sorry I forgot to do it when they spawn. Use this code instead.
-The [Guy] |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:39 PM |
Can you make 5 Group only commands for a rank -- a group
i need the prefix too be * and the cmds are
safe -- gives a forcefiled and god mode
kill -- Kills the person u wanna kill
Sm -- Puts a msg on the screen u can X out
Shutdown -- shutdown the server
kick -- kicks the person
Only them commands |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 01 Oct 2015 04:43 PM |
| Also what do i put in GroupOnlyScreenGui hm? |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:46 PM |
> StarterGui (folder) >> GroupOnlyScreenGui (ScreenGui) >> Frame (Frame - the whole group sees this, outsiders dont) >> HRFrame (Frame - only the HR's in the group see this)
Start with both frames invisible. Put whatever you want in the frames for the groups to see. -The [Guy] |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:51 PM |
game.Players.PlayerAdded:connect(function(player) player:IsInGroup(2672039) then player.CharacterAdded:connect(function() local groupGui = player.PlayerGui:FindFirstChild("GroupOnlyScreenGui"):wait() -- Change GroupOnlyScreenGui too ROBLOXModerationSafety right? groupGui.Frame.Visible = true if player:GetRankInGroup(2672039) >= 7 then groupGui.Frame.Owner.Visible = true end end end end)
|
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:53 PM |
game.Players.PlayerAdded:connect(function(player) if player:IsInGroup(2672039) then player.CharacterAdded:connect(function() local groupGui = player.PlayerGui:FindFirstChild("ROBLOXModerationSafety"):wait() groupGui.Frame.Visible = true if player:GetRankInGroup(2672039) >= 7 then groupGui.Frame.Owner.Visible = true end end) end end)
So your setup looks like this?
>PlayerGui >> ROBLOXModerationSafety (ScreenGui) >>> Frame (Frame) >>>> Owner (some kind of gui object)
-The [Guy] |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2015 04:54 PM |
| Yes But i have more GUIS in there |
|
|
| Report Abuse |
|
|