Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Script Lua FE GUI Draggable: "GlobalMatrixEffects" - Global Matrix Effects Visible to All (Anti-Error Universal)
- -- Buatan heckes15 - Persistent, Anti-Crash, Handle Respawn & Nil Checks
- -- Fitur: GUI bisa digeser, tombol X untuk tutup, tombol toggle untuk efek Matrix (Partikel, Decal, Skybox, Musik) - Visible ke SEMUA player (spam di workspace/Lighting).
- -- WARNING: Ini spam global, bisa lag server/game. Gunakan bijak! Keyless, FE exploit style.
- local Players = game:GetService("Players")
- local TweenService = game:GetService("TweenService")
- local Lighting = game:GetService("Lighting")
- local SoundService = game:GetService("SoundService")
- local RunService = game:GetService("RunService")
- local player = Players.LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- -- ID Assets (Matrix theme, Roblox 2025)
- local particleTextureId = "rbxassetid://241650934" -- Green code particle
- local decalTextureId = "rbxassetid://107349278" -- Matrix code decal
- local skyboxIds = {
- SkyboxBk = "rbxassetid://1012891",
- SkyboxDn = "rbxassetid://1012890",
- SkyboxFt = "rbxassetid://1012892",
- SkyboxLf = "rbxassetid://1012893",
- SkyboxRt = "rbxassetid://1012894",
- SkyboxUp = "rbxassetid://1012895"
- }
- local musicId = "rbxassetid://1842940633" -- Matrix theme
- -- Variables global
- local particleConnections = {}
- local decalConnections = {}
- local sky = nil
- local musicSound = nil
- local spamRate = 0.5 -- Detik antar spam (kurangi buat lebih spam, tapi laggy)
- -- Fungsi spam Partikel ke semua player (visible to all via workspace)
- local function toggleParticles(toggle)
- if toggle then
- -- Loop spam particle ke semua characters
- local conn = RunService.Heartbeat:Connect(function()
- for _, p in ipairs(Players:GetPlayers()) do
- if p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
- local emitter = p.Character.HumanoidRootPart:FindFirstChild("MatrixParticle")
- if not emitter then
- emitter = Instance.new("ParticleEmitter")
- emitter.Name = "MatrixParticle"
- emitter.Texture = particleTextureId
- emitter.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
- emitter.Size = NumberSequence.new(0.5)
- emitter.Lifetime = NumberRange.new(2, 5)
- emitter.Rate = 50
- emitter.Speed = NumberRange.new(5, 10)
- emitter.SpreadAngle = Vector2.new(360, 360)
- emitter.Parent = p.Character.HumanoidRootPart
- end
- end
- end
- end)
- particleConnections[#particleConnections + 1] = conn
- print("Global Matrix particles spamming! Visible to all 🌧️")
- else
- -- Stop spam
- for _, conn in ipairs(particleConnections) do
- conn:Disconnect()
- end
- particleConnections = {}
- -- Clean up existing
- for _, p in ipairs(Players:GetPlayers()) do
- if p.Character then
- local emitter = p.Character:FindFirstChild("MatrixParticle", true)
- if emitter then emitter:Destroy() end
- end
- end
- print("Particles stopped globally.")
- end
- end
- -- Fungsi spam Decal ke semua player heads
- local function toggleDecals(toggle)
- if toggle then
- local conn = RunService.Heartbeat:Connect(function()
- for _, p in ipairs(Players:GetPlayers()) do
- if p.Character and p.Character:FindFirstChild("Head") then
- local decal = p.Character.Head:FindFirstChild("MatrixDecal")
- if not decal then
- decal = Instance.new("Decal")
- decal.Name = "MatrixDecal"
- decal.Texture = decalTextureId
- decal.Face = Enum.NormalId.Front
- decal.Parent = p.Character.Head
- end
- end
- end
- end)
- decalConnections[#decalConnections + 1] = conn
- print("Global Matrix decals spamming! Visible to all 💻")
- else
- for _, conn in ipairs(decalConnections) do
- conn:Disconnect()
- end
- decalConnections = {}
- for _, p in ipairs(Players:GetPlayers()) do
- if p.Character then
- local decal = p.Character:FindFirstChild("MatrixDecal", true)
- if decal then decal:Destroy() end
- end
- end
- print("Decals stopped globally.")
- end
- end
- -- Fungsi apply Skybox global (Lighting replicate to all)
- local function toggleSkybox(toggle)
- if toggle and not sky then
- sky = Instance.new("Sky")
- for face, id in pairs(skyboxIds) do
- sky[face] = id
- end
- sky.SunAngularSize = 10
- sky.Parent = Lighting
- Lighting.Brightness = 1
- Lighting.Ambient = Color3.fromRGB(0, 50, 0)
- print("Global Matrix skybox applied! Visible to all ☁️")
- elseif not toggle and sky then
- sky:Destroy()
- sky = nil
- Lighting.Brightness = 2
- Lighting.Ambient = Color3.fromRGB(128, 128, 128)
- print("Skybox removed globally.")
- end
- end
- -- Fungsi apply Musik global (Sound di workspace, audible to all)
- local function toggleMusic(toggle)
- if toggle and not musicSound then
- musicSound = Instance.new("Sound")
- musicSound.SoundId = musicId
- musicSound.Volume = 0.5
- musicSound.Looped = true
- musicSound.Parent = workspace
- musicSound:Play()
- print("Global Matrix music playing! Audible to all 🎵")
- elseif not toggle and musicSound then
- musicSound:Stop()
- musicSound:Destroy()
- musicSound = nil
- print("Music stopped globally.")
- end
- end
- -- Fungsi buat GUI (toggle buttons untuk global effects)
- local function createGUI()
- local success = pcall(function()
- local oldGui = playerGui:FindFirstChild("GlobalMatrixGUI")
- if oldGui then oldGui:Destroy() end
- local screenGui = Instance.new("ScreenGui")
- screenGui.Name = "GlobalMatrixGUI"
- screenGui.Parent = playerGui
- screenGui.ResetOnSpawn = false
- local mainFrame = Instance.new("Frame")
- mainFrame.Size = UDim2.new(0, 300, 0, 300)
- mainFrame.Position = UDim2.new(0.5, -150, 0.5, -150)
- 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 = "🌐 Global Matrix Effects (Visible to All) 🌐"
- 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 Particles Global
- local particleButton = Instance.new("TextButton")
- particleButton.Size = UDim2.new(1, -20, 0, 40)
- particleButton.Position = UDim2.new(0, 10, 0, 50)
- particleButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
- particleButton.Text = "🌧️ Toggle Global Particles (Spam to All)"
- particleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- particleButton.TextScaled = true
- particleButton.Font = Enum.Font.SourceSans
- particleButton.Parent = mainFrame
- local particleCorner = Instance.new("UICorner")
- particleCorner.CornerRadius = UDim.new(0, 5)
- particleCorner.Parent = particleButton
- local particleActive = false
- particleButton.MouseButton1Click:Connect(function()
- particleActive = not particleActive
- toggleParticles(particleActive)
- particleButton.Text = particleActive and "✅ Particles GLOBAL ON" or "❌ Particles OFF"
- particleButton.BackgroundColor3 = particleActive and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(0, 170, 255)
- end)
- -- Tombol Decals Global
- local decalButton = Instance.new("TextButton")
- decalButton.Size = UDim2.new(1, -20, 0, 40)
- decalButton.Position = UDim2.new(0, 10, 0, 100)
- decalButton.BackgroundColor3 = Color3.fromRGB(255, 170, 0)
- decalButton.Text = "💻 Toggle Global Decals (Spam to All)"
- decalButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- decalButton.TextScaled = true
- decalButton.Font = Enum.Font.SourceSans
- decalButton.Parent = mainFrame
- local decalCorner = Instance.new("UICorner")
- decalCorner.CornerRadius = UDim.new(0, 5)
- decalCorner.Parent = decalButton
- local decalActive = false
- decalButton.MouseButton1Click:Connect(function()
- decalActive = not decalActive
- toggleDecals(decalActive)
- decalButton.Text = decalActive and "✅ Decals GLOBAL ON" or "❌ Decals OFF"
- decalButton.BackgroundColor3 = decalActive and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 170, 0)
- end)
- -- Tombol Skybox Global
- local skyboxButton = Instance.new("TextButton")
- skyboxButton.Size = UDim2.new(1, -20, 0, 40)
- skyboxButton.Position = UDim2.new(0, 10, 0, 150)
- skyboxButton.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
- skyboxButton.Text = "☁️ Toggle Global Skybox"
- skyboxButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- skyboxButton.TextScaled = true
- skyboxButton.Font = Enum.Font.SourceSans
- skyboxButton.Parent = mainFrame
- local skyboxCorner = Instance.new("UICorner")
- skyboxCorner.CornerRadius = UDim.new(0, 5)
- skyboxCorner.Parent = skyboxButton
- local skyboxActive = false
- skyboxButton.MouseButton1Click:Connect(function()
- skyboxActive = not skyboxActive
- toggleSkybox(skyboxActive)
- skyboxButton.Text = skyboxActive and "✅ Skybox GLOBAL ON" or "❌ Skybox OFF"
- skyboxButton.BackgroundColor3 = skyboxActive and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(170, 0, 255)
- end)
- -- Tombol Music Global
- local musicButton = Instance.new("TextButton")
- musicButton.Size = UDim2.new(1, -20, 0, 40)
- musicButton.Position = UDim2.new(0, 10, 0, 200)
- musicButton.BackgroundColor3 = Color3.fromRGB(255, 0, 170)
- musicButton.Text = "🎵 Toggle Global Music"
- musicButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- musicButton.TextScaled = true
- musicButton.Font = Enum.Font.SourceSans
- musicButton.Parent = mainFrame
- local musicCorner = Instance.new("UICorner")
- musicCorner.CornerRadius = UDim.new(0, 5)
- musicCorner.Parent = musicButton
- local musicActive = false
- musicButton.MouseButton1Click:Connect(function()
- musicActive = not musicActive
- toggleMusic(musicActive)
- musicButton.Text = musicActive and "✅ Music GLOBAL ON" or "❌ Music OFF"
- musicButton.BackgroundColor3 = musicActive and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 170)
- end)
- local infoLabel = Instance.new("TextLabel")
- infoLabel.Size = UDim2.new(1, -20, 0, 20)
- infoLabel.Position = UDim2.new(0, 10, 1, -25)
- infoLabel.BackgroundTransparency = 1
- infoLabel.Text = "Global spam effects - Visible/Audible to ALL players! (Lag warning) 🌐"
- 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, -5)
- creditLabel.BackgroundTransparency = 1
- creditLabel.Text = "Buatan heckes15 🔥 (Oct 2025)"
- creditLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
- creditLabel.TextScaled = true
- creditLabel.Font = Enum.Font.SourceSansBold
- creditLabel.Parent = mainFrame
- closeButton.MouseButton1Click:Connect(function()
- -- Clean up all on close
- toggleParticles(false)
- toggleDecals(false)
- toggleSkybox(false)
- toggleMusic(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, 300)
- end)
- if success then
- print("Global Matrix Effects GUI loaded! Toggle for all players visibility. 🌐")
- else
- warn("Gagal load GUI.")
- end
- end
- -- Handle new players for spam
- Players.PlayerAdded:Connect(function(newPlayer)
- newPlayer.CharacterAdded:Connect(function()
- wait(1) -- Wait for char to load
- if particleActive then applyParticle(true) end -- Re-spam if active
- if decalActive then applyDecal(true) end
- end)
- end)
- -- Jalankan
- createGUI()
- -- Persistent respawn
- player.CharacterAdded:Connect(function()
- wait(1)
- createGUI()
- end)
Advertisement
Add Comment
Please, Sign In to add comment