of     1   

tarrdo
#141146521Tuesday, July 22, 2014 7:15 AM GMT

if Workspace.Part.Touched then script.Parent.Parent.Parent.StarterGui:findFirstChild(PrimaryShop) <- Nil Value PrimaryShop.Visible = True end
FroggoBLOX
#141147005Tuesday, July 22, 2014 7:24 AM GMT

Surround what you have in the parenthesis in quotes for findfirstchild
FroggoBLOX
#141147157Tuesday, July 22, 2014 7:27 AM GMT

Also, I would use the touched event then connect a function to it that makes the gui visible
tarrdo
#141147739Tuesday, July 22, 2014 7:39 AM GMT

I don't get what you mean isn't that the same thing?
FroggoBLOX
#141147930Tuesday, July 22, 2014 7:43 AM GMT

Not exactly, you can't use events with if statements. For connecting a function, the syntax is this: function NAME(ARGUMENTS) CODE end PART.Touched:connect(NAME()) Forgive me if I'm wrong, it's 1:43 AM here lol
tarrdo
#141148102Tuesday, July 22, 2014 7:47 AM GMT

function OnTouched(gui) game.StarterGui.ScreenGui.PrimaryShop.Visible = True end part.Touched:connect(PrimaryShop(function)) So it would look like?
FroggoBLOX
#141148341Tuesday, July 22, 2014 7:53 AM GMT

Close, but not quite. I. On iPad right now, so I can't really copy and paste, I'll help you in the morning.
tarrdo
#141148700Tuesday, July 22, 2014 8:03 AM GMT

It's 4am here I'm 2 hours ahead of you haha :P
ReveredEngineer
#141150896Tuesday, July 22, 2014 9:01 AM GMT

Okay 1st when you want to give someone a Gui by touching something: use: function(hit) player = game.Players:GetPlayerFromCharacter(hit) Gui = YourNewGui Gui.Parent - player.PlayerGui end script.Parent.Touched:connect(hit)
tarrdo
#141175396Tuesday, July 22, 2014 5:05 PM GMT

Well see giving them a gui isn't what I'm doing I am making a gui active because if I were to give them one I would have to script creating the gui and frame and everything. Would I not?
ReveredEngineer
#141224659Wednesday, July 23, 2014 1:35 AM GMT

Mine was just an example, but to access a player from a character you use :GetPlayerFromCharacter(game.Workspace.Player) -- Or where ever you want the player to be indexed from

    of     1