so i have just gotten a joystick input device(it uses joystick input type) and i want to know how i can make a script that takes input from my joystick
See UserInputService and InputType. Note that there is no Joystick mentioned in any of those locations; thus, you cannot use a joystick directly with Roblox.
However, you may be able to rebind your joystick input into something that Roblox will understand, possibly using software like AutoHotKey (you'll have to look it up - but it is free)