Advertisement
TheClassicMeme

sound test3

Jun 3rd, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.90 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})
  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("Really black")
  39. colors.TorsoColor = BrickColor.new("Really black")
  40. colors.LeftArmColor = BrickColor.new("Really black")
  41. colors.RightArmColor = BrickColor.new("Really black")
  42. colors.LeftLegColor = BrickColor.new("Really black")
  43. colors.RightLegColor = BrickColor.new("Really black")
  44.  
  45.  
  46. local face = chr.Head:FindFirstChild("face")
  47.  
  48. if face then
  49. face.Texture = "http://www.roblox.com/asset/?id=0"
  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. wait(1)
  71. for v = 1, #Txt.Text do
  72. Txt.Text=string.sub(msg,-1,v)
  73. wait(.05)
  74. end;
  75. Gui:remove()
  76. end)
  77. end)
  78. else
  79. end
  80. end
  81.  
  82.  
  83. local crouch = function()
  84. la.C1=euler(rad(-90),rad(0),rad(0))
  85. hd.C1=euler(rad(0),rad(-3),rad(10))
  86. micw.C1=euler(rad(0),rad(0),rad(0))
  87. micw.C0=CFrame.new(0,-1,0)
  88. la.C0=CFrame.new(1.5,-.5,-.5)
  89. end
  90.  
  91. local stand = function()
  92. la.C1=euler(rad(0),rad(0),rad(0))
  93. hd.C1=euler(rad(0),rad(0),rad(0))
  94. micw.C1=euler(rad(180),rad(0),rad(0))
  95. la.C0=CFrame.new(1.5,0,0)
  96. micw.C0=CFrame.new(0,-1,0)
  97. end
  98.  
  99. function PlaySound(id, pitch, looped)
  100. epicsound = Instance.new("Sound")
  101. epicsound.Name = "FazbearSound"
  102. epicsound.SoundId = "rbxassetid://"..id
  103. epicsound.Volume = 1
  104. epicsound.Pitch = pitch
  105. if looped == nil then
  106. looped = true
  107. else
  108. looped = looped
  109. end
  110. wait()
  111. epicsound.Looped = looped
  112. epicsound.Parent = workspace
  113. if epicsound.SoundId=="rbxassetid://tt" then -- TELL ME, TELL ME, WHERE DA FREAKS AT!
  114. epicsound.SoundId="rbxassetid://181158033"
  115. elseif epicsound.SoundId=="rbxassetid://fabulous" then -- FA-FA-FABULOUS!
  116. epicsound.SoundId="rbxassetid://191819419"
  117. elseif epicsound.SoundId=="rbxassetid://ufdb" then -- ultimate final death battle(fairy tail XD)
  118. epicsound.SoundId="rbxassetid://153085393"
  119. elseif epicsound.SoundId=="rbxassetid://nnm" then
  120. epicsound.SoundId="rbxassetid://210189234"
  121. elseif epicsound.SoundId=="rbxassetid://tun" then -- tunak tunak tun
  122. epicsound.SoundId="rbxassetid://162682002"
  123. elseif epicsound.SoundId=="rbxassetid://zelda" then
  124. epicsound.SoundId="rbxassetid://158215156"
  125. elseif epicsound.SoundId=="rbxassetid://cc" then
  126. epicsound.SoundId="rbxassetid://177080835"
  127. end
  128. es=epicsound:clone()
  129. es:Stop()
  130. es.Parent = chr.Torso
  131. wait()
  132. es:Play()
  133. end
  134.  
  135. hum.WalkSpeed=50
  136. hum.MaxHealth = math.huge
  137. hum.Health = math.huge
  138.  
  139.  
  140. lp.Chatted:connect(function(msg)
  141. Chat(msg)
  142. end)
  143.  
  144. goldie=true
  145. crouch()
  146.  
  147. function StopMusic()
  148. if chr.Torso:FindFirstChild("FazbearSound") then
  149. if chr.Torso.FazbearSound.ClassName == "Sound" then
  150. chr.Torso.FazbearSound:Stop()
  151. wait()
  152. chr.Torso.FazbearSound:Destroy()
  153. end
  154. end
  155. end
  156.  
  157. Name("Freddy Fazbear")
  158.  
  159.  
  160. mouse.KeyDown:connect(function(key)
  161. if key == "g" then
  162. if goldie==false then
  163. goldie=true
  164. crouch()
  165. elseif goldie==true then
  166. goldie=false
  167. stand()
  168. end
  169. elseif key == "c" then -- Plays a song
  170. StopMusic()
  171. PlaySound(153706538, 1, true)
  172. Chat("*Noticed")
  173. elseif key == "f" then -- Plays a song
  174. StopMusic()
  175. PlaySound(152828706, 1, true)
  176. Chat("...")
  177. elseif key == "t" then -- Plays a laugh
  178. StopMusic()
  179. PlaySound(688596285, 0.39, false)
  180. Chat("Cries*")
  181. elseif key == "e" then -- Plays a scream
  182. StopMusic()
  183. PlaySound(132476475, 1, false)
  184. Chat("...")
  185. elseif key == "q" then -- Stops any sound(s) playing from your torso
  186. StopMusic()
  187. Chat("...")
  188. end
  189. end)
  190.  
  191.  
  192.  
  193. hum.Died:connect(function()
  194. es.Pitch = 10
  195. wait()
  196. es:Pause()
  197. es:Stop()
  198. es.Name = "Ded"
  199. wait()
  200. es:Destroy()
  201. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement