Advertisement
Alief_Athallah

Click Gui Script

Jun 1st, 2020
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. -- Click Gui Script --
  2. local ClickDetector = game.Workspace.NPC:WaitForChild("ClickDetector") -- NPC is the character for ClickDetector --
  3. ClickDetector.MouseClick:Connect(function()
  4.     script.Parent.Visible = true
  5. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement