Advertisement
ShadowTheSonicMetal1

Funtime Freddy script [Re edied Freddy Fazbear]

Feb 8th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.86 KB | None | 0 0
  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, 304026639, 732164703})
  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("Lily white")
  39. colors.TorsoColor = BrickColor.new("Lily white")
  40. colors.LeftArmColor = BrickColor.new("Lily white)
  41. colors.RightArmColor = BrickColor.new("Lily white")
  42. colors.LeftLegColor = BrickColor.new("Lily white)
  43. colors.RightLegColor = BrickColor.new("Lily white")
  44.  
  45.  
  46. local face = chr.Head:FindFirstChild("face")
  47.  
  48. if face then
  49. face.Texture = "http://www.roblox.com/asset/?id=379091983"
  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.  
  63. local hd = Instance.new("Weld",chr.Head)
  64. hd.Part0=chr.Head
  65. hd.Part1=chr.Torso
  66. hd.C0=CFrame.new(0,-1.5,0)
  67.  
  68.  
  69. hum = chr.Humanoid
  70.  
  71.  
  72.  
  73. function CreateMesh(parent, id, x, y, z, texture)
  74. local m=Instance.new("SpecialMesh", parent)
  75. m.MeshType = "FileMesh"
  76. m.MeshId="http://www.roblox.com/asset/?id="..id
  77. if texture ~= nil then
  78. m.TextureId="http://www.roblox.com/asset/?id="..texture
  79. end
  80. m.Scale = Vector3.new(x,y,z)
  81. end
  82.  
  83. Microphone=function()
  84. mic = Instance.new("Part", chr)
  85. CreateMesh(mic, 43996479, 0.3, 0.3, 0.3, 43997070)
  86. mic.Name = "Microphone"
  87. mic.Locked = true
  88. mic.CanCollide=true
  89. mic.Size=Vector3.new(1,1,1)
  90. micw = Instance.new("Weld",mic)
  91. micw.Part0=mic
  92. micw.Part1=chr['Left Arm']
  93. micw.C0=CFrame.new(0,0,0)
  94. micw.C1=euler(rad(0),rad(0),rad(0))
  95. end
  96.  
  97. Hat=function()
  98. hat = Instance.new("Part", chr)
  99. CreateMesh(hat, 1028713, 1, 1, 1)
  100. hat.Name = "Top hat"
  101. hat.Locked = true
  102. hat.BrickColor = BrickColor.new("Really black")
  103. hat.CanCollide=true
  104. hat.Size=Vector3.new(1,1,1)
  105. hatw = Instance.new("Weld",hat)
  106. hatw.Part0=hat
  107. hatw.Part1=chr['Head']
  108. hatw.C0=CFrame.new(0,-0.7,0)
  109. hatw.C1=euler(rad(0),rad(0),rad(0))
  110. end
  111.  
  112. Hat()
  113. Microphone()
  114.  
  115.  
  116. function Name(msg)
  117. if hat.Parent then
  118. pcall(function()
  119. local Gui = Instance.new('BillboardGui', hat)
  120. Gui.ExtentsOffset = Vector3.new(0,1.5,0)
  121. Gui.Size = UDim2.new(0,200,0,300)
  122. local Frame = Instance.new('Frame',Gui)
  123. Frame.BackgroundTransparency = 1
  124. Frame.Size = UDim2.new(1,0,1,0)
  125. local Txt = Instance.new('TextLabel',Frame)
  126. Txt.BackgroundTransparency = 1
  127. Txt.Size = UDim2.new(1,0,1,0)
  128. Txt.Font = 'ArialBold'
  129. Txt.FontSize = 'Size24'
  130. Txt.Text = msg
  131. Txt.TextColor3 = BrickColor.new("Lily white").Color
  132. Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
  133. Txt.TextStrokeTransparency = .5
  134. Txt.TextWrapped = true
  135. Txt.TextScaled = false
  136. end)
  137. else
  138. end
  139. end
  140.  
  141. function Chat(msg) -- Credit to jillmiles1, kthxbye
  142. if hat.Parent then
  143. pcall(function()
  144. if hat:FindFirstChild("Fazbear Chat Gui") then
  145. hat['Fazbear Chat Gui']:destroy()
  146. end
  147. local Gui = Instance.new('BillboardGui', hat)
  148. Gui.Name = "Fazbear Chat Gui"
  149. Gui.ExtentsOffset = Vector3.new(0,3,0)
  150. Gui.Size = UDim2.new(0,200,0,300)
  151. local Frame = Instance.new('Frame',Gui)
  152. Frame.BackgroundTransparency = 1
  153. Frame.Size = UDim2.new(1,0,1,0)
  154. local Txt = Instance.new('TextLabel',Frame)
  155. Txt.BackgroundTransparency = 1
  156. Txt.Size = UDim2.new(1,0,1,0)
  157. Txt.Font = 'ArialBold'
  158. Txt.Name = "ChatGui"
  159. Txt.FontSize = 'Size24'
  160. Txt.Text = ''
  161. Txt.TextColor3 = BrickColor.new("Lily white").Color
  162. Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
  163. Txt.TextStrokeTransparency = .5
  164. Txt.TextWrapped = true
  165. Txt.TextScaled = false
  166. delay(wait(),function()
  167. for v = 1, #msg do
  168. Txt.Text=string.sub(msg,1,v)
  169. wait(.07)
  170. end;
  171. wait(1)
  172. for v = 1, #Txt.Text do
  173. Txt.Text=string.sub(msg,-1,v)
  174. wait(.05)
  175. end;
  176. Gui:remove()
  177. end)
  178. end)
  179. else
  180. end
  181. end
  182.  
  183.  
  184. local crouch = function()
  185. la.C1=euler(rad(-90),rad(0),rad(0))
  186. hd.C1=euler(rad(0),rad(-3),rad(10))
  187. micw.C1=euler(rad(0),rad(0),rad(0))
  188. micw.C0=CFrame.new(0,-1,0)
  189. la.C0=CFrame.new(1.5,-.5,-.5)
  190. end
  191.  
  192. local stand = function()
  193. la.C1=euler(rad(0),rad(0),rad(0))
  194. hd.C1=euler(rad(0),rad(0),rad(0))
  195. micw.C1=euler(rad(180),rad(0),rad(0))
  196. la.C0=CFrame.new(1.5,0,0)
  197. micw.C0=CFrame.new(0,-1,0)
  198. end
  199.  
  200. function PlaySound(id, pitch, looped)
  201. epicsound = Instance.new("Sound")
  202. epicsound.Name = "FazbearSound"
  203. epicsound.SoundId = "rbxassetid://"..id
  204. epicsound.Volume = 1
  205. epicsound.Pitch = pitch
  206. if looped == nil then
  207. looped = true
  208. else
  209. looped = looped
  210. end
  211. wait()
  212. epicsound.Looped = looped
  213. epicsound.Parent = workspace
  214. if epicsound.SoundId=="rbxassetid://tt" then -- TELL ME, TELL ME, WHERE DA FREAKS AT!
  215. epicsound.SoundId="rbxassetid://181158033"
  216. elseif epicsound.SoundId=="rbxassetid://fabulous" then -- FA-FA-FABULOUS!
  217. epicsound.SoundId="rbxassetid://191819419"
  218. elseif epicsound.SoundId=="rbxassetid://ufdb" then -- ultimate final death battle(fairy tail XD)
  219. epicsound.SoundId="rbxassetid://153085393"
  220. elseif epicsound.SoundId=="rbxassetid://nnm" then
  221. epicsound.SoundId="rbxassetid://210189234"
  222. elseif epicsound.SoundId=="rbxassetid://tun" then -- tunak tunak tun
  223. epicsound.SoundId="rbxassetid://162682002"
  224. elseif epicsound.SoundId=="rbxassetid://zelda" then
  225. epicsound.SoundId="rbxassetid://158215156"
  226. elseif epicsound.SoundId=="rbxassetid://cc" then
  227. epicsound.SoundId="rbxassetid://177080835"
  228. end
  229. es=epicsound:clone()
  230. es:Stop()
  231. es.Parent = chr.Torso
  232. wait()
  233. es:Play()
  234. end
  235.  
  236. hum.WalkSpeed=50
  237. hum.MaxHealth = math.huge
  238. hum.Health = math.huge
  239.  
  240.  
  241. lp.Chatted:connect(function(msg)
  242. Chat(msg)
  243. end)
  244.  
  245. goldie=true
  246. crouch()
  247.  
  248. function StopMusic()
  249. if chr.Torso:FindFirstChild("FazbearSound") then
  250. if chr.Torso.FazbearSound.ClassName == "Sound" then
  251. chr.Torso.FazbearSound:Stop()
  252. wait()
  253. chr.Torso.FazbearSound:Destroy()
  254. end
  255. end
  256. end
  257.  
  258. Name("Freddy Fazbear")
  259.  
  260.  
  261. mouse.KeyDown:connect(function(key)
  262. if key == "g" then
  263. if goldie==false then
  264. goldie=true
  265. crouch()
  266. elseif goldie==true then
  267. goldie=false
  268. stand()
  269. end
  270. elseif key == "r" then -- Plays a song
  271. StopMusic()
  272. PlaySound(732164703, 1, true)
  273. Chat("Now Playing: Join us for bite! | 732164703")
  274. elseif key == "f" then -- Plays a song
  275. StopMusic()
  276. PlaySound(304026639, 1, true)
  277. Chat("Now Playing: Fnaf 2: FNAF 2 RAP [2018] | 304026639")
  278. elseif key == "l" then -- Plays a laugh
  279. StopMusic()
  280. PlaySound(179678714, 0.39, false)
  281. Chat("*laugh*")
  282. elseif key == "v" then -- Plays a scream
  283. StopMusic()
  284. PlaySound(193107910, 1, false)
  285. Chat("*screams*")
  286. elseif key == "q" then -- Stops any sound(s) playing from your torso
  287. StopMusic()
  288. Chat("All sounds stopped!")
  289. end
  290. end)
  291.  
  292.  
  293.  
  294. hum.Died:connect(function()
  295. es.Pitch = 10
  296. wait()
  297. es:Pause()
  298. es:Stop()
  299. es.Name = "Ded"
  300. wait()
  301. es:Destroy()
  302. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement