What's the function for Keydown (where you hold a key down and it functions) Example: K > New Part
It needs to be in a local script in StarterGui or StarterPack
local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() Mouse.KeyDown:connect(function(Key) if Key == "k" then Instance.new("Part",game.Workspace)--Put here what you want to happen when the key is pressed end end)