`` local m =game.players.LocalPlayer:GetMouse() db=true m.KeyDown:connect(function(q) q=q:Lower() if k="l" then if db==true then game.Players.LocalPlayer.Character.Head.face.Texture = "rbxassetid://1296295820" db=false wait(3) db=true end end end)
You need to put Capital "P" in local m = game.Players.LocalPlayer:GetMouse()
You should be using UserInputService to check if the player presses a key.
local UserInputService = game:GetService('UserInputService') local player = game.Players.LocalPlayer local Debounce = false UserInputService.InputBegan:Connect(function(Input,GPE) if Input.KeyCode == Enum.KeyCode.Q then if Debounce == false then Debounce = true player.Character.Head.face.Texture = 'rbxassetid://1296295820' wait(3) Debounce = false end end end)