DarkLord732

FreedyFazBear

Mar 21st, 2016
1,167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.81 KB | None | 0 0
  1.  
  2. local lp = game.Players.LocalPlayer
  3. local chr = lp.Character
  4. local mouse = lp:GetMouse()
  5. local euler = CFrame.fromEulerAnglesXYZ
  6. local rad = math.rad
  7. local trso = chr.Torso
  8.  
  9. local ContentProvider = Game:GetService("ContentProvider")
  10.  
  11. local function LoadAssets(AssetList)
  12. -- Takes an asset list and preloads it. Will not wait for them to load.
  13.  
  14. for _, AssetId in pairs(AssetList) do
  15. ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId)
  16. end
  17. end
  18.  
  19. LoadAssets({198126365, 203654824, 192187815, 179678714, 193107910, 187990139})
  20.  
  21.  
  22.  
  23.  
  24. if chr:FindFirstChild("Shirt") then
  25. chr.Shirt:destroy()
  26. end
  27.  
  28. if chr:FindFirstChild("Pants") then
  29. chr.Pants:destroy()
  30. end
  31.  
  32. colors = chr['Body Colors']
  33.  
  34. colors.HeadColor = BrickColor.new("Brown")
  35. colors.TorsoColor = BrickColor.new("Brown")
  36. colors.LeftArmColor = BrickColor.new("Brown")
  37. colors.RightArmColor = BrickColor.new("Brown")
  38. colors.LeftLegColor = BrickColor.new("Brown")
  39. colors.RightLegColor = BrickColor.new("Brown")
  40.  
  41.  
  42.  
  43. local face = chr.Head:FindFirstChild("face")
  44.  
  45. if face then
  46. face.Texture = "http://www.roblox.com/asset/?id=187990139"
  47. end
  48.  
  49. for i,v in pairs(chr:children()) do
  50. if v.ClassName == "Hat" then
  51. print(v.Name.." has been removed, #baldforbieber")
  52. v:destroy()
  53. end
  54. end
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61. hum = chr.Humanoid
  62.  
  63. function CreateMesh(parent, id, x, y, z, texture)
  64. local m=Instance.new("SpecialMesh", parent)
  65. m.MeshType = "FileMesh"
  66. m.MeshId="http://www.roblox.com/asset/?id="..id
  67. if texture ~= nil then
  68. m.TextureId="http://www.roblox.com/asset/?id="..texture
  69. end
  70. m.Scale = Vector3.new(x,y,z)
  71. end
  72.  
  73.  
  74.  
  75. Hat=function()
  76. hat = Instance.new("Part", chr)
  77. CreateMesh(hat, 1028713, 1, 1, 1)
  78. hat.Name = "Top hat"
  79. hat.Locked = true
  80. hat.BrickColor = BrickColor.new("Really black")
  81. hat.CanCollide=true
  82. hat.Size=Vector3.new(1,1,1)
  83. hatw = Instance.new("Weld",hat)
  84. hatw.Part0=hat
  85. hatw.Part1=chr['Head']
  86. hatw.C0=CFrame.new(0,-0.7,0)
  87. hatw.C1=euler(rad(0),rad(0),rad(0))
  88. end
  89.  
  90. Hat()
  91.  
  92. function Chat(msg)
  93. if hat.Parent then
  94. pcall(function()
  95. if hat:FindFirstChild("Golden Chat Gui") then
  96. hat['Golden Chat Gui']:destroy()
  97. end
  98. local Gui = Instance.new('BillboardGui',hat)
  99. Gui.Name = "Golden Chat Gui"
  100. Gui.ExtentsOffset = Vector3.new(0,3,0)
  101. Gui.Size = UDim2.new(0,200,0,300)
  102. local Frame = Instance.new('Frame',Gui)
  103. Frame.BackgroundTransparency = 1
  104. Frame.Size = UDim2.new(1,0,1,0)
  105. local Txt = Instance.new('TextLabel',Frame)
  106. Txt.BackgroundTransparency = 1
  107. Txt.Size = UDim2.new(1,0,1,0)
  108. Txt.Font = 'ArialBold'
  109. Txt.Name = "ChatGui"
  110. Txt.FontSize = 'Size24'
  111. Txt.Text = ''
  112. Txt.TextColor3 = BrickColor.new("Reddish brown").Color
  113. Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
  114. Txt.TextStrokeTransparency = .5
  115. Txt.TextWrapped = true
  116. Txt.TextScaled = false
  117. delay(wait(),function()
  118. for v = 1, #msg do
  119. Txt.Text=string.sub(msg,1,v)
  120. wait(.07)
  121. end;
  122. wait(1)
  123. Gui:remove()
  124. end)
  125. end)
  126. else
  127. end
  128. end
  129.  
  130. function Name(msg)
  131. if hat.Parent then
  132. pcall(function()
  133. local Gui = Instance.new('BillboardGui',hat)
  134. Gui.ExtentsOffset = Vector3.new(0,1.5,0)
  135. Gui.Size = UDim2.new(0,200,0,300)
  136. local Frame = Instance.new('Frame',Gui)
  137. Frame.BackgroundTransparency = 1
  138. Frame.Size = UDim2.new(1,0,1,0)
  139. local Txt = Instance.new('TextLabel',Frame)
  140. Txt.BackgroundTransparency = 1
  141. Txt.Size = UDim2.new(1,0,1,0)
  142. Txt.Font = 'ArialBold'
  143. Txt.FontSize = 'Size24'
  144. Txt.Text = msg
  145. Txt.TextColor3 = BrickColor.new("Reddish brown").Color
  146. Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
  147. Txt.TextStrokeTransparency = .5
  148. Txt.TextWrapped = true
  149. Txt.TextScaled = false
  150. end)
  151. else
  152. end
  153. end
  154.  
  155. function PlaySound(id, pitch, looped)
  156. epicsound = Instance.new("Sound")
  157. epicsound.Name = "GoldenSound"
  158. epicsound.SoundId = "rbxassetid://"..id
  159. epicsound.Volume = 1
  160. epicsound.Pitch = pitch
  161. if looped == nil then
  162. looped = true
  163. else
  164. looped = looped
  165. end
  166. wait()
  167. epicsound.Looped = looped
  168. epicsound.Parent = workspace
  169. if epicsound.SoundId=="rbxassetid://tt" then -- TELL ME, TELL ME, WHERE DA FREAKS AT!
  170. epicsound.SoundId="rbxassetid://181158033"
  171. elseif epicsound.SoundId=="rbxassetid://fabulous" then -- FA-FA-FABULOUS!
  172. epicsound.SoundId="rbxassetid://191819419"
  173. elseif epicsound.SoundId=="rbxassetid://ufdb" then -- ultimate final death battle(fairy tail XD)
  174. epicsound.SoundId="rbxassetid://153085393"
  175. elseif epicsound.SoundId=="rbxassetid://nnm" then
  176. epicsound.SoundId="rbxassetid://210189234"
  177. elseif epicsound.SoundId=="rbxassetid://tun" then -- tunak tunak tun
  178. epicsound.SoundId="rbxassetid://162682002"
  179. elseif epicsound.SoundId=="rbxassetid://zelda" then
  180. epicsound.SoundId="rbxassetid://158215156"
  181. elseif epicsound.SoundId=="rbxassetid://cc" then
  182. epicsound.SoundId="rbxassetid://177080835"
  183. end
  184. es=epicsound:clone()
  185. es:Stop()
  186. es.Parent = chr
  187. wait()
  188. es:Play()
  189. end
  190.  
  191. hum.WalkSpeed=50
  192. hum.MaxHealth = math.huge
  193. hum.Health = math.huge
  194.  
  195.  
  196. lp.Chatted:connect(function(msg)
  197. Chat(msg)
  198. end)
  199.  
  200. goldie=true
  201.  
  202. function StopMusic()
  203. out=false
  204. for _,v in next,chr:children() do
  205. if v.ClassName == "Sound" then
  206. v.Volume=1
  207. v.Pitch=10
  208. v:Stop()
  209. wait()
  210. v.Volume=0
  211. v:Stop()
  212. wait()
  213. v:Destroy()
  214. end
  215. end
  216. end
  217.  
  218. Name("Freddy Fazbear")
  219.  
  220. local out=false
  221. mouse.KeyDown:connect(function(key)
  222. if key == "r" then -- Plays a song
  223. StopMusic()
  224. PlaySound(203654824, 1, true)
  225. Chat("Now Playing: The Show Must Go On - FNAF | 203654824")
  226. elseif key == "f" then -- Plays a song
  227. StopMusic()
  228. PlaySound(192187815, 1, true)
  229. Chat("Now Playing: Fnaf 2: It's Been so Long | 192187815")
  230. elseif key == 't' then
  231. out=not out
  232. if out==true then
  233. Chat('The power is out!')
  234. PlaySound(177966054, 1, true)
  235. else
  236. StopMusic()
  237. end
  238. elseif key == "l" then -- Plays a laugh
  239. StopMusic()
  240. PlaySound(179678714, 0.39, false)
  241. Chat("*laugh*")
  242. elseif key == "v" then -- Plays a scream
  243. StopMusic()
  244. PlaySound(193107910, 1, false)
  245. Chat("*screams*")
  246. elseif key == "q" then -- Stops any sound(s) playing from your torso
  247. StopMusic()
  248. Chat("All sounds stopped!")
  249. end
  250. end)
  251.  
  252.  
  253. hum.Died:connect(function()
  254. StopMusic()
  255. end)
  256.  
  257. while wait() do
  258. if out then
  259. game:service'Lighting'.TimeOfDay = '00:00:00'
  260. game:service'Lighting'.Ambient=Color3.new(0,0,0)
  261. game:service'Lighting'.Brightness=-6
  262. end
  263. end
Add Comment
Please, Sign In to add comment