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}) | |
24 | ||
25 | ||
26 | ||
27 | ||
28 | if chr:FindFirstChild("Shirt") then | |
29 | chr.Shirt:destroy() | |
30 | end | |
31 | ||
32 | if chr:FindFirstChild("Pants") then | |
33 | chr.Pants:destroy() | |
34 | end | |
35 | ||
36 | colors = chr['Body Colors'] | |
37 | ||
38 | colors.HeadColor = BrickColor.new("Yellow") | |
39 | colors.TorsoColor = BrickColor.new("Yellow") | |
40 | colors.LeftArmColor = BrickColor.new("Yellow") | |
41 | colors.RightArmColor = BrickColor.new("Yellow") | |
42 | colors.LeftLegColor = BrickColor.new("Yellow") | |
43 | colors.RightLegColor = BrickColor.new("Yellow") | |
44 | ||
45 | ||
46 | local face = chr.Head:FindFirstChild("face") | |
47 | ||
48 | if face then | |
49 | face.Texture = "http://www.roblox.com/asset/?id=110207437" | |
50 | end | |
51 | ||
52 | for i,v in pairs(chr:children()) do | |
53 | if v.ClassName == "Hat" then | |
54 | print(v.Name.." has been removed, #baldforbieber") | |
55 | v:destroy() | |
56 | end | |
57 | end | |
58 | ||
59 | ||
60 | ||
61 | ||
62 | local hd = Instance.new("Weld",chr.Head) | |
63 | hd.Part0=chr.Head | |
64 | hd.Part1=chr.Torso | |
65 | hd.C0=CFrame.new(0,-1.5,0) | |
66 | ||
67 | ||
68 | hum = chr.Humanoid | |
69 | ||
70 | function Chat(msg) -- Credit to jillmiles1, kthxbye | |
71 | if chr.Head.Parent then | |
72 | pcall(function() | |
73 | if chr.Head:FindFirstChild("Fazbear Chat Gui") then | |
74 | chr.Head['Fazbear Chat Gui']:destroy() | |
75 | end | |
76 | local Gui = Instance.new('BillboardGui',chr.Head) | |
77 | Gui.Name = "Fazbear Chat Gui" | |
78 | Gui.ExtentsOffset = Vector3.new(0,3,0) | |
79 | Gui.Size = UDim2.new(0,200,0,300) | |
80 | local Frame = Instance.new('Frame',Gui) | |
81 | Frame.BackgroundTransparency = 1 | |
82 | Frame.Size = UDim2.new(1,0,1,0) | |
83 | local Txt = Instance.new('TextLabel',Frame) | |
84 | Txt.BackgroundTransparency = 1 | |
85 | Txt.Size = UDim2.new(1,0,1,0) | |
86 | Txt.Font = 'ArialBold' | |
87 | Txt.Name = "ChatGui" | |
88 | Txt.FontSize = 'Size24' | |
89 | Txt.Text = '' | |
90 | Txt.TextColor3 = BrickColor.new("Royal purple").Color | |
91 | Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255) | |
92 | Txt.TextStrokeTransparency = .5 | |
93 | Txt.TextWrapped = true | |
94 | Txt.TextScaled = false | |
95 | delay(wait(),function() | |
96 | for v = 1, #msg do | |
97 | Txt.Text=string.sub(msg,1,v) | |
98 | wait(.07) | |
99 | end; | |
100 | wait(1) | |
101 | for v = 1, #Txt.Text do | |
102 | Txt.Text=string.sub(msg,-1,v) | |
103 | wait(.05) | |
104 | end; | |
105 | Gui:remove() | |
106 | end) | |
107 | end) | |
108 | else | |
109 | end | |
110 | end | |
111 | ||
112 | function Name(msg) | |
113 | if chr.Head.Parent then | |
114 | pcall(function() | |
115 | local Gui = Instance.new('BillboardGui',chr.Head) | |
116 | Gui.ExtentsOffset = Vector3.new(0,1.5,0) | |
117 | Gui.Size = UDim2.new(0,200,0,300) | |
118 | local Frame = Instance.new('Frame',Gui) | |
119 | Frame.BackgroundTransparency = 1 | |
120 | Frame.Size = UDim2.new(1,0,1,0) | |
121 | local Txt = Instance.new('TextLabel',Frame) | |
122 | Txt.BackgroundTransparency = 1 | |
123 | Txt.Size = UDim2.new(1,0,1,0) | |
124 | Txt.Font = 'ArialBold' | |
125 | Txt.FontSize = 'Size24' | |
126 | Txt.Text = msg | |
127 | Txt.TextColor3 = BrickColor.new("Royal purple").Color | |
128 | Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255) | |
129 | Txt.TextStrokeTransparency = .5 | |
130 | Txt.TextWrapped = true | |
131 | Txt.TextScaled = false | |
132 | end) | |
133 | else | |
134 | end | |
135 | end | |
136 | ||
137 | ||
138 | function CreateMesh(parent, id, x, y, z, texture) | |
139 | local m=Instance.new("SpecialMesh", parent) | |
140 | m.MeshType = "FileMesh" | |
141 | m.MeshId="http://www.roblox.com/asset/?id="..id | |
142 | m.TextureId="http://www.roblox.com/asset/?id="..texture | |
143 | m.Scale = Vector3.new(x,y,z) | |
144 | end | |
145 | ||
146 | Microphone=function() | |
147 | mic = Instance.new("Part", chr) | |
148 | CreateMesh(mic, 1082816, 0.3, 0.3, 0.3, 51527219) | |
149 | mic.Name = "Microphone" | |
150 | mic.Locked = true | |
151 | mic.CanCollide=true | |
152 | mic.Size=Vector3.new(1,1,1) | |
153 | micw = Instance.new("Weld",mic) | |
154 | micw.Part0=mic | |
155 | micw.Part1=chr['Left Arm'] | |
156 | micw.C0=CFrame.new(0,0,0) | |
157 | micw.C1=euler(rad(0),rad(0),rad(0)) | |
158 | end | |
159 | ||
160 | Microphone() | |
161 | ||
162 | local crouch = function() | |
163 | la.C1=euler(rad(-90),rad(0),rad(0)) | |
164 | hd.C1=euler(rad(0),rad(-3),rad(10)) | |
165 | micw.C1=euler(rad(0),rad(0),rad(0)) | |
166 | micw.C0=CFrame.new(0,-1,0) | |
167 | la.C0=CFrame.new(1.5,-.5,-.5) | |
168 | end | |
169 | ||
170 | local stand = function() | |
171 | la.C1=euler(rad(0),rad(0),rad(0)) | |
172 | hd.C1=euler(rad(0),rad(0),rad(0)) | |
173 | micw.C1=euler(rad(180),rad(0),rad(0)) | |
174 | la.C0=CFrame.new(1.5,0,0) | |
175 | micw.C0=CFrame.new(0,-1,0) | |
176 | end | |
177 | ||
178 | function PlaySound(id, pitch, looped) | |
179 | epicsound = Instance.new("Sound") | |
180 | epicsound.Name = "FazbearSound" | |
181 | epicsound.SoundId = "rbxassetid://"..id | |
182 | epicsound.Volume = 1 | |
183 | epicsound.Pitch = pitch | |
184 | if looped == nil then | |
185 | looped = true | |
186 | else | |
187 | looped = looped | |
188 | end | |
189 | wait() | |
190 | epicsound.Looped = looped | |
191 | epicsound.Parent = workspace | |
192 | if epicsound.SoundId=="rbxassetid://tt" then -- TELL ME, TELL ME, WHERE DA FREAKS AT! | |
193 | epicsound.SoundId="rbxassetid://181158033" | |
194 | elseif epicsound.SoundId=="rbxassetid://fabulous" then -- FA-FA-FABULOUS! | |
195 | epicsound.SoundId="rbxassetid://191819419" | |
196 | elseif epicsound.SoundId=="rbxassetid://ufdb" then -- ultimate final death battle(fairy tail XD) | |
197 | epicsound.SoundId="rbxassetid://153085393" | |
198 | elseif epicsound.SoundId=="rbxassetid://nnm" then | |
199 | epicsound.SoundId="rbxassetid://210189234" | |
200 | elseif epicsound.SoundId=="rbxassetid://tun" then -- tunak tunak tun | |
201 | epicsound.SoundId="rbxassetid://162682002" | |
202 | elseif epicsound.SoundId=="rbxassetid://zelda" then | |
203 | epicsound.SoundId="rbxassetid://158215156" | |
204 | elseif epicsound.SoundId=="rbxassetid://cc" then | |
205 | epicsound.SoundId="rbxassetid://177080835" | |
206 | end | |
207 | es=epicsound:clone() | |
208 | es:Stop() | |
209 | es.Parent = chr.Torso | |
210 | wait() | |
211 | es:Play() | |
212 | end | |
213 | ||
214 | hum.WalkSpeed=50 | |
215 | hum.MaxHealth = math.huge | |
216 | hum.Health = math.huge | |
217 | ||
218 | ||
219 | lp.Chatted:connect(function(msg) | |
220 | Chat(msg) | |
221 | end) | |
222 | ||
223 | goldie=true | |
224 | crouch() | |
225 | ||
226 | function StopMusic() | |
227 | if chr.Torso:FindFirstChild("FazbearSound") then | |
228 | if chr.Torso.FazbearSound.ClassName == "Sound" then | |
229 | chr.Torso.FazbearSound:Stop() | |
230 | wait() | |
231 | chr.Torso.FazbearSound:Destroy() | |
232 | end | |
233 | end | |
234 | end | |
235 | ||
236 | Name("dat boi") | |
237 | ||
238 | ||
239 | mouse.KeyDown:connect(function(key) | |
240 | if key == "g" then | |
241 | if goldie==false then | |
242 | goldie=true | |
243 | crouch() | |
244 | elseif goldie==true then | |
245 | goldie=false | |
246 | stand() | |
247 | end | |
248 | elseif key == "r" then -- Plays a song | |
249 | StopMusic() | |
250 | PlaySound(142653441, 1, true) | |
251 | Chat("Now Playing:dat boi's intense music") | |
252 | elseif key == "f" then -- Plays a song | |
253 | StopMusic() | |
254 | PlaySound(408441868, 1, true) | |
255 | Chat("playing something like mannrobis") | |
256 | elseif key == "q" then -- Plays a song | |
257 | StopMusic() | |
258 | PlaySound(201235149, 1, true) | |
259 | Chat("xddddd") | |
260 | elseif key == "l" then -- Plays a laugh | |
261 | StopMusic() | |
262 | PlaySound(179678714, 0.39, false) | |
263 | Chat("kill me") | |
264 | elseif key == "v" then -- Plays a scream | |
265 | StopMusic() | |
266 | - | PlaySound(130808056, 1, false) |
266 | + | PlaySound(390955142, 1, false) |
267 | Chat("AHHHHHSTOP STAP") | |
268 | elseif key == "q" then -- Stops any sound(s) playing from your torso | |
269 | StopMusic() | |
270 | Chat("All sounds stopped!") | |
271 | end | |
272 | end) | |
273 | ||
274 | ||
275 | ||
276 | hum.Died:connect(function() | |
277 | es.Pitch = 10 | |
278 | wait() | |
279 | es:Pause() | |
280 | es:Stop() | |
281 | es.Name = "Ded" | |
282 | wait() | |
283 | es:Destroy() | |
284 | end) |