So I have been looking on to this for a while but I want to make a placement system like Work at a Pizza Place with plot's and datastores but I just can't do it.......
Anybody have a tutorial on how to make a simple placement system?
Also I don't really want a grid placement system
You can use mouse.Hit.Position.
mouse.Hit.Position returns an x, y, z value so you can then fire a remote event or make a new part to "spawn" a part there. here's an example:
1 | local mouse = game:GetService( "Players" ).LocalPlayer:GetMouse() |
2 |
3 | mouse.Button 1 Down:Connect( function () |
4 | local position = mouse.Hit.Position |
5 | Instance.new( "Part" , workspace).Position = position |
6 | end ) |
there you go! theres an example of how to make blocks at a position. I have made a game like this, so if you still need assistance, reply!
EgoMoose has already explained this in one of his blogs! https://scriptinghelpers.org/blog/creating-a-furniture-placement-system