Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do i make blocks stack on each other?

Asked by 5 years ago

So my friend gave me this kit he made but he never told me how to make it not snap to grid So i can make a second floor it say's it has a snap to grid setting but it does not work Is there anyway to make it go on top of a placed item if it is hover'd over or if your mouse is in the air it goes off the ground instead of it staying on ground Here is the code LONG CODE

001local function enablePlacement(plane, models, prealigned)
002    if (plane == currentPlane) then
003        return
004    elseif (currentPlane) then
005        currentPlane:disable()
006    end
007 
008    if (type(models) ~= "table") then
009        models = {models}
010    end
011 
012    lastRenderCycle = tick()
013 
014    currentPlane = plane
015    currentBase = plane.base
View all 147 lines...
0
I dont get what game you're trying to make lol iuclds 720 — 5y
0
Ok so the placement is already there and places stuff but it only places on the ground i want it to go in the air kinda like bloxburg how you can make second floor. Corrupt_Wolfstrik3r 51 — 5y

1 answer

Log in to vote
1
Answered by 5 years ago

Lol just:

1while true do
2part = instance.new("Part")
3part.parent = game.workspace
4end
Ad

Answer this question