Advertisement
Guest User

Untitled

a guest
May 26th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. shared["scary"]=false
  2. wait(5)
  3. m=1
  4. m1=1
  5. while wait() do
  6. if shared["scary"]==false then
  7. function FUNCTION(a)
  8. if (a.className == "Part") or (a.className == "Seat") or (a.className == "SpawnLocation") then
  9. m1=math.random(1,3)
  10. if m1==1 then
  11. m=0
  12. end
  13. if m1==2 then
  14. m=0.25
  15. end
  16. if m1==3 then
  17. m=0.5
  18. end
  19. local Deca=Instance.new("Decal")
  20. Deca.Parent=a
  21. Deca.Texture="http://www.roblox.com/asset/?id=703387192"
  22. Deca.Color3=Color3.new(m,m,m)
  23. Deca.Face="Back"
  24. Deca.Name="D1"
  25. Deca.Transparency=0.3
  26. local Deca=Instance.new("Decal")
  27. Deca.Parent=a
  28. Deca.Texture="http://www.roblox.com/asset/?id=703387192"
  29. Deca.Color3=Color3.new(m,m,m)
  30. Deca.Face="Bottom"
  31. Deca.Name="D2"
  32. Deca.Transparency=0.3
  33. local Deca=Instance.new("Decal")
  34. Deca.Parent=a
  35. Deca.Texture="http://www.roblox.com/asset/?id=703387192"
  36. Deca.Color3=Color3.new(m,m,m)
  37. Deca.Face="Front"
  38. Deca.Name="D3"
  39. Deca.Transparency=0.3
  40. local Deca=Instance.new("Decal")
  41. Deca.Parent=a
  42. Deca.Texture="http://www.roblox.com/asset/?id=703387192"
  43. Deca.Color3=Color3.new(m,m,m)
  44. Deca.Face="Left"
  45. Deca.Name="D4"
  46. Deca.Transparency=0.3
  47. local Deca=Instance.new("Decal")
  48. Deca.Parent=a
  49. Deca.Texture="http://www.roblox.com/asset/?id=703387192"
  50. Deca.Color3=Color3.new(m,m,m)
  51. Deca.Face="Right"
  52. Deca.Name="D5"
  53. Deca.Transparency=0.3
  54. local Deca=Instance.new("Decal")
  55. Deca.Parent=a
  56. Deca.Texture="http://www.roblox.com/asset/?id=703387192"
  57. Deca.Color3=Color3.new(m,m,m)
  58. Deca.Face="Top"
  59. Deca.Name="D6"
  60. Deca.Transparency=0.3
  61. local Int=Instance.new("IntValue")
  62. Int.Parent=a
  63. Int.Name="IntValue"
  64. Int.Value=(a.Material.Value)
  65. a.Material="Neon"
  66.  
  67. end
  68. local b = a:GetChildren()
  69. for i=1,#b do
  70. FUNCTION(b[i])
  71.  
  72. end
  73. end
  74.  
  75. FUNCTION(game.Workspace.Player)
  76. FUNCTION(game.Workspace.NonAnchor)
  77.  
  78. wait(math.random(2,3))
  79.  
  80. function FUNCTION(a)
  81. if (a.className == "Part") or (a.className == "Seat") or (a.className == "SpawnLocation") then
  82. a.D1:Destroy()
  83. a.D2:Destroy()
  84. a.D3:Destroy()
  85. a.D4:Destroy()
  86. a.D5:Destroy()
  87. a.D6:Destroy()
  88.  
  89. a.Material=a.IntValue.Value
  90. a.IntValue:Destroy()
  91.  
  92. end
  93. local b = a:GetChildren()
  94. for i=1,#b do
  95. FUNCTION(b[i])
  96. end
  97. end
  98.  
  99. FUNCTION(game.Workspace.Player)
  100. FUNCTION(game.Workspace.NonAnchor)
  101.  
  102. wait(math.random(3,5))
  103. end
  104. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement