Advertisement
13ooeo

Untitled

Nov 19th, 2022
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. script.Parent.MouseButton1Click:Connect(function()
  2. for i,v in pairs(game.Players:GetPlayers()) do
  3. if v.Name ~= me and not v.PlayerGui:FindFirstChild("Screamer") and v:FindFirstChild("PlayerGui") then
  4. spawn(function()
  5. local newgui = Instance.new("ScreenGui",v.PlayerGui)
  6. newgui.Name = "Screamer"
  7. local newimage = Instance.new("ImageLabel",newgui)
  8. newimage.Image = "http://www.roblox.com/asset/?id=11608365556"
  9. newimage.Size = UDim2.new(1,1,1,1)
  10. local s = Instance.new("Sound",newgui)
  11. s.SoundId = "rbxassetid://9069609200"
  12. s.Volume = 9999999999999999999999999999999999999
  13. s.Looped = true
  14. s:Play()
  15. print("Screamed "..v.Name)
  16. while wait(9) do
  17.  
  18. newimage.Parent:Destroy()
  19.  
  20. end
  21. end)
  22. end
  23. end
  24. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement