
3.6k Views
501 Executions
Buliding tools
Universal Script 📌
santosjacobangeloPublished 5
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
bulid!!1!1!11!
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
-- 💡 Auto-create BuildPart if it doesn't exist
local buildPart = ReplicatedStorage:FindFirstChild("BuildPart")
if not buildPart then
buildPart = Instance.new("Part")
buildPart.Name = "BuildPart"
buildPart.Size = Vector3.new(4,1,4)
buildPart.Anchored = true
buildPart.Material = Enum.Material.SmoothPlastic
buildPart.TopSurface = Enum.SurfaceType.Smooth
buildPart.BottomSurface = Enum.SurfaceType.Smooth
buildPart.BrickColor = BrickColor.Blue()
buildPart.CanCollide = true
buildPart.Parent = ReplicatedStorage
end
-- 🧰 Build Tool setup
local equipped = false
local tool = Instance.new("Tool")
tool.Name = "Build Tool"
tool.RequiresHandle = false
tool.Parent = player:WaitForChild("Backpack")
-- Settings
local gridSize = 4
local currentColor = BrickColor.Blue()
local colorOptions = {
BrickColor.Blue(), BrickColor.Red(), BrickColor.Green(),
BrickColor.Yellow(), BrickColor.White(), BrickColor.Black()
}
local colorIndex = 1
-- State
local placing = true
local selected
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







