Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to script a tool to make items appear?

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?

2 comments

0

Instance.new("Part") and mouse.Button1Down

0

Didn't work I entered the script into the tool and when clicked when joined nothing spawned.

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.