Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Script Lua FE GUI Draggable: "GlobalMatrixMapDecal" - Matrix Decal on Entire Map (Visible to All)
- -- Buatan heckes15 - Persistent, Anti-Crash, Handle Respawn & Nil Checks
- -- Fitur: GUI bisa digeser, tombol X untuk tutup, tombol toggle untuk spam Matrix decal di SELURUH MAP (semua BasePart di workspace).
- -- Visible ke SEMUA player (global spam). WARNING: Bisa lag server parah! Gunakan bijak. Keyless, FE.
- local Players = game:GetService("Players")
- local TweenService = game:GetService("TweenService")
- local RunService = game:GetService("RunService")
- local player = Players.LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- -- ID Decal Matrix Code (green code pattern, valid 2025)
- local decalTextureId = "rbxassetid://6031097222" -- Green code-like texture for map
- -- Variables
- local decalConnections = {}
- local spamRate = 0.1 -- Detik antar spam (kurangi buat lebih cepat, tapi laggy)
- -- Fungsi spam Decal ke seluruh map (semua BasePart di workspace)
- local function toggleMapDecals(toggle)
- if toggle then
- local conn = RunService.Heartbeat:Connect(function()
- for _, obj in ipairs(workspace:GetDescendants()) do
- if obj:IsA("BasePart") and obj.Name ~= "HumanoidRootPart" and not obj:FindFirstChild("MatrixMapDecal") then -- Skip HRP to avoid errors
- pcall(function()
- local decal = Instance.new("Decal")
- decal.Name = "MatrixMapDecal"
- decal.Texture = decalTextureId
- decal.Face = Enum.NormalId.Top -- Top face for ground/walls
- decal.Transparency = 0.3 -- Semi-transparent biar keliatan map asli
- decal.Parent = obj
- end)
- end
- end
- end)
- decalConnections[#decalConnections + 1] = conn
- print("Global Matrix decals spamming di SELURUH MAP! Visible to all π»πΊοΈ")
- else
- for _, conn in ipairs(decalConnections) do
- conn:Disconnect()
- end
- decalConnections = {}
- -- Clean up all decals
- for _, obj in ipairs(workspace:GetDescendants()) do
- if obj:IsA("Decal") and obj.Name == "MatrixMapDecal" then
- obj:Destroy()
- end
- end
- print("Map decals removed globally.")
- end
- end
- -- Fungsi buat GUI (tombol toggle utama untuk map decal)
- local function createGUI()
- local success = pcall(function()
- local oldGui = playerGui:FindFirstChild("MapDecalGUI")
- if oldGui then oldGui:Destroy() end
- local screenGui = Instance.new("ScreenGui")
- screenGui.Name = "MapDecalGUI"
- screenGui.Parent = playerGui
- screenGui.ResetOnSpawn = false
- local mainFrame = Instance.new("Frame")
- mainFrame.Size = UDim2.new(0, 300, 0, 150)
- mainFrame.Position = UDim2.new(0.5, -150, 0.5, -75)
- mainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- mainFrame.BorderSizePixel = 0
- mainFrame.Active = true
- mainFrame.Draggable = true
- mainFrame.Parent = screenGui
- local corner = Instance.new("UICorner")
- corner.CornerRadius = UDim.new(0, 10)
- corner.Parent = mainFrame
- local titleBar = Instance.new("Frame")
- titleBar.Size = UDim2.new(1, 0, 0, 30)
- titleBar.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- titleBar.Parent = mainFrame
- local titleCorner = Instance.new("UICorner")
- titleCorner.CornerRadius = UDim.new(0, 10)
- titleCorner.Parent = titleBar
- local title = Instance.new("TextLabel")
- title.Size = UDim2.new(1, -30, 1, 0)
- title.Position = UDim2.new(0, 5, 0, 0)
- title.BackgroundTransparency = 1
- title.Text = "πΊοΈ Matrix Decal on Entire Map πΊοΈ"
- title.TextColor3 = Color3.fromRGB(0, 255, 0)
- title.TextScaled = true
- title.Font = Enum.Font.SourceSansBold
- title.Parent = titleBar
- local closeButton = Instance.new("TextButton")
- closeButton.Size = UDim2.new(0, 25, 0, 25)
- closeButton.Position = UDim2.new(1, -30, 0, 2.5)
- closeButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
- closeButton.Text = "X"
- closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- closeButton.TextScaled = true
- closeButton.Font = Enum.Font.SourceSansBold
- closeButton.Parent = titleBar
- local closeCorner = Instance.new("UICorner")
- closeCorner.CornerRadius = UDim.new(0, 5)
- closeCorner.Parent = closeButton
- closeButton.MouseEnter:Connect(function()
- TweenService:Create(closeButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(255, 0, 0)}):Play()
- end)
- closeButton.MouseLeave:Connect(function()
- TweenService:Create(closeButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(255, 50, 50)}):Play()
- end)
- -- Tombol Toggle Map Decal
- local mapDecalButton = Instance.new("TextButton")
- mapDecalButton.Size = UDim2.new(1, -20, 0, 50)
- mapDecalButton.Position = UDim2.new(0, 10, 0, 50)
- mapDecalButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
- mapDecalButton.Text = "π» Toggle Matrix Decal on Entire Map"
- mapDecalButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- mapDecalButton.TextScaled = true
- mapDecalButton.Font = Enum.Font.SourceSansBold
- mapDecalButton.Parent = mainFrame
- local mapDecalCorner = Instance.new("UICorner")
- mapDecalCorner.CornerRadius = UDim.new(0, 5)
- mapDecalCorner.Parent = mapDecalButton
- mapDecalButton.MouseEnter:Connect(function()
- TweenService:Create(mapDecalButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 150, 200)}):Play()
- end)
- mapDecalButton.MouseLeave:Connect(function()
- TweenService:Create(mapDecalButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 170, 255)}):Play()
- end)
- local mapDecalActive = false
- mapDecalButton.MouseButton1Click:Connect(function()
- mapDecalActive = not mapDecalActive
- toggleMapDecals(mapDecalActive)
- mapDecalButton.Text = mapDecalActive and "β Map Decal ON (Spamming!)" or "β Map Decal OFF"
- mapDecalButton.BackgroundColor3 = mapDecalActive and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(0, 170, 255)
- end)
- local infoLabel = Instance.new("TextLabel")
- infoLabel.Size = UDim2.new(1, -20, 0, 30)
- infoLabel.Position = UDim2.new(0, 10, 0, 110)
- infoLabel.BackgroundTransparency = 1
- infoLabel.Text = "Spam green code decal di seluruh map!\n(Visible to all, lag warning - Top face, semi-transparent)"
- infoLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
- infoLabel.TextScaled = true
- infoLabel.Font = Enum.Font.SourceSans
- infoLabel.TextWrapped = true
- infoLabel.Parent = mainFrame
- local creditLabel = Instance.new("TextLabel")
- creditLabel.Size = UDim2.new(1, -20, 0, 15)
- creditLabel.Position = UDim2.new(0, 10, 1, -15)
- creditLabel.BackgroundTransparency = 1
- creditLabel.Text = "Buatan heckes15 π₯ (Map Decal Oct 2025)"
- creditLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
- creditLabel.TextScaled = true
- creditLabel.Font = Enum.Font.SourceSansBold
- creditLabel.Parent = mainFrame
- closeButton.MouseButton1Click:Connect(function()
- toggleMapDecals(false)
- local tweenOut = TweenService:Create(mainFrame, TweenInfo.new(0.3, Enum.EasingStyle.Back), {Size = UDim2.new(0, 0, 0, 0)})
- tweenOut:Play()
- tweenOut.Completed:Connect(function()
- screenGui:Destroy()
- end)
- end)
- mainFrame.Size = UDim2.new(0, 300, 0, 150)
- end)
- if success then
- print("Matrix Map Decal GUI loaded! Spam decal di seluruh map. πΊοΈπ»")
- else
- warn("Gagal load GUI.")
- end
- end
- -- Handle workspace changes (new parts)
- workspace.DescendantAdded:Connect(function(desc)
- if desc:IsA("BasePart") and mapDecalActive then
- wait(spamRate)
- pcall(function()
- local decal = Instance.new("Decal")
- decal.Name = "MatrixMapDecal"
- decal.Texture = decalTextureId
- decal.Face = Enum.NormalId.Top
- decal.Transparency = 0.3
- decal.Parent = desc
- end)
- end
- end)
- -- Jalankan
- createGUI()
- -- Persistent
- player.CharacterAdded:Connect(function()
- wait(1)
- createGUI()
- end)
Advertisement
Add Comment
Please, Sign In to add comment