So i need the part to change transparency to 1 or 0 using a single key.

3 comments

0

tool.Equipped:Connect(function() UIS.InputBegan:Connect(function(input, gameProcessedEvent) if input.KeyCode == Enum.KeyCode.Q and KeyPressed == false then KeyPressed = true print(KeyPressed) tool.Part.Transparency = 1 end end)

0

So what is the problem?

0

nvm i fixed it