Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function jumpscare()
- for i,plrs in pairs(game.Players:GetPlayers()) do
- local gui = Instance.new("ScreenGui",plrs.PlayerGui)
- gui.Name = "guijump";
- local pic = Instance.new("ImageLabel",gui);
- pic.Name = "jump";
- pic.ZIndex = 99;
- pic.BorderSizePixel = 0;
- pic.Size = UDim2.new(1,0,1,40);
- pic.Position = UDim2.new(0,0,0,-40);
- pic.Image = "http://www.roblox.com/asset/?id=1541854679";
- local jump = Instance.new("Sound",workspace);
- jump.Volume = 3;
- jump.SoundId = "rbxassetid://453650471";
- jump:Play();
- print("sucker...")
- end
- wait(2)
- for i,plrs in pairs(game.Players:GetPlayers()) do
- pcall(function()
- local gui = plrs.PlayerGui:FindFirstChild("guijump");
- if gui then gui:Destroy(); end
- for _,obj in pairs(plrs.Character:GetChildren()) do
- if obj:IsA("Humanoid") then
- obj.Health = 0;
- end
- end
- end)
- end
- end
- while true do
- wait(20)
- jumpscare()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement