rayiahmadjuhandi

Metrik

Oct 15th, 2025
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.00 KB | Gaming | 0 0
  1. -- Script Lua FE GUI Draggable: "GlobalMatrixEffects" - Global Matrix Effects Visible to All (Anti-Error Universal)
  2. -- Buatan heckes15 - Persistent, Anti-Crash, Handle Respawn & Nil Checks
  3. -- 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).
  4. -- WARNING: Ini spam global, bisa lag server/game. Gunakan bijak! Keyless, FE exploit style.
  5.  
  6. local Players = game:GetService("Players")
  7. local TweenService = game:GetService("TweenService")
  8. local Lighting = game:GetService("Lighting")
  9. local SoundService = game:GetService("SoundService")
  10. local RunService = game:GetService("RunService")
  11.  
  12. local player = Players.LocalPlayer
  13. local playerGui = player:WaitForChild("PlayerGui")
  14.  
  15. -- ID Assets (Matrix theme, Roblox 2025)
  16. local particleTextureId = "rbxassetid://241650934" -- Green code particle
  17. local decalTextureId = "rbxassetid://107349278" -- Matrix code decal
  18. local skyboxIds = {
  19. SkyboxBk = "rbxassetid://1012891",
  20. SkyboxDn = "rbxassetid://1012890",
  21. SkyboxFt = "rbxassetid://1012892",
  22. SkyboxLf = "rbxassetid://1012893",
  23. SkyboxRt = "rbxassetid://1012894",
  24. SkyboxUp = "rbxassetid://1012895"
  25. }
  26. local musicId = "rbxassetid://1842940633" -- Matrix theme
  27.  
  28. -- Variables global
  29. local particleConnections = {}
  30. local decalConnections = {}
  31. local sky = nil
  32. local musicSound = nil
  33. local spamRate = 0.5 -- Detik antar spam (kurangi buat lebih spam, tapi laggy)
  34.  
  35. -- Fungsi spam Partikel ke semua player (visible to all via workspace)
  36. local function toggleParticles(toggle)
  37. if toggle then
  38. -- Loop spam particle ke semua characters
  39. local conn = RunService.Heartbeat:Connect(function()
  40. for _, p in ipairs(Players:GetPlayers()) do
  41. if p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
  42. local emitter = p.Character.HumanoidRootPart:FindFirstChild("MatrixParticle")
  43. if not emitter then
  44. emitter = Instance.new("ParticleEmitter")
  45. emitter.Name = "MatrixParticle"
  46. emitter.Texture = particleTextureId
  47. emitter.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
  48. emitter.Size = NumberSequence.new(0.5)
  49. emitter.Lifetime = NumberRange.new(2, 5)
  50. emitter.Rate = 50
  51. emitter.Speed = NumberRange.new(5, 10)
  52. emitter.SpreadAngle = Vector2.new(360, 360)
  53. emitter.Parent = p.Character.HumanoidRootPart
  54. end
  55. end
  56. end
  57. end)
  58. particleConnections[#particleConnections + 1] = conn
  59. print("Global Matrix particles spamming! Visible to all 🌧️")
  60. else
  61. -- Stop spam
  62. for _, conn in ipairs(particleConnections) do
  63. conn:Disconnect()
  64. end
  65. particleConnections = {}
  66. -- Clean up existing
  67. for _, p in ipairs(Players:GetPlayers()) do
  68. if p.Character then
  69. local emitter = p.Character:FindFirstChild("MatrixParticle", true)
  70. if emitter then emitter:Destroy() end
  71. end
  72. end
  73. print("Particles stopped globally.")
  74. end
  75. end
  76.  
  77. -- Fungsi spam Decal ke semua player heads
  78. local function toggleDecals(toggle)
  79. if toggle then
  80. local conn = RunService.Heartbeat:Connect(function()
  81. for _, p in ipairs(Players:GetPlayers()) do
  82. if p.Character and p.Character:FindFirstChild("Head") then
  83. local decal = p.Character.Head:FindFirstChild("MatrixDecal")
  84. if not decal then
  85. decal = Instance.new("Decal")
  86. decal.Name = "MatrixDecal"
  87. decal.Texture = decalTextureId
  88. decal.Face = Enum.NormalId.Front
  89. decal.Parent = p.Character.Head
  90. end
  91. end
  92. end
  93. end)
  94. decalConnections[#decalConnections + 1] = conn
  95. print("Global Matrix decals spamming! Visible to all 💻")
  96. else
  97. for _, conn in ipairs(decalConnections) do
  98. conn:Disconnect()
  99. end
  100. decalConnections = {}
  101. for _, p in ipairs(Players:GetPlayers()) do
  102. if p.Character then
  103. local decal = p.Character:FindFirstChild("MatrixDecal", true)
  104. if decal then decal:Destroy() end
  105. end
  106. end
  107. print("Decals stopped globally.")
  108. end
  109. end
  110.  
  111. -- Fungsi apply Skybox global (Lighting replicate to all)
  112. local function toggleSkybox(toggle)
  113. if toggle and not sky then
  114. sky = Instance.new("Sky")
  115. for face, id in pairs(skyboxIds) do
  116. sky[face] = id
  117. end
  118. sky.SunAngularSize = 10
  119. sky.Parent = Lighting
  120. Lighting.Brightness = 1
  121. Lighting.Ambient = Color3.fromRGB(0, 50, 0)
  122. print("Global Matrix skybox applied! Visible to all ☁️")
  123. elseif not toggle and sky then
  124. sky:Destroy()
  125. sky = nil
  126. Lighting.Brightness = 2
  127. Lighting.Ambient = Color3.fromRGB(128, 128, 128)
  128. print("Skybox removed globally.")
  129. end
  130. end
  131.  
  132. -- Fungsi apply Musik global (Sound di workspace, audible to all)
  133. local function toggleMusic(toggle)
  134. if toggle and not musicSound then
  135. musicSound = Instance.new("Sound")
  136. musicSound.SoundId = musicId
  137. musicSound.Volume = 0.5
  138. musicSound.Looped = true
  139. musicSound.Parent = workspace
  140. musicSound:Play()
  141. print("Global Matrix music playing! Audible to all 🎵")
  142. elseif not toggle and musicSound then
  143. musicSound:Stop()
  144. musicSound:Destroy()
  145. musicSound = nil
  146. print("Music stopped globally.")
  147. end
  148. end
  149.  
  150. -- Fungsi buat GUI (toggle buttons untuk global effects)
  151. local function createGUI()
  152. local success = pcall(function()
  153. local oldGui = playerGui:FindFirstChild("GlobalMatrixGUI")
  154. if oldGui then oldGui:Destroy() end
  155.  
  156. local screenGui = Instance.new("ScreenGui")
  157. screenGui.Name = "GlobalMatrixGUI"
  158. screenGui.Parent = playerGui
  159. screenGui.ResetOnSpawn = false
  160.  
  161. local mainFrame = Instance.new("Frame")
  162. mainFrame.Size = UDim2.new(0, 300, 0, 300)
  163. mainFrame.Position = UDim2.new(0.5, -150, 0.5, -150)
  164. mainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  165. mainFrame.BorderSizePixel = 0
  166. mainFrame.Active = true
  167. mainFrame.Draggable = true
  168. mainFrame.Parent = screenGui
  169.  
  170. local corner = Instance.new("UICorner")
  171. corner.CornerRadius = UDim.new(0, 10)
  172. corner.Parent = mainFrame
  173.  
  174. local titleBar = Instance.new("Frame")
  175. titleBar.Size = UDim2.new(1, 0, 0, 30)
  176. titleBar.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  177. titleBar.Parent = mainFrame
  178.  
  179. local titleCorner = Instance.new("UICorner")
  180. titleCorner.CornerRadius = UDim.new(0, 10)
  181. titleCorner.Parent = titleBar
  182.  
  183. local title = Instance.new("TextLabel")
  184. title.Size = UDim2.new(1, -30, 1, 0)
  185. title.Position = UDim2.new(0, 5, 0, 0)
  186. title.BackgroundTransparency = 1
  187. title.Text = "🌐 Global Matrix Effects (Visible to All) 🌐"
  188. title.TextColor3 = Color3.fromRGB(0, 255, 0)
  189. title.TextScaled = true
  190. title.Font = Enum.Font.SourceSansBold
  191. title.Parent = titleBar
  192.  
  193. local closeButton = Instance.new("TextButton")
  194. closeButton.Size = UDim2.new(0, 25, 0, 25)
  195. closeButton.Position = UDim2.new(1, -30, 0, 2.5)
  196. closeButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  197. closeButton.Text = "X"
  198. closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  199. closeButton.TextScaled = true
  200. closeButton.Font = Enum.Font.SourceSansBold
  201. closeButton.Parent = titleBar
  202.  
  203. local closeCorner = Instance.new("UICorner")
  204. closeCorner.CornerRadius = UDim.new(0, 5)
  205. closeCorner.Parent = closeButton
  206.  
  207. closeButton.MouseEnter:Connect(function()
  208. TweenService:Create(closeButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(255, 0, 0)}):Play()
  209. end)
  210. closeButton.MouseLeave:Connect(function()
  211. TweenService:Create(closeButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(255, 50, 50)}):Play()
  212. end)
  213.  
  214. -- Tombol Particles Global
  215. local particleButton = Instance.new("TextButton")
  216. particleButton.Size = UDim2.new(1, -20, 0, 40)
  217. particleButton.Position = UDim2.new(0, 10, 0, 50)
  218. particleButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  219. particleButton.Text = "🌧️ Toggle Global Particles (Spam to All)"
  220. particleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  221. particleButton.TextScaled = true
  222. particleButton.Font = Enum.Font.SourceSans
  223. particleButton.Parent = mainFrame
  224.  
  225. local particleCorner = Instance.new("UICorner")
  226. particleCorner.CornerRadius = UDim.new(0, 5)
  227. particleCorner.Parent = particleButton
  228.  
  229. local particleActive = false
  230. particleButton.MouseButton1Click:Connect(function()
  231. particleActive = not particleActive
  232. toggleParticles(particleActive)
  233. particleButton.Text = particleActive and "✅ Particles GLOBAL ON" or "❌ Particles OFF"
  234. particleButton.BackgroundColor3 = particleActive and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(0, 170, 255)
  235. end)
  236.  
  237. -- Tombol Decals Global
  238. local decalButton = Instance.new("TextButton")
  239. decalButton.Size = UDim2.new(1, -20, 0, 40)
  240. decalButton.Position = UDim2.new(0, 10, 0, 100)
  241. decalButton.BackgroundColor3 = Color3.fromRGB(255, 170, 0)
  242. decalButton.Text = "💻 Toggle Global Decals (Spam to All)"
  243. decalButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  244. decalButton.TextScaled = true
  245. decalButton.Font = Enum.Font.SourceSans
  246. decalButton.Parent = mainFrame
  247.  
  248. local decalCorner = Instance.new("UICorner")
  249. decalCorner.CornerRadius = UDim.new(0, 5)
  250. decalCorner.Parent = decalButton
  251.  
  252. local decalActive = false
  253. decalButton.MouseButton1Click:Connect(function()
  254. decalActive = not decalActive
  255. toggleDecals(decalActive)
  256. decalButton.Text = decalActive and "✅ Decals GLOBAL ON" or "❌ Decals OFF"
  257. decalButton.BackgroundColor3 = decalActive and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 170, 0)
  258. end)
  259.  
  260. -- Tombol Skybox Global
  261. local skyboxButton = Instance.new("TextButton")
  262. skyboxButton.Size = UDim2.new(1, -20, 0, 40)
  263. skyboxButton.Position = UDim2.new(0, 10, 0, 150)
  264. skyboxButton.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
  265. skyboxButton.Text = "☁️ Toggle Global Skybox"
  266. skyboxButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  267. skyboxButton.TextScaled = true
  268. skyboxButton.Font = Enum.Font.SourceSans
  269. skyboxButton.Parent = mainFrame
  270.  
  271. local skyboxCorner = Instance.new("UICorner")
  272. skyboxCorner.CornerRadius = UDim.new(0, 5)
  273. skyboxCorner.Parent = skyboxButton
  274.  
  275. local skyboxActive = false
  276. skyboxButton.MouseButton1Click:Connect(function()
  277. skyboxActive = not skyboxActive
  278. toggleSkybox(skyboxActive)
  279. skyboxButton.Text = skyboxActive and "✅ Skybox GLOBAL ON" or "❌ Skybox OFF"
  280. skyboxButton.BackgroundColor3 = skyboxActive and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(170, 0, 255)
  281. end)
  282.  
  283. -- Tombol Music Global
  284. local musicButton = Instance.new("TextButton")
  285. musicButton.Size = UDim2.new(1, -20, 0, 40)
  286. musicButton.Position = UDim2.new(0, 10, 0, 200)
  287. musicButton.BackgroundColor3 = Color3.fromRGB(255, 0, 170)
  288. musicButton.Text = "🎵 Toggle Global Music"
  289. musicButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  290. musicButton.TextScaled = true
  291. musicButton.Font = Enum.Font.SourceSans
  292. musicButton.Parent = mainFrame
  293.  
  294. local musicCorner = Instance.new("UICorner")
  295. musicCorner.CornerRadius = UDim.new(0, 5)
  296. musicCorner.Parent = musicButton
  297.  
  298. local musicActive = false
  299. musicButton.MouseButton1Click:Connect(function()
  300. musicActive = not musicActive
  301. toggleMusic(musicActive)
  302. musicButton.Text = musicActive and "✅ Music GLOBAL ON" or "❌ Music OFF"
  303. musicButton.BackgroundColor3 = musicActive and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 170)
  304. end)
  305.  
  306. local infoLabel = Instance.new("TextLabel")
  307. infoLabel.Size = UDim2.new(1, -20, 0, 20)
  308. infoLabel.Position = UDim2.new(0, 10, 1, -25)
  309. infoLabel.BackgroundTransparency = 1
  310. infoLabel.Text = "Global spam effects - Visible/Audible to ALL players! (Lag warning) 🌐"
  311. infoLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
  312. infoLabel.TextScaled = true
  313. infoLabel.Font = Enum.Font.SourceSans
  314. infoLabel.TextWrapped = true
  315. infoLabel.Parent = mainFrame
  316.  
  317. local creditLabel = Instance.new("TextLabel")
  318. creditLabel.Size = UDim2.new(1, -20, 0, 15)
  319. creditLabel.Position = UDim2.new(0, 10, 1, -5)
  320. creditLabel.BackgroundTransparency = 1
  321. creditLabel.Text = "Buatan heckes15 🔥 (Oct 2025)"
  322. creditLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
  323. creditLabel.TextScaled = true
  324. creditLabel.Font = Enum.Font.SourceSansBold
  325. creditLabel.Parent = mainFrame
  326.  
  327. closeButton.MouseButton1Click:Connect(function()
  328. -- Clean up all on close
  329. toggleParticles(false)
  330. toggleDecals(false)
  331. toggleSkybox(false)
  332. toggleMusic(false)
  333. local tweenOut = TweenService:Create(mainFrame, TweenInfo.new(0.3, Enum.EasingStyle.Back), {Size = UDim2.new(0, 0, 0, 0)})
  334. tweenOut:Play()
  335. tweenOut.Completed:Connect(function()
  336. screenGui:Destroy()
  337. end)
  338. end)
  339.  
  340. mainFrame.Size = UDim2.new(0, 300, 0, 300)
  341. end)
  342.  
  343. if success then
  344. print("Global Matrix Effects GUI loaded! Toggle for all players visibility. 🌐")
  345. else
  346. warn("Gagal load GUI.")
  347. end
  348. end
  349.  
  350. -- Handle new players for spam
  351. Players.PlayerAdded:Connect(function(newPlayer)
  352. newPlayer.CharacterAdded:Connect(function()
  353. wait(1) -- Wait for char to load
  354. if particleActive then applyParticle(true) end -- Re-spam if active
  355. if decalActive then applyDecal(true) end
  356. end)
  357. end)
  358.  
  359. -- Jalankan
  360. createGUI()
  361.  
  362. -- Persistent respawn
  363. player.CharacterAdded:Connect(function()
  364. wait(1)
  365. createGUI()
  366. end)
Advertisement
Add Comment
Please, Sign In to add comment