Advertisement
subaru112g

vaccum cleaner script non fe

May 5th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. char = plr.Character
  3.  
  4. -- Color
  5. local bdycolors = char["Body Colors"]
  6. bdycolors.HeadColor = BrickColor.new("Black")
  7. bdycolors.LeftArmColor = BrickColor.new("Lily white")
  8. bdycolors.RightArmColor = BrickColor.new("Lily white")
  9. bdycolors.LeftLegColor = BrickColor.new("Lily white")
  10. bdycolors.RightLegColor = BrickColor.new("Lily white")
  11. bdycolors.TorsoColor = BrickColor.new("Lily white")
  12.  
  13. char.Head.face.Texture = "http://www.roblox.com/asset/?id=0"
  14. char.Humanoid.WalkSpeed = 30
  15.  
  16. local You = "Subaru112" local head = workspace[You].Head:Clone() local model = Instance.new("Model",char) local humanoid = Instance.new("Humanoid",model) head.Parent = model model.Name = "vaccum_cleaner" humanoid.MaxHealth = 0
  17.  
  18. local tors = char.vaccum_cleaner.Head
  19.  
  20. local parta = char.Torso
  21. local attachmenta = Instance.new("Attachment",parta)
  22. attachmenta.Position = Vector3.new(0,0,0)
  23.  
  24. local partb = tors
  25. local attachmentb = Instance.new("Attachment",tors)
  26. attachmenta.Position = Vector3.new(0,0,0)
  27.  
  28. local rope = Instance.new("RopeConstraint",parta)
  29. rope.Attachment0 = attachmenta
  30. rope.Attachment1 = attachmentb
  31. rope.Visible = true
  32. rope.Length = 60
  33.  
  34. wait(0.1)
  35. -- the thing that follows you
  36. local part = Instance.new("Part",char)
  37. part.Transparency = 1
  38. part.Size = Vector3.new(1, 1, 1)
  39. part.CanCollide = false
  40. local weld = Instance.new("Weld",part)
  41. weld.Part0 = part
  42. weld.Part1 = char.HumanoidRootPart
  43.  
  44. wait(0.1)
  45. local w = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  46. w.Part0 = char.vaccum_cleaner.Head
  47. w.Part1 = game.Players.LocalPlayer.Character["Part"]
  48. w.C0 = CFrame.new(0, 2.5, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  49. wait(0.1)
  50. char.vaccum_cleaner.Head.Anchored = true
  51.  
  52. weld:Destroy()
  53.  
  54. --Hat Remove
  55. for _, child in pairs(char:GetChildren()) do
  56. if child.ClassName == 'Accessory' then
  57. child:Destroy()
  58. end
  59. end
  60.  
  61. wait(0.1)
  62. function onTouched(brick)
  63. local humn = brick.Parent:FindFirstChildOfClass("Humanoid")
  64. if humn then
  65. for i,v in pairs(humn.Parent:GetChildren()) do
  66. if v.ClassName == "Part" then
  67. v:Destroy()
  68. end
  69. end
  70. end
  71. end
  72. char.Head.Touched:connect(onTouched)
  73.  
  74. h = Instance.new("Hat")
  75. p = Instance.new("Part")
  76. h.Name = "Hat"
  77. p.Parent = h
  78. p.Position = char.Head.Position
  79. p.Name = "Handle"
  80. p.formFactor = 0
  81. p.Size = Vector3.new(1.2, 0.8, 1.4)
  82. p.BottomSurface = 0
  83. p.TopSurface = 0
  84. p.Locked = true
  85. m = Instance.new("SpecialMesh")
  86. m.Parent= p
  87. m.MeshType = "FileMesh"
  88. m.MeshId = "rbxassetid://548432501"
  89. m.TextureId = "rbxassetid://548432511"
  90. m.Scale = Vector3.new(1.5,2,1.5)
  91. h.Parent = char
  92. h.AttachmentPos = Vector3.new(0, 3.265, 0.2)
  93. h.AttachmentUp = Vector3.new(0, 1, 0)
  94. h.AttachmentRight = Vector3.new(1, 0, 0)
  95. h.AttachmentForward = Vector3.new(0, 0, -1)
  96.  
  97. -- Transparency
  98. char["Left Arm"].Transparency = 1
  99. char["Left Leg"].Transparency = 1
  100. char["Right Arm"].Transparency = 1
  101. char["Right Leg"].Transparency = 1
  102. char["Head"].Transparency = 1
  103. char.Torso.Transparency = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement