Advertisement
Hmm465_Gaming

satanic stuff

May 13th, 2018
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.13 KB | None | 0 0
  1. while wait() do
  2. for _, v in pairs(workspace:GetChildren()) do
  3.     if v:IsA("BasePart") then
  4.     v.Anchored = false
  5.     end
  6.     end
  7.  
  8. for i,c in pairs(game:GetDescendants()) do
  9.     c.Name = "HAHAHAHAHAHH SATAN BITCHES"
  10. end
  11.  
  12. for i,m in pairs(workspace:GetDescendants()) do
  13.     if m:IsA("Part") then
  14.         local p = Instance.new("ParticleEmitter", m)
  15.         p.Texture = "38458191"
  16.     end
  17. end
  18.     game.Lighting.Ambient=Color3.new(1,0,0)
  19.     game.Lighting.FogEnd=20;
  20.     game.Lighting.FogColor=Color3.new(0,0,0);
  21.     game.Lighting.TimeOfDay = 12
  22.    
  23.     local a = Instance.new('Sky')
  24.     a.Name = 'Satnic Shit'
  25.     a.Parent = game.Lighting
  26.     id = 38458191
  27.     a.SkyboxBk = "http://www.roblox.com/asset/?id="..id..""
  28.     a.SkyboxDn = "http://www.roblox.com/asset/?id="..id..""
  29.     a.SkyboxFt = "http://www.roblox.com/asset/?id="..id..""
  30.     a.SkyboxLf = "http://www.roblox.com/asset/?id="..id..""
  31.     a.SkyboxRt = "http://www.roblox.com/asset/?id="..id..""
  32.     a.SkyboxUp = "http://www.roblox.com/asset/?id="..id..""
  33.    
  34.    
  35. local MusicID = 257700196 --replace number with a sound id
  36. local MusicPitch = 0.8
  37.  
  38.  
  39. print("forcing audio")
  40.  
  41. local IN = Instance.new
  42.  
  43. local Frame_Speed = 60
  44.  
  45. local ArtificialHB = IN("BindableEvent", script)
  46. ArtificialHB.Name = "Heartbeat"
  47.  
  48. script:WaitForChild("Heartbeat")
  49.  
  50. local tf = 0
  51. local allowframeloss = false
  52. local tossremainder = false
  53. local lastframe = tick()
  54. local frame = 1/Frame_Speed
  55. ArtificialHB:Fire()
  56.  
  57. game:GetService("RunService").Heartbeat:connect(function(s, p)
  58.     tf = tf + s
  59.     if tf >= frame then
  60.         if allowframeloss then
  61.             script.Heartbeat:Fire()
  62.             lastframe = tick()
  63.         else
  64.             for i = 1, math.floor(tf / frame) do
  65.                 ArtificialHB:Fire()
  66.             end
  67.             lastframe = tick()
  68.         end
  69.         if tossremainder then
  70.             tf = 0
  71.         else
  72.             tf = tf - frame * math.floor(tf / frame)
  73.         end
  74.     end
  75. end)
  76.  
  77. function swait(num)
  78.     if num == 0 or num == nil then
  79.         ArtificialHB.Event:wait()
  80.     else
  81.         for i = 0, num do
  82.             ArtificialHB.Event:wait()
  83.         end
  84.     end
  85. end
  86.  
  87. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  88. local Plrs = S.Players
  89. local Plr = Plrs.LocalPlayer
  90. local Char = Plr.Character
  91.  
  92. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  93.     local Sound = IN("Sound")
  94.     Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  95.     Sound.Pitch = pitch or 1
  96.     Sound.Volume = volume or 1
  97.     Sound.Looped = looped or false
  98.     if(autoPlay)then
  99.         coroutine.wrap(function()
  100.             repeat wait() until Sound.IsLoaded
  101.             Sound.Playing = autoPlay or false
  102.         end)()
  103.     end
  104.     if(not looped and effect)then
  105.         Sound.Ended:connect(function()
  106.             Sound.Volume = 0
  107.             Sound:destroy()
  108.         end)
  109.     elseif(effect)then
  110.         warn("Sound can't be looped and a sound effect!")
  111.     end
  112.     Sound.Parent =parent or Torso
  113.     return Sound
  114. end
  115.  
  116. local Music = Sound(game.Workspace,MusicID,MusicPitch,1,true,false,true)
  117. Music.Name = 'Music'
  118.  
  119.  
  120. while true do
  121.     swait()
  122.     if(not Music or not Music.Parent)then
  123.     print("deleted")
  124.         local a = Music.TimePosition
  125.         Music = Sound(game.Workspace,MusicID,MusicPitch,2,true,false,true)
  126.         Music.Name = 'Music'
  127.         Music.TimePosition = a
  128.     end
  129. end
  130.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement