of     1   

TobiasKairos
#223677427Monday, August 14, 2017 11:15 PM GMT

Player = game.Players:playerFromCharacter(WhatDoIPutHere) <-------- script.Parent.MouseButton2Click:connect(function() if Player:IsInGroup(1) then blahblahhere It's a GUI BTW.
TobiasKairos
#223677478Monday, August 14, 2017 11:16 PM GMT

I don't know what I should do to define Player since it's a GUI.
yin_yang
#223677622Monday, August 14, 2017 11:19 PM GMT

game.Players.LocalPlayer assuming it's within a localscript
TobiasKairos
#223677690Monday, August 14, 2017 11:20 PM GMT

What if it's not a local player?
TobiasKairos
#223677743Monday, August 14, 2017 11:21 PM GMT

What if it's not a local script**?
yin_yang
#223677887Monday, August 14, 2017 11:25 PM GMT

i do not understand why you would use a serverscript to operate guis the IsInGroup() function would also have delayed responses when used in serverscripts.
TobiasKairos
#223677999Monday, August 14, 2017 11:28 PM GMT

It's a small button gui. When a player clicks it, The doors become transparent for everyone.
yin_yang
#223678285Monday, August 14, 2017 11:33 PM GMT

lmao just use remoteevents

    of     1