View difference between Paste ID: s8PJKYys and VBeg6mQb
SHOW: | | - or go back to the newest paste.
1
plr = game.Players.LocalPlayer
2-
repeat wait() until plr.Character
2+
3-
char = plr.Character
3+
4
 
5
print("GOTTA SWEEP BY NanesROBLOX Showcase By Purpleguy2playZ")
6
 
7
local sweep = Instance.new("Part")
8
local slap = Instance.new("Sound",char)
9-
char.Humanoid.JumpPower = 0
9+
10-
char.Humanoid.Animator:Destroy()
10+
11-
char.Animate:Destroy()
11+
12-
char.Head.face.Transparency = 1
12+
13
congrats.Volume = 10
14
local death = Instance.new("Sound",char)
15
death.SoundId = "rbxassetid://1781430032"
16
death.Volume = 10
17
local schoolhouse = Instance.new("Sound",char)
18
schoolhouse.SoundId = "rbxassetid://1781430032"
19
schoolhouse.Volume = 10
20
local doors = Instance.new("Sound",char)
21
doors.SoundId = "rbxassetid://1781430032"
22
doors.Volume = 10
23
local sweepdecal1 = Instance.new("Decal",sweep)
24
local sweepdecal2 = Instance.new("Decal",sweep)
25
local weld = Instance.new("Weld",sweep)
26
sweepdecal1.Face = "Back"
27
sweepdecal1.Texture = "rbxassetid://1806990036"
28
sweepdecal2.Face = "Front"
29
sweepdecal2.Texture = "rbxassetid://1806990036"
30
sweep.Name = "gotta sweep sweep sweep"
31
sweep.Size = Vector3.new(6.2, 6.4, 0.114)
32
sweep.Transparency = 1
33
sweep.CanCollide = false
34
weld.Part1 = sweep
35
weld.C0 = CFrame.new(-0.466694832, 1.18746996, -0.594377518, -0.999195099, 0, 0.0401160046, 0, 1, 0, -0.0401160046, 0, -0.999195099)
36
local vel = Instance.new("BodyVelocity",sweep)
37
vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
38
vel.Velocity = Vector3.new(0,0,0)
39
for i,v in pairs(char:GetChildren()) do
40-
weld.Part0 = char.Torso
40+
41
        v.Transparency = 1
42
43-
sweep.Parent = char
43+
44
        v.Handle.Transparency = 1
45
    end
46
end
47
mouse = plr:GetMouse()
48
SpeedofBaldi = 40
49
using = false
50-
     
50+
51
    local human = part.Parent:FindFirstChildOfClass("Humanoid")
52
    if human and using then
53
        human.Health = 999999999999999
54
        death:Play()
55
    end
56
end)
57
function Taunt()
58
    local rd = math.random(1,3)
59
    if rd == 1 then
60
        congrats:Play()
61-
        human.Health = 0
61+
62
    if rd == 2 then
63
        schoolhouse:Play()
64
    end
65
    if rd == 3 then
66
        doors:Play()
67
    end
68
end
69
function Teleport()
70
    char.Torso.CFrame = mouse.Hit + Vector3.new(0,3,0)
71
    slap:Play()
72
    using = true
73
    sweepdecal1.Texture = "http://www.roblox.com/asset/?id=1806990036"
74
    sweepdecal2.Texture = "http://www.roblox.com/asset/?id=1806990036"
75
    wait(0.4)
76
    using = false
77
    sweepdecal1.Face = "Back"
78
    sweepdecal1.Texture = "rbxassetid://1806990036"
79
    sweepdecal2.Face = "Front"
80
    sweepdecal2.Texture = "rbxassetid://1806990036"
81
end
82
mouse.KeyDown:connect(function(k)
83
    if k == "v" then
84
        Taunt()
85
    end
86
    if k == "f" then
87
        Teleport()
88
    end
89
end)
90
 
91
function move()
92
    vel.Velocity = char.Torso.CFrame.lookVector * SpeedofBaldi
93
    sweepdecal1.Texture = "http://www.roblox.com/asset/?id=1806990036"
94
    sweepdecal2.Texture = "http://www.roblox.com/asset/?id=1806990036"
95
    using = true
96
    slap:Play()
97
    wait(0.4)
98
    using = false
99
    vel.Velocity = Vector3.new(0,0,0)
100
    sweepdecal1.Face = "Back"
101
    sweepdecal1.Texture = "rbxassetid://1806990036"
102
    sweepdecal2.Face = "Front"
103
    sweepdecal2.Texture = "rbxassetid://1806990036"
104
end
105
mouse.Button1Down:connect(function()
106
    move()
107
end)