View difference between Paste ID: UZTWJUE3 and UxsE8xRN
SHOW: | | - or go back to the newest paste.
1
local lp = game.Players.LocalPlayer
2
local chr = lp.Character
3
local mouse = lp:GetMouse()
4
local euler = CFrame.fromEulerAnglesXYZ
5
local rad = math.rad
6
local trso = chr.Torso
7
local la = Instance.new("Weld",chr['Left Arm'])
8
la.Part0=chr['Left Arm']
9
la.Part1=chr.Torso
10
la.C0=CFrame.new(1.5,0,0)
11
local rot = 0
12
13
local ContentProvider = Game:GetService("ContentProvider")
14
 
15
local function LoadAssets(AssetList)
16
	-- Takes an asset list and preloads it. Will not wait for them to load. 
17
 
18
	for _, AssetId in pairs(AssetList) do
19
		ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId)
20
	end
21
end
22
23-
LoadAssets({203654824, 192187815, 179678714, 193107910, 187990139})
23+
LoadAssets({150132537, 150132537, 150132537, 150132537, 150132537})
24
25
26
27
28-
if chr:FindFirstChild("Shirt") then
28+
29-
chr.Shirt:destroy()
29+
30
31
32-
if chr:FindFirstChild("Pants") then
32+
33-
chr.Pants:destroy()
33+
34
35
function CreateMesh(parent, id, x, y, z, texture)
36-
colors = chr['Body Colors']
36+
37
m.MeshType = "FileMesh"
38-
colors.HeadColor = BrickColor.new("Brown")
38+
39-
colors.TorsoColor = BrickColor.new("Brown")
39+
40-
colors.LeftArmColor = BrickColor.new("Brown")
40+
41-
colors.RightArmColor = BrickColor.new("Brown")
41+
42-
colors.LeftLegColor = BrickColor.new("Brown")
42+
43-
colors.RightLegColor = BrickColor.new("Brown")
43+
44
45
Microphone=function()
46-
local face = chr.Head:FindFirstChild("face")
46+
47
CreateMesh(mic, 43996479, 0.3, 0.3, 0.3, 43997070)
48-
if face then
48+
49-
face.Texture = "http://www.roblox.com/asset/?id=187990139"
49+
50
mic.CanCollide=true
51
mic.Size=Vector3.new(1,1,1)
52-
for i,v in pairs(chr:children()) do
52+
53-
	if v.ClassName == "Hat" then
53+
54-
		print(v.Name.." has been removed, #baldforbieber")
54+
55-
		v:destroy()
55+
56
micw.C1=euler(rad(0),rad(0),rad(0))
57
end
58
59
60
61
62
Microphone()
63-
local hd = Instance.new("Weld",chr.Head)
63+
64-
hd.Part0=chr.Head
64+
65-
hd.Part1=chr.Torso
65+
66-
hd.C0=CFrame.new(0,-1.5,0)
66+
67
        pcall(function()
68
        local Gui = Instance.new('BillboardGui', hat)
69-
hum = chr.Humanoid
69+
70
        Gui.Size = UDim2.new(0,200,0,300)
71
        local Frame = Instance.new('Frame',Gui)
72
        Frame.BackgroundTransparency = 1
73
        Frame.Size = UDim2.new(1,0,1,0)
74
        local Txt = Instance.new('TextLabel',Frame)
75
        Txt.BackgroundTransparency = 1
76
        Txt.Size = UDim2.new(1,0,1,0)
77
        Txt.Font = 'ArialBold'
78
        Txt.FontSize = 'Size24'
79
        Txt.Text = msg
80
        Txt.TextColor3 = BrickColor.new("Brown").Color
81
        Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
82
        Txt.TextStrokeTransparency = .5
83
        Txt.TextWrapped = true
84
        Txt.TextScaled = false
85
        end)
86
        else
87
        end
88
end
89
90
function Chat(msg) -- Credit to jillmiles1, kthxbye
91
        if hat.Parent then
92
        pcall(function()
93
		if hat:FindFirstChild("Fazbear Chat Gui") then
94
		hat['Fazbear Chat Gui']:destroy()
95
		end
96
        local Gui = Instance.new('BillboardGui', hat)
97-
Hat=function()
97+
98-
hat = Instance.new("Part", chr)
98+
99-
CreateMesh(hat, 1028713, 1, 1, 1)
99+
100-
hat.Name = "Top hat"
100+
101-
hat.Locked = true
101+
102-
hat.BrickColor = BrickColor.new("Really black")
102+
103-
hat.CanCollide=true
103+
104-
hat.Size=Vector3.new(1,1,1)
104+
105-
hatw = Instance.new("Weld",hat)
105+
106-
hatw.Part0=hat
106+
107-
hatw.Part1=chr['Head']
107+
108-
hatw.C0=CFrame.new(0,-0.7,0)
108+
109-
hatw.C1=euler(rad(0),rad(0),rad(0))
109+
110
        Txt.TextColor3 = BrickColor.new("Brown").Color
111
        Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
112-
Hat()
112+
113
        Txt.TextWrapped = true
114
        Txt.TextScaled = false
115
        delay(wait(),function()
116
                for v = 1, #msg do
117
                        Txt.Text=string.sub(msg,1,v)
118
                        wait(.07)
119
                end;
120
                wait(1)
121
                for v = 1, #Txt.Text do
122
                        Txt.Text=string.sub(msg,-1,v)
123
                        wait(.05)
124
                end;
125
                Gui:remove()
126
        end)
127
        end)
128
        else
129
        end
130
end
131
132
133
hat = Instance.new("Part", game.Players.LocalPlayer.Character.Head)
134
w3ld = Instance.new("Weld", hat)
135
w3ld.Part0 = hat
136
w3ld.Part1 = game.Players.LocalPlayer.Character.Head
137
w3ld.C0 = w3ld.C0 * CFrame.new(0,-0.5,-0.1)
138
mesh = Instance.new("SpecialMesh", hat)
139
mesh.MeshId = "http://www.roblox.com/asset/?id=19326912"
140
mesh.TextureId = "http://www.roblox.com/asset/?id=206965960"
141
----------------------------------------
142
 -- Originally made by Alfederate :D --
143
----------------------------------------
144
 
145
 -- there's no time to explain! --
146
for i,v in pairs(game:GetService("Players").LocalPlayer.Character:children()) do if v:IsA("Accessory") then v:Destroy() end end for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do if v:IsA("Shirt") then v:Remove() end end for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do if v:IsA("Pants") then v:Remove() end end wait()shirt = Instance.new("Shirt", game:GetService("Players").LocalPlayer.Character) shirt.Name = "Shirt" pants = Instance.new("Pants", game:GetService("Players").LocalPlayer.Character) pants.Name = "Pants"
147
game:GetService("Players").LocalPlayer.Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=338740550"
148
game:GetService("Players").LocalPlayer.Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=338750779"
149
game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=319908966"
150
151
152
local crouch = function()
153
 la.C1=euler(rad(-90),rad(0),rad(0))
154
 hd.C1=euler(rad(0),rad(-3),rad(10))
155
 micw.C1=euler(rad(0),rad(0),rad(0))
156
 micw.C0=CFrame.new(0,-1,0)
157
 la.C0=CFrame.new(1.5,-.5,-.5)
158
end
159
160
local stand = function()
161
 la.C1=euler(rad(0),rad(0),rad(0))
162
  hd.C1=euler(rad(0),rad(0),rad(0))
163
  micw.C1=euler(rad(180),rad(0),rad(0))
164
 la.C0=CFrame.new(1.5,0,0)
165
 micw.C0=CFrame.new(0,-1,0)
166
end
167
168
function PlaySound(id, pitch, looped)
169
        epicsound = Instance.new("Sound")
170
        epicsound.Name = "FazbearSound"
171
  epicsound.SoundId = "rbxassetid://"..id
172
     epicsound.Volume = 10
173
     epicsound.Pitch = pitch
174
	 if looped == nil then
175
	 looped = true
176
	 else
177
	 looped = looped
178
	 end
179
	 wait()
180
  epicsound.Looped = looped
181
  epicsound.Parent = workspace
182
  if epicsound.SoundId=="rbxassetid://tt" then -- TELL ME, TELL ME, WHERE DA FREAKS AT!
183
      epicsound.SoundId="rbxassetid://181158033"
184
  elseif epicsound.SoundId=="rbxassetid://fabulous" then -- FA-FA-FABULOUS!
185
      epicsound.SoundId="rbxassetid://191819419"
186
     elseif epicsound.SoundId=="rbxassetid://ufdb" then -- ultimate final death battle(fairy tail XD)
187
         epicsound.SoundId="rbxassetid://153085393"
188
        elseif epicsound.SoundId=="rbxassetid://nnm" then
189
           epicsound.SoundId="rbxassetid://210189234" 
190
       elseif epicsound.SoundId=="rbxassetid://tun" then -- tunak tunak tun
191
           epicsound.SoundId="rbxassetid://162682002"
192
       elseif epicsound.SoundId=="rbxassetid://zelda" then
193
           epicsound.SoundId="rbxassetid://158215156"
194
       elseif epicsound.SoundId=="rbxassetid://cc" then
195
           epicsound.SoundId="rbxassetid://177080835"
196
     end
197
  es=epicsound:clone()
198
  es:Stop()
199
  es.Parent = chr.Torso
200
  wait()
201
  es:Play()
202
end
203
204-
     epicsound.Volume = 1
204+
205
hum.MaxHealth = math.huge
206
hum.Health = math.huge
207
208
 
209
lp.Chatted:connect(function(msg)
210
        Chat(msg)
211
212
goldie=true
213
crouch()
214
215
function StopMusic()
216
	if chr.Torso:FindFirstChild("FazbearSound") then
217
		if chr.Torso.FazbearSound.ClassName == "Sound" then
218
			chr.Torso.FazbearSound:Stop()
219
			wait()
220
			chr.Torso.FazbearSound:Destroy()
221
		
222
223
Name("Justin Bieber")
224
225
226
mouse.KeyDown:connect(function(key)
227
if key == "g" then
228
if goldie==false then
229
goldie=true
230
crouch()
231
elseif goldie==true then
232
goldie=false
233
stand()
234
235
elseif key == "r" then -- Plays a song
236
StopMusic()
237
PlaySound(150132537, 1, true)
238
239
elseif key == "f" then -- Plays a song
240
StopMusic()
241
PlaySound(150132537, 1, true)
242
243-
end)
243+
244
StopMusic()
245
PlaySound(150132537, 0.39, false)
246
247
elseif key == "v" then -- Plays a scream
248
StopMusic()
249
PlaySound(150132537, 1, false)
250
251
elseif key == "q" then -- Stops any sound(s) playing from your torso
252
StopMusic()
253
Chat("All sounds stopped!")
254
hum.Died:connect(function()
255
	es.Pitch = 10
256
	wait()
257
	es:Pause()
258-
Name("Freddy Fazbear")
258+
259
	es.Name = "Ded"
260
	wait()
261
	es:Destroy()