MarcAndrew

Untitled

Apr 24th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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({150132537, 150132537, 150132537, 150132537, 150132537})
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. function CreateMesh(parent, id, x, y, z, texture)
  36. local m=Instance.new("SpecialMesh", parent)
  37. m.MeshType = "FileMesh"
  38. m.MeshId="http://www.roblox.com/asset/?id="..id
  39. if texture ~= nil then
  40. m.TextureId="http://www.roblox.com/asset/?id="..texture
  41. end
  42. m.Scale = Vector3.new(x,y,z)
  43. end
  44.  
  45. Microphone=function()
  46. mic = Instance.new("Part", chr)
  47. CreateMesh(mic, 43996479, 0.3, 0.3, 0.3, 43997070)
  48. mic.Name = "Microphone"
  49. mic.Locked = true
  50. mic.CanCollide=true
  51. mic.Size=Vector3.new(1,1,1)
  52. micw = Instance.new("Weld",mic)
  53. micw.Part0=mic
  54. micw.Part1=chr['Left Arm']
  55. micw.C0=CFrame.new(0,0,0)
  56. micw.C1=euler(rad(0),rad(0),rad(0))
  57. end
  58.  
  59.  
  60.  
  61.  
  62. Microphone()
  63.  
  64.  
  65. function Name(msg)
  66. if hat.Parent then
  67. pcall(function()
  68. local Gui = Instance.new('BillboardGui', hat)
  69. Gui.ExtentsOffset = Vector3.new(0,1.5,0)
  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. Gui.Name = "Fazbear Chat Gui"
  98. Gui.ExtentsOffset = Vector3.new(0,3,0)
  99. Gui.Size = UDim2.new(0,200,0,300)
  100. local Frame = Instance.new('Frame',Gui)
  101. Frame.BackgroundTransparency = 1
  102. Frame.Size = UDim2.new(1,0,1,0)
  103. local Txt = Instance.new('TextLabel',Frame)
  104. Txt.BackgroundTransparency = 1
  105. Txt.Size = UDim2.new(1,0,1,0)
  106. Txt.Font = 'ArialBold'
  107. Txt.Name = "ChatGui"
  108. Txt.FontSize = 'Size24'
  109. Txt.Text = ''
  110. Txt.TextColor3 = BrickColor.new("Brown").Color
  111. Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
  112. Txt.TextStrokeTransparency = .5
  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. hum.WalkSpeed=50
  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. elseif key == "l" then -- Plays a laugh
  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. es:Stop()
  259. es.Name = "Ded"
  260. wait()
  261. es:Destroy()
Add Comment
Please, Sign In to add comment