You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want to make an MS-DOS PC for my game (which is literally building PCs) but I type I or O and nothing happens. -
What is the issue? Include screenshots / videos if possible!
When I type I or O in the command line, nothing happens. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried unbinding it using multiple ways. didn’t work, tried looping through camera keys and unbinding it individually, worked. For 1 playtest…
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
camview is the screen the player is looking at currently, connectedPC is the PC the CRT is connected to.
if camview ~= nil then
if camview.Parent.Crt:FindFirstChild("ConnectedPC") then
if camview.Parent.Crt.ConnectedPC.Value ~= nil then
local pc = camview.Parent.Crt.ConnectedPC.Value
local invalidkeys = {"unknown","leftshift","rightshift","leftcontrol","rightcontrol","leftalt","rightalt"}
if not table.find(invalidkeys,string.lower(inp.KeyCode.Name)) then
if pc.Ready.Value == true then
if inp.KeyCode == Enum.KeyCode.Return then
local tehckst = pc.SurfaceGui.BiosLinesandmsdos["Line"..pc.Line.Value].Text
local reply = require(workspace.BATFILES).reply(string.sub(tehckst,5,string.len(tehckst)))
if reply ~= "" then
if reply == "cls" then
require(workspace["Handle Display"]).clear(pc.SurfaceGui.BiosLinesandmsdos)
pc.Line.Value = 1
else
pc.Line.Value += 1
if pc.Line.Value >= 25 then
require(workspace["Handle Display"]).movescreenup()
pc.Line.Value = 25
end
require(workspace["Handle Display"]).displayline(pc.SurfaceGui.BiosLinesandmsdos,pc.Line.Value,reply)
end
end
pc.Line.Value += 1
if pc.Line.Value >= 25 then
require(workspace["Handle Display"]).movescreenup()
pc.Line.Value = 25
end
require(workspace["Handle Display"]).displayline(pc.SurfaceGui.BiosLinesandmsdos,pc.Line.Value,"C:"..workspace.NotUsableStrings.Backslash.Value..">")
else
local t = inp.KeyCode.Name
if t == "Space" then
t = " "
end
require(workspace["Handle Display"]).addontoline(pc.SurfaceGui.BiosLinesandmsdos,pc.Line.Value,t)
end
end
end
end
end
end
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.