Advertisement
BrazilMoon

GOTTA SWEEP SWEEP SWEEP [ROBLOX]

Jun 3rd, 2018
856
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.07 KB | None | 0 0
  1. -- Gotta sweep sweep sweep By BrazilMoon [RocketBlast122 on roblox]
  2. plr = game.Players.LocalPlayer
  3. char = plr.Character
  4.  
  5. wait(1)
  6. local slap = Instance.new("Sound",char)
  7. slap.SoundId = "rbxassetid://1781430032"
  8. slap.Volume = 10
  9. for i,v in pairs(char:GetChildren()) do
  10.     if v.ClassName == "Part" then
  11.         v.Transparency = 1
  12.     end
  13. end
  14. for i,v in pairs(char:GetChildren()) do
  15.     if v.ClassName == "Accessory" then
  16.         v.Handle.Transparency = 1
  17.     end
  18. end
  19. char.Head.face.Transparency = 1
  20. local sweep = Instance.new("Part")
  21. local sweepdecal1 = Instance.new("Decal",sweep)
  22. local sweepdecal2 = Instance.new("Decal",sweep)
  23. local weld = Instance.new("Weld",sweep)
  24. sweepdecal1.Face = "Back"
  25. sweepdecal1.Texture = "rbxassetid://1852989422"
  26. sweepdecal2.Face = "Front"
  27. sweepdecal2.Texture = "rbxassetid://1852989422"
  28. sweep.Name = "gotta sweep sweep sweep"
  29. sweep.Size = Vector3.new(4.2, 8.4, 0.114)
  30. sweep.Transparency = 1
  31. sweep.CanCollide = false
  32. weld.Part0 = char.Torso
  33. weld.Part1 = sweep
  34. weld.C0 = CFrame.new(-0.466694832, 1.18746996, -0.594377518, -0.999195099, 0, 0.0401160046, 0, 1, 0, -0.0401160046, 0, -0.999195099)
  35. sweep.Parent = char
  36. char.Humanoid.HipHeight = 0.3
  37. slapspeed = 2
  38. walkSpeed = 20.3
  39. char.Humanoid.WalkSpeed = 20.3
  40. anger = 1 -- 1 is normal.
  41. coroutine.wrap(function()
  42.     while true do
  43.         wait()
  44.         if anger == 1 then
  45.             slapspeed = 2 -- Normal speed.
  46.         end
  47.         if anger == 2 then
  48.             slapspeed = 1
  49.         end
  50.         if anger == 3 then
  51.             slapspeed = 0.5
  52.         end
  53.         if anger == 4 then
  54.             slapspeed = 0.1
  55.         end
  56.     end
  57. end)()
  58. sweep.Touched:connect(function(part)
  59.     local human = part.Parent:FindFirstChildOfClass("Humanoid")
  60.     if human and human.Parent.Name ~= char.Name then
  61.         anger = anger + 1
  62.         human.Health = 0
  63.     end
  64. end)
  65. while true do
  66.     wait(slapspeed)
  67.     sweepdecal1.Texture = "http://www.roblox.com/asset/?id=1852989422"
  68.     sweepdecal2.Texture = "http://www.roblox.com/asset/?id=1852989422"
  69.     slap:Play()
  70.     wait(3)
  71.     sweepdecal1.Face = "Back"
  72.     sweepdecal1.Texture = "rbxassetid://1852989422"
  73.     sweepdecal2.Face = "Front"
  74.     sweepdecal2.Texture = "rbxassetid://1852989422"
  75. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement