I have a script, that I would not recommend looking at. (it is a large jumble of crap that barely works)
My question is, how can I improve this placement system/do you have one that works well.
The goal: to make a placement system not based on a grid with no height limitation (ideal for terrain maps) that moves the item effectively.
Thanks for any and all help!
LocalScript: https://pastebin.com/EemmvaWZ
I also have a server script that listens for a remote, and when fired, takes a position and name value, it does an inventory check, then it places. I will not need help with this part
You could consider this wonderful placement module that briefs you through inside the script, made by the one and only Tunicus:
•You used mouse.KeyDown in multiple places, KeyDown is deprecated, use UserInputService/ContextActionService.
•In addition, in my personal opinion, if you are just trying to make a function trigger when someone clicks use MouseButton1Click instead of MouseButton1Down.
•Aswell as some of the :connect 's used in the functions should be :Connect as :connect is deprecated as well.
•Use HumanoidRootPart instead of Torso unless you specifically are targeting it.