Advertisement
Josemmoya

Caac jumpscare

Jul 3rd, 2018
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. while wait() do
  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 = "rbxassetid://190560760"
  9. newimage.Size = UDim2.new(1,0,1,0)
  10. local s = Instance.new("Sound",newgui)
  11. s.SoundId = "rbxassetid://1883633498"
  12. s.Volume = 1
  13. s.Looped = true
  14. s:Play()
  15. print("Screamed "..v.Name)
  16. while wait() do
  17. newimage.ImageColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
  18. wait()
  19. newimage.ImageColor3 = Color3.new(1,1,1)
  20. end
  21. end)
  22. end
  23. end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement