Universal Script 📌
1.0k Views
303 Executions

stamper tool roblox

Universal Script 📌
Svbbbbb
SvbbbbbFirst script
2 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

stamper tool create things

View Raw
--[[
	StamperTool - LocalScript
	Coloque este script em StarterPlayer > StarterPlayerScripts

	O que mudou nessa versão:
	1) CORRIGIDO: antes, ao clicar no botão, o jogo recalculava a posição
	   usando o mouse EM CIMA DO BOTÃO, então o bloco aparecia "atrás" dele.
	   Agora o preview PARA de se mover quando o mouse/dedo está sobre
	   qualquer parte da interface, então ele fica travado no último lugar
	   válido no mundo — e é ali que o bloco é colocado.
	2) NOVO: uma barra de seleção de textura (terra, grama, pedra, areia,
	   neve, gelo, madeira, metal, vidro, lava, luz) — clique numa opção
	   pra escolher o tipo de bloco antes de colocar.
]]

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Workspace = game:GetService("Workspace")

local player = Players.LocalPlayer
local mouse = player:GetMouse()
local playerGui = player:WaitForChild("PlayerGui")

-- Se esse script já rodou antes (testou de novo sem parar o jogo, ou tem
-- uma cópia dele em outro lugar), remove a interface antiga primeiro.
-- Isso evita várias cópias transparentes empilhadas por cima uma da
-- outra — o que faria parecer que "tem algo na frente" bloqueando o
-- clique nos botões.
local oldGui = playerGui:FindFirstChild("StamperGui")
if oldGui then
	oldGui:Destroy()
end
local oldPreview = Workspace:FindFirstChild("StamperPreview")
if oldPreview then
	oldPreview:Destroy()
end

-- ================== CONFIGURAÇÕES ==================
local BLOCK_SIZE = Vector3.new(4, 4, 4)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!