KeyCodes = {["DownKey"] = "Down",["UpKey"] = "Up",["LeftKey"] = "Left",["RightKey"] = "Right",["Left2Key"] = "K",["Right2Key"] = "J",["Up2Key"] = "L",["Down2Key"]= "H",["SpaceKey"] = "Space"} KeySettings = game:GetService("ReplicatedStorage").Assets.GUIs.OptionsMenu.Contents.Background:GetChildren() for i,v in pairs(KeySettings) do for i2,v2 in pairs(KeyCodes) do if v.Name == i2 then dib = v.Input:FindFirstChild("Text") dib.Text = v2 end end end