Advertisement
Karap

ผี

Mar 5th, 2023
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. pcall(function()
  2. game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  3. end)
  4. pcall(function()
  5. game.Players.LocalPlayer.CameraMaxZoomDistance = 0
  6. end)
  7. pcall(function()
  8. spawn(function()
  9. while wait() do
  10. if not UserSettings().GameSettings:InFullScreen() then
  11. game:GetService("GuiService"):ToggleFullscreen()
  12. wait(0.5)
  13. end
  14. wait(0.25)
  15. end
  16. end)
  17. end)
  18. pcall(function()
  19. game:GetService("UserInputService").MouseIconEnabled = false
  20. end)
  21. pcall(function()
  22. game.CoreGui:FindFirstChild("RobloxGui").Enabled = false
  23. end)
  24. pcall(function()
  25. game.CoreGui:FindFirstChild("PlayerList").Enabled = false
  26. end)
  27. pcall(function()
  28. game.CoreGui:FindFirstChild("TopBar").Enabled = false
  29. end)
  30.  
  31. function jumpscare()
  32. local function fiximage(id)
  33. return string.format("rbxthumb://type=Asset&id=%s&w=420&h=420",tonumber(id))
  34. end
  35. local sc = Instance.new("ScreenGui",game.CoreGui)
  36. sc.DisplayOrder = 10000
  37. sc.IgnoreGuiInset = true
  38. local img = Instance.new("ImageLabel",sc)
  39. img.Size = UDim2.new(1,0,1,0)
  40. img.Image = fiximage(142410803)
  41. img.ScaleType = "Fit"
  42. img.BackgroundColor3 = Color3.fromRGB(0,0,0)
  43. spawn(function()
  44. while wait() do
  45. img.ImageColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
  46. wait()
  47. img.ImageColor3 = Color3.new(1,1,1)
  48. end
  49. end)
  50. local auegh = Instance.new("Sound",game)
  51. auegh.Volume = 45
  52. auegh.SoundId = "rbxassetid://5567523008"
  53. auegh:Play()
  54. auegh.Ended:Connect(function()
  55. wait()
  56. auegh:Destroy()
  57. end)
  58. game:GetService("TweenService"):Create(img,TweenInfo.new(3),{BackgroundTransparency = 1,ImageTransparency = 1}):Play()
  59. delay(3,function()
  60. sc:Destroy()
  61. end)
  62. end
  63. while wait() do
  64. if math.random(1,5) == 1 then
  65. jumpscare()
  66. end
  67. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement