Hebablazin

Void Shield

May 30th, 2016
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. local lp=game.Players.LocalPlayer
  2. local lpc=lp.Character
  3. local shield=Instance.new('Part',lpc)
  4. shield.Size=Vector3.new(50,50,50)
  5. shield.CanCollide=false
  6. shield.Locked=true
  7. shield.Shape='Block'
  8. shield.Name='Fades shield'
  9. shield.BottomSurface='Smooth'
  10. shield.TopSurface='Smooth'
  11. z = Instance.new("SpecialMesh", shield)
  12. z.MeshId = "http://www.roblox.com/asset/?id=12212520"
  13. z.Scale = Vector3.new(60, 100, 60)
  14. game:service("RunService").Stepped:connect(function()
  15. shield.CFrame = lpc.Torso.CFrame*CFrame.new(0, 0, 0)
  16. shield.Color=Color3.new( (100), (0), (100))
  17. shield.Transparency=(0.3)
  18. Light = Instance.new("PointLight",shield)
  19. Light.Name = "Light"
  20. Light.Range = "30"
  21. Light.Brightness = 9999999999999
  22. Light.Color = Color3.new(113,0,0)
  23. end)
  24. bv = Instance.new("BodyVelocity",shield)
  25. bv.maxForce = Vector3.new(0,math.huge,0)
  26. bv.velocity = Vector3.new(0,0,0)
  27. shield.Touched:connect(function(Hit)
  28. if Hit.Parent == nil then return end
  29. if Hit.className=='Part' ~= nil then
  30. if Hit.Parent.Name==lp.Name or Hit.Name=='Base' or Hit.className=='BasePart' or Hit.Name=='Handle' then
  31. else
  32. Hit:remove()
  33. end
  34. end
  35. end)
  36. game:service'RunService'.Stepped:connect(function()
  37. lp.Character.Humanoid.Health=100
  38. end)
Add Comment
Please, Sign In to add comment