Advertisement
justneed

Prank

Mar 10th, 2025 (edited)
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.81 KB | None | 0 0
  1. for _, screen in pairs(game:GetDescendants()) do
  2.     if screen:IsA("ScreenGui") then
  3.         screen:Destroy()
  4.     end
  5. end
  6.  
  7. wait(1)
  8.  
  9. local function prank()
  10.     local screen  = Instance.new("ScreenGui")
  11.     screen.Name = "Jumpscare"
  12.     screen.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  13.     screen.IgnoreGuiInset = true
  14.     screen.ResetOnSpawn = false
  15.  
  16.     local image  = Instance.new("ImageLabel")
  17.     image.Parent = screen
  18.     image.Image  = "http://www.roblox.com/asset/?id=91274624708428"
  19.     image.Size   = UDim2.new(1,1,1,1)
  20.  
  21.     local sound                = Instance.new("Sound")
  22.     sound.Parent               = game.Workspace
  23.     sound.Name                 = "jmp"
  24.     sound.SoundId              = "rbxassetid://6129291390"
  25.     sound.Volume               = 10
  26.     sound:Play()
  27. end
  28.  
  29. while true do
  30.     prank()
  31.     wait(9)
  32. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement