local player =  game.Players.LocalPlayer
local mouse = player:GetMouse()


game.Players.LocalPlayer.PlayerGui:WaitForChild("TestGui")
local text = game.Players.LocalPlayer.PlayerGui.TestGui.TextBox


mouse.KeyDown:connect(function(key)
	if key == "e" then
		print("Part Loaded")
		local newPart = Instance.new("Part",game.Workspace)
		newPart.BrickColor = BrickColor.new("Storm blue")
		text.Visible = true
		wait(1)
		text.Visible = false
		
		end
	

	
end)

2 comments

0

I tried that @AnotherPerson_999 but it didn't work