Advertisement
Guest User

creeps3

a guest
Jan 21st, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. script.Parent = workspace --so the death function will work. :D
  2.  
  3. wait(1)
  4. game.Lighting.Ambient = Color3.new(1,0,0)
  5. local s = Instance.new("Sky",game.Lighting)
  6. local p = game.Players.LocalPlayer
  7. local s1 = Instance.new("Sound",workspace)
  8. local in2 = Instance.new("ParticleEmitter",p.Character.Torso)
  9. local debounce = false
  10. in2.Texture = "http://www.roblox.com/asset/?id=17865063"
  11. in2.RotSpeed = NumberRange.new(-100,100)
  12. in2.Transparency = NumberSequence.new(0,0.75)
  13. in2.Size = NumberSequence.new(5)
  14. in2.Speed = NumberRange.new(0.4)
  15. in2.Lifetime = NumberRange.new(0.15,0.25)
  16. in2.SpreadAngle = Vector2.new(0,0)
  17. in2.Rotation = NumberRange.new(2,5)
  18. s1.PlaybackSpeed = 1
  19. s1.SoundId = "rbxassetid://417886890"
  20. s1.Volume = 3.55
  21. s1.Looped =  true
  22. s1:Play()
  23. s.MoonTextureId = "http://www.roblox.com/asset/?id=17865063"
  24. s.SunTextureId = "http://www.roblox.com/asset/?id=17865063"
  25. s.StarCount = 0
  26. s.SunAngularSize = 60
  27. s.MoonAngularSize = 60
  28. function kill(hit)
  29.     if debounce == false then
  30.     debounce = true
  31.     local h = hit.Parent:FindFirstChild("Humanoid")
  32.     if (h~=nil) then
  33.         local psi = Instance.new("Sound",hit)
  34.         local pe = Instance.new("Explosion",hit) --psi attack effects
  35.         pe.Position = hit.Position
  36.         pe.BlastRadius = 0
  37.         pe.BlastPressure = 0
  38.         psi.SoundId = "rbxassetid://382344118"
  39.         psi.Volume = 5
  40.         psi:Play()
  41.         hit.Velocity = Vector3.new(50,50,50)   
  42.                 h.Sit = true
  43.         h.Health = h.Health - 75.4
  44.     end
  45.     end
  46.         wait(0.5)
  47.     debounce = false
  48. end
  49. function clearvisiblity()
  50.         local d = p.Character:GetChildren()
  51.     p.Character.Head.face:Destroy()
  52.     for i=1, #d do
  53.         if (d[i].className == "Accessory") then
  54.             d[i]:remove()
  55.         end
  56.     end
  57. end
  58.  
  59. function death()
  60.  
  61.    s1:Destroy()
  62.    local z = Instance.new("Sound",workspace)
  63.    z.SoundId = "rbxassetid://141378867"
  64.    z.Volume = 10
  65.    z.PlaybackSpeed = 1
  66.    z.Looped = true
  67.    z:Play()
  68.    game.Lighting.TimeOfDay = "5:47:00"
  69.    game.Lighting.GlobalShadows = false
  70.    s.SkyboxBk = "http://www.roblox.com/asset/?id=41413062"
  71.    s.SkyboxDn = "http://www.roblox.com/asset/?id=41413062"
  72.    s.SkyboxFt = "http://www.roblox.com/asset/?id=41413062"
  73.    s.SkyboxLf = "http://www.roblox.com/asset/?id=41413062"
  74.    s.SkyboxRt = "http://www.roblox.com/asset/?id=41413062"
  75.    s.SkyboxUp = "http://www.roblox.com/asset/?id=41413062"
  76.    s.MoonTextureId = ""
  77.    s.SunTextureId = ""
  78.    wait(5)
  79.    game.Lighting.Ambient = Color3.new(0,0,0)
  80.    game.Lighting.OutdoorAmbient = Color3.new(0,0,0)
  81.    game.Lighting.GlobalShadows = false
  82.    game.Lighting.FogColor = Color3.new(0,0,0)
  83.    game.Lighting.FogEnd = 100
  84.    s.StarCount = 0
  85.    game.Lighting.TimeOfDay = "0:00:00"
  86.    local s2 = Instance.new("Sound",workspace)
  87.    z:Destroy()
  88.    s2.SoundId = "rbxassetid://231107923"
  89.    s2.Volume = 10
  90.    s2:Play()
  91. end
  92.  
  93. function hurt()
  94.     game.Lighting.Ambient = Color3.new(0,255,0)
  95.     local s5 = Instance.new("Sound",workspace)
  96.     s5.SoundId = "rbxassetid://256382824"
  97.     s5.Volume = 10
  98.     s5:Play()
  99.     wait(0.1)
  100.     game.Lighting.Ambient = Color3.new(1,0,0)
  101.     if 1796 > p.Character.Humanoid.Health then
  102.    game.Lighting.TimeOfDay = "5:47:00"
  103.    s.SkyboxBk = "http://www.roblox.com/asset/?id=74013458"
  104.    s.SkyboxDn = "http://www.roblox.com/asset/?id=74013458"
  105.    s.SkyboxFt = "http://www.roblox.com/asset/?id=74013458"
  106.    s.SkyboxLf = "http://www.roblox.com/asset/?id=74013458"
  107.    s.SkyboxRt = "http://www.roblox.com/asset/?id=74013458"
  108.    s.SkyboxUp = "http://www.roblox.com/asset/?id=74013458"
  109.    s.MoonTextureId = ""
  110.    s.SunTextureId = ""
  111.    s1.PlaybackSpeed = 0.950
  112.    end     
  113.    if 501 > p.Character.Humanoid.Health then
  114.    game.Lighting.TimeOfDay = "5:47:00"
  115.    s.SkyboxBk = "http://www.roblox.com/asset/?id=74013458"
  116.    s.SkyboxDn = "http://www.roblox.com/asset/?id=74013458"
  117.    s.SkyboxFt = "http://www.roblox.com/asset/?id=74013458"
  118.    s.SkyboxLf = "http://www.roblox.com/asset/?id=74013458"
  119.    s.SkyboxRt = "http://www.roblox.com/asset/?id=74013458"
  120.    s.SkyboxUp = "http://www.roblox.com/asset/?id=74013458"
  121.    s.MoonTextureId = ""
  122.    s.SunTextureId = "" 
  123.    s1.PlaybackSpeed = 1.015
  124.    s1.SoundId = "rbxassetid://1254343621"  
  125. end
  126. end
  127. p1 = p.Character
  128. p1.Torso.Touched:connect(kill)
  129. p1.Humanoid.HealthChanged:connect(hurt)
  130. p1.Humanoid.Died:connect(death)
  131. clearvisiblity()
  132. p1.Health:Destroy()
  133. game.Lighting.TimeOfDay = "21:00:00"
  134. p1.Head.Transparency = 1
  135. p1.Torso.Transparency = 1
  136. p1["Right Leg"].Transparency = 1
  137. p1["Right Arm"].Transparency = 1
  138. p1["Left Arm"].Transparency = 1
  139. p1["Left Leg"].Transparency = 1
  140. p.Character.Humanoid.JumpPower = 100
  141. p.Character.Humanoid.WalkSpeed = 50
  142. p.Character.Humanoid.MaxHealth = 2500
  143. p.Character.Humanoid.Health = 2500
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement