Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

why when i click the NPC, the GUI wont show?

Asked by 10 years ago

NOTE: the comments are a second script that i dont think works

local char = script.Parent
local ClickDetector = script.Parent.ClickDetector
game.Workspace:WaitForChild("Kin").MouseButton1Click:connect(function()
  game.Players.LocalPlayer.PlayerGui.Kinnis.Text.Active= true
end)
--local function clicked()
--game.Players.LocalPlayer.PlayerGui.Kinnis.Text.Visible = true
--wait(5)
--game.Players.LocalPlayer.PlayerGui.Kinnis.Text.Visible = false
--end
--char.MouseButton1Down:connect() 

Answer this question