I've been trying to make a building planner and I made it but I can't figure out how to script something into to my building planner can build a foundation. Any help on how to script this?
COMMUNITY QUESTION
How to script a tool to make items appear?
1 answer
Create a tool first, game>StarterPack>Tool Next.... We create a script
local sp = game:GetService("StarterPack")
local tool = sp.Tool
local function
tool.Equipped:Connect(function()
tool.Activated:Connect(function()
local part = Instance.new("Part",workspace)
--[[
Properties:
part.Material = Enum.Material.MaterialHere
part.Anchored = true or false
and a lot more if you do know
--]]
end)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Instance.new("Part") and mouse.Button1Down
Didn't work I entered the script into the tool and when clicked when joined nothing spawned.