TheUnknownDiscord

scout jumpscare

Dec 27th, 2021 (edited)
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. for i,v in pairs(owner.Character:GetDescendants()) do
  2. if v:IsA("BasePart") then
  3. v.Transparency = 1
  4. elseif v:IsA("Decal") then
  5. v:Destroy()
  6. end
  7. end
  8. part = Instance.new("Part",owner.Character.Head)
  9. part.Size = owner.Character.Head.Size
  10. part.CanCollide = false
  11. part2 = Instance.new("Part",owner.Character.Head)
  12. part2.Size = owner.Character.Head.Size
  13. part2.CanCollide = false
  14. local weld = Instance.new("Weld",owner.Character.Head)
  15. weld.Part0 = part
  16. weld.Part1 = owner.Character.Head
  17. local weld2 = Instance.new("Weld",owner.Character.Head)
  18. weld2.Part0 = part2
  19. weld2.Part1 = owner.Character.Head
  20. local weld3 = Instance.new("Weld",owner.Character.Torso)
  21. weld3.Part0 = owner.Character.Torso
  22. weld3.Part1 = owner.Character.Head
  23. weld3.C1 = CFrame.new(0,-1.5,0)
  24. local Mesh = Instance.new("SpecialMesh")
  25. Mesh.Parent = owner.Character.Torso
  26. Mesh.MeshId = "http://www.roblox.com/asset/?id=863724661"
  27. Mesh.TextureId = "http://www.roblox.com/asset/?id=863724916"
  28. Mesh.Scale = Vector3.new(.08, .08, .08)
  29. local Mesh1 = Instance.new("SpecialMesh")
  30. Mesh1.Parent = owner.Character.Head
  31. Mesh1.MeshId = "http://www.roblox.com/asset/?id=863723265"
  32. Mesh1.TextureId = "http://www.roblox.com/asset/?id=863723378"
  33. Mesh1.Scale = Vector3.new(.08, .08, .08)
  34. Mesh1.Offset = Vector3.new(0,1.575,-0.4)
  35. local Mesh2 = Instance.new("SpecialMesh")
  36. Mesh2.Parent = part
  37. Mesh2.MeshId = "http://www.roblox.com/asset/?id=863723693"
  38. Mesh2.TextureId = "http://www.roblox.com/asset/?id=863723700"
  39. Mesh2.Scale = Vector3.new(.08, .08, .08)
  40. Mesh2.Offset = Vector3.new(0,1.6775,-0.675)
  41. local Mesh3 = Instance.new("SpecialMesh")
  42. Mesh3.Parent = part2
  43. Mesh3.MeshId = "http://www.roblox.com/asset/?id=863725424"
  44. Mesh3.TextureId = "http://www.roblox.com/asset/?id=863725625"
  45. Mesh3.Scale = Vector3.new(.08, .08, .08)
  46. Mesh3.Offset = Vector3.new(-0.075,1.7,-0.5)
  47. owner.Character.Torso.Transparency = 0
  48. owner.Character.Head.Transparency = 0
  49. owner.Character.Humanoid.HipHeight = 0.25
  50. owner.Character.Humanoid.WalkSpeed = 50
  51. SoundIds = {"3173580045", "3231980820", "3173577378", "3173566193"}
  52. cave = Instance.new("Sound")
  53. cave.Volume = 3
  54. cave.SoundId = "rbxassetid://" .. SoundIds[math.random(1, #SoundIds)]
  55. cave.PlayOnRemove = true
  56. E = Instance.new("RemoteEvent",owner.PlayerGui)
  57. E.Name = "the"
  58. E.OnServerEvent:Connect(function(plr,action)
  59. coroutine.wrap(function()
  60. local newSoundId
  61.  
  62. do repeat
  63. newSoundId = "rbxassetid://" .. SoundIds[math.random(1, #SoundIds)]
  64. wait()
  65. until
  66. newSoundId ~= cave.SoundId
  67. end
  68.  
  69. cave.Parent = owner.Character.Head
  70. cave.SoundId = newSoundId
  71. cave.Parent = nil
  72. end)()
  73. if action == "transparent" then
  74. part.Transparency = 1
  75. part2.Transparency = 1
  76. owner.Character.Head.Transparency = 1
  77. owner.Character.Torso.Transparency = 1
  78. elseif action == "appear" then
  79. part.Transparency = 0
  80. part2.Transparency = 0
  81. owner.Character.Head.Transparency = 0
  82. owner.Character.Torso.Transparency = 0
  83. end
  84. end)
  85. NLS([[
  86. remote = owner.PlayerGui:WaitForChild("the")
  87. count = 0
  88. mouse = owner:GetMouse()
  89. mouse.KeyDown:Connect(function(key)
  90. key = key:lower()
  91. if key == "q" then
  92. count = count + 1
  93. if count == 1 then
  94. remote:FireServer("transparent")
  95. elseif count == 2 then
  96. remote:FireServer("appear")
  97. count = 0
  98. end
  99. end
  100. end)
  101. ]],owner.PlayerGui)
Add Comment
Please, Sign In to add comment