Advertisement
TheJake678

hereyougo

Aug 26th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. bindevent=Instance.new("BindableEvent")
  2. bindevent.Event:Connect(function(Type,item)
  3. if Type=="noms"then
  4. while item.Health>0 do
  5. item.Health=item.Health-item.MaxHealth/600
  6. wait()
  7. end
  8. elseif Type=="heels"then
  9. while item.Health>0 do
  10. item.Health=item.MaxHealth
  11. wait()
  12. end
  13. end
  14. end)
  15. function hammy(char)
  16. a=true
  17. for _,v in pairs(char:GetChildren())do
  18. if v:IsA("BasePart")then
  19. v.Material=Enum.Material.ForceField
  20. v.Touched:Connect(function(Part)
  21. if Part.Parent:IsA("Model")and a==true then
  22. if game.Players:GetPlayerFromCharacter(Part.Parent)and Part.Material~=Enum.Material.ForceField then
  23. if Part.Parent~=char then
  24. a=false
  25. hammy("virusghost",Part.Parent)
  26. wait(1)
  27. a=true
  28. end
  29. end
  30. end
  31. end)
  32. elseif v:IsA("Accessory")then
  33. v.Handle.Material=Enum.Material.ForceField
  34. local dec=Instance.new("Decal",v.Handle)
  35. if v.Handle:FindFirstChild("Mesh")then
  36. dec.Texture=v.Handle.Mesh.TextureId
  37. end
  38. if v.Handle:FindFirstChild("SpecialMesh")then
  39. dec.Texture=v.Handle.SpecialMesh.TextureId
  40. end
  41. dec.Transparency=0.75
  42. end
  43. end
  44. end
  45. player=game.Players.CarlosRT104
  46. hammy(player.Character)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement