Why are my click detectors forcing me to have players right click them?
It's supposed to be left click.
My script:
bool = true
script.Parent.ClickDetector.MouseClick:connect(function(player)
if bool == true then
if player ~= nil and player.Character.Humanoid.Health > 0 and player.PlayerGui:findFirstChild("Talk") == nil then
local gui = script.Parent.Parent.Head.Talk:Clone()
gui.Parent = player.PlayerGui
player.Character.Humanoid.WalkSpeed = 0
end
end
end) |