View difference between Paste ID: 38UwdCCp and TL8NzTGT
SHOW: | | - or go back to the newest paste.
1
plr = game.Players.LocalPlayer
2
repeat wait() until plr.Character
3
char = plr.Character
4
5
wait(1/60)
6
7
print("Animated Baldi By NanesROBLOX")
8
9
char.Humanoid.JumpPower = 0
10
char.Humanoid.Animator:Destroy()
11
char.Animate:Destroy()
12
char.Head.face.Transparency = 1
13
local sweep = Instance.new("Part")
14
local slap = Instance.new("Sound",char)
15
slap.SoundId = "rbxassetid://1909185477"
16
slap.Volume = 10
17
local congrats = Instance.new("Sound",char)
18
congrats.SoundId = "rbxassetid://1882628513"
19
congrats.Volume = 2
20
congrats.PlaybackSpeed = 0.9
21
congrats:Play()
22
congrats.Looped = true
23
local death = Instance.new("Sound",char)
24
death.SoundId = "rbxassetid://223103466"
25
death.Volume = 1
26
death.PlaybackSpeed = 2
27
local schoolhouse = Instance.new("Sound",char)
28
schoolhouse.SoundId = "rbxassetid://1865627207"
29
schoolhouse.Volume = 10
30
local doors = Instance.new("Sound",char)
31
doors.SoundId = "rbxassetid://1846426159"
32
doors.Volume = 10
33
local sweepdecal1 = Instance.new("Decal",sweep)
34
local sweepdecal2 = Instance.new("Decal",sweep)
35
local weld = Instance.new("Weld",sweep)
36
sweepdecal1.Face = "Back"
37-
sweepdecal1.Texture = "rbxassetid://1890649620"
37+
sweepdecal1.Texture = "rbxassetid://1812577450"
38
sweepdecal2.Face = "Front"
39-
sweepdecal2.Texture = "rbxassetid://1890649620"
39+
sweepdecal2.Texture = "rbxassetid://1812577450"
40
sweep.Name = "gotta sweep sweep sweep"
41
sweep.Size = Vector3.new(4.2, 8.4, 0.114)
42
sweep.Transparency = 1
43
sweep.CanCollide = false
44
weld.Part0 = char.Torso
45
weld.Part1 = sweep
46
weld.C0 = CFrame.new(-0.466694832, 1.18746996, -0.594377518, -0.999195099, 0, 0.0401160046, 0, 1, 0, -0.0401160046, 0, -0.999195099)
47
sweep.Parent = char
48
local vel = Instance.new("BodyVelocity",sweep)
49
vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
50
vel.Velocity = Vector3.new(0,0,0)
51
for i,v in pairs(char:GetChildren()) do
52
	if v.ClassName == "Part" then
53
		v.Transparency = 1
54
      
55
	elseif v.ClassName == "Accessory" then
56
		v.Handle.Transparency = 1
57
	end
58
end
59
mouse = plr:GetMouse()
60
SpeedofBaldi = 40
61
using = false
62
char.Torso.Touched:connect(function(part)
63
	local human = part.Parent:FindFirstChildOfClass("Humanoid")
64
	if human and using then
65
		human.Health = 0
66
		death:Play()
67
	end
68
end)
69
function Taunt()
70
	local rd = math.random(1,3)
71
	if rd == 2 then
72
		schoolhouse:Play()
73
	end
74
	if rd == 3 then
75
		doors:Play()
76
	end
77
end
78
function Teleport()
79
	char.Torso.CFrame = mouse.Hit + Vector3.new(0,3,0)
80
	sweepdecal1.Texture = "http://www.roblox.com/asset/?id=1812577450"
81
    sweepdecal2.Texture = "http://www.roblox.com/asset/?id=1812577450"
82
    using = true
83
	wait(0.1)
84
	sweepdecal1.Texture = "http://www.roblox.com/asset/?id=1812577450"
85
    sweepdecal2.Texture = "http://www.roblox.com/asset/?id=1812577450"
86
    using = true
87
	wait(0.1)
88
	slap:Play()
89
	using = true
90
	sweepdecal1.Texture = "http://www.roblox.com/asset/?id=1812577450"
91
    sweepdecal2.Texture = "http://www.roblox.com/asset/?id=1812577450"
92
    wait(0.1)
93
    using = false
94
	vel.Velocity = Vector3.new(0,0,0)
95
	sweepdecal1.Face = "Back"
96-
    sweepdecal1.Texture = "rbxassetid://1890652445"
96+
    sweepdecal1.Texture = "rbxassetid://1812577450"
97
    sweepdecal2.Face = "Front"
98-
    sweepdecal2.Texture = "rbxassetid://1890652445"
98+
    sweepdecal2.Texture = "rbxassetid://"1812577450"
99
    wait(0.1)
100
    sweepdecal1.Face = "Back"
101-
    sweepdecal1.Texture = "rbxassetid://1890650237"
101+
    sweepdecal1.Texture = "rbxassetid://1812577450"
102
    sweepdecal2.Face = "Front"
103-
    sweepdecal2.Texture = "rbxassetid://1890650237"
103+
    sweepdecal2.Texture = "rbxassetid://1812577450"
104
	wait(0.1)
105
	sweepdecal1.Face = "Back"
106-
    sweepdecal1.Texture = "rbxassetid://1890649620"
106+
    sweepdecal1.Texture = "rbxassetid://1812577450"
107
    sweepdecal2.Face = "Front"
108-
    sweepdecal2.Texture = "rbxassetid://1890649620"
108+
    sweepdecal2.Texture = "rbxassetid://1812577450"
109
end
110
mouse.KeyDown:connect(function(k)
111
	if k == "v" then
112
		Taunt()
113
	end
114
	if k == "f" then
115
		Teleport()
116
	end
117
end)
118
119
function move()
120
	vel.Velocity = char.Torso.CFrame.lookVector * SpeedofBaldi
121
	sweepdecal1.Texture = "http://www.roblox.com/asset/?id=1890650237"
122
    sweepdecal2.Texture = "http://www.roblox.com/asset/?id=1890650237"
123
    using = true
124
	wait(0.1)
125
	sweepdecal1.Texture = "http://www.roblox.com/asset/?id=1890652445"
126
    sweepdecal2.Texture = "http://www.roblox.com/asset/?id=1890652445"
127
    using = true
128
	wait(0.1)
129
	sweepdecal1.Texture = "http://www.roblox.com/asset/?id=1890653369"
130
    sweepdecal2.Texture = "http://www.roblox.com/asset/?id=1890653369"
131
    using = true
132
    slap:Play()
133
	wait(0.1)
134
	using = false
135
	vel.Velocity = Vector3.new(0,0,0)
136
	sweepdecal1.Face = "Back"
137-
    sweepdecal1.Texture = "rbxassetid://1890652445"
137+
    sweepdecal1.Texture = "rbxassetid://1812577450"
138
    sweepdecal2.Face = "Front"
139-
    sweepdecal2.Texture = "rbxassetid://1890652445"
139+
    sweepdecal2.Texture = "rbxassetid://1812577450"
140
    wait(0.1)
141
    sweepdecal1.Face = "Back"
142-
    sweepdecal1.Texture = "rbxassetid://1890650237"
142+
    sweepdecal1.Texture = "rbxassetid://1812577450"
143
    sweepdecal2.Face = "Front"
144-
    sweepdecal2.Texture = "rbxassetid://1890650237"
144+
    sweepdecal2.Texture = "rbxassetid://1812577450"
145
	wait(0.1)
146
	sweepdecal1.Face = "Back"
147-
    sweepdecal1.Texture = "rbxassetid://1890649620"
147+
    sweepdecal1.Texture = "rbxassetid://1812577450"
148
    sweepdecal2.Face = "Front"
149-
    sweepdecal2.Texture = "rbxassetid://1890649620"
149+
    sweepdecal2.Texture = "rbxassetid://1812577450"
150
end
151
mouse.Button1Down:connect(function()
152
	move()
153
end)