Advertisement
memberhero

Golden Freddy

Nov 22nd, 2017
1,879
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.11 KB | None | 0 0
  1. --golden freddy by basstracker1970
  2.  
  3. --Converted with ttyyuu12345's model to script plugin v4
  4. wait(1)
  5. function sandbox(var,func)
  6. local env = getfenv(func)
  7. local newenv = setmetatable({},{
  8. __index = function(self,k)
  9. if k=="script" then
  10. return var
  11. else
  12. return env[k]
  13. end
  14. end,
  15. })
  16. setfenv(func,newenv)
  17. return func
  18. end
  19. cors = {}
  20. mas = Instance.new("Model",game:GetService("Lighting"))
  21. Tool0 = Instance.new("Tool")
  22. Script1 = Instance.new("Script")
  23. LocalScript2 = Instance.new("LocalScript")
  24. RemoteEvent3 = Instance.new("RemoteEvent")
  25. Part4 = Instance.new("Part")
  26. SpecialMesh5 = Instance.new("SpecialMesh")
  27. Tool0.Name = "Golden Freddy Microphone"
  28. Tool0.Parent = mas
  29. Tool0.GripForward = Vector3.new(-0, 1, -0)
  30. Tool0.GripPos = Vector3.new(0, 0.25, -0.400000006)
  31. Tool0.GripUp = Vector3.new(0, 0, 0.99999994)
  32. Script1.Parent = Tool0
  33. table.insert(cors,sandbox(Script1,function()
  34. script.Parent.Chat.OnServerEvent:connect(function(plr, msg)
  35. local chatmsg = plr.Name .. ": " .. msg
  36. for i,v in pairs(game.Players:GetChildren()) do
  37. local gui = Instance.new("ScreenGui")
  38. local textObject = Instance.new("TextLabel", gui)
  39. textObject.Text = game:GetService("Chat"):FilterStringAsync(chatmsg, plr, v)
  40. textObject.Size = UDim2.new(1,0,1,0)
  41. textObject.BackgroundColor3 = Color3.new(0,0,0)
  42. textObject.BackgroundTransparency = 0.5
  43. textObject.TextColor3 = Color3.new(1,1,1)
  44. textObject.FontSize = Enum.FontSize.Size24
  45. textObject.TextWrapped = true
  46. gui.Parent = v.PlayerGui
  47. game:GetService("Debris"):AddItem(gui, string.len(chatmsg) / 10)
  48. end
  49. end)
  50. end))
  51. LocalScript2.Parent = Tool0
  52. table.insert(cors,sandbox(LocalScript2,function()
  53. local chat
  54.  
  55. script.Parent.Equipped:connect(function()
  56. chat = game.Players.LocalPlayer.Chatted:connect(function(msg)
  57. script.Parent.Chat:FireServer(msg)
  58. end)
  59. end)
  60.  
  61. script.Parent.Unequipped:connect(function()
  62. chat:Disconnect()
  63. end)
  64. end))
  65. RemoteEvent3.Name = "Chat"
  66. RemoteEvent3.Parent = Tool0
  67. Part4.Name = "Handle"
  68. Part4.Parent = Tool0
  69. Part4.Material = Enum.Material.SmoothPlastic
  70. Part4.BrickColor = BrickColor.new("Bright bluish green")
  71. Part4.Rotation = Vector3.new(-91.1100006, 0, 0)
  72. Part4.CanCollide = false
  73. Part4.Locked = true
  74. Part4.FormFactor = Enum.FormFactor.Custom
  75. Part4.Size = Vector3.new(0.369999617, 0.360000402, 1.36999965)
  76. Part4.CFrame = CFrame.new(3.73000002, 1.68839395, -177.85379, 1, 1.90295989e-15, 1.47965797e-14, -1.47568301e-14, -0.0194224585, 0.999811292, 2.18998717e-15, -0.999811351, -0.0194224566)
  77. Part4.Color = Color3.new(0, 0.560784, 0.611765)
  78. Part4.Position = Vector3.new(3.73000002, 1.68839395, -177.85379)
  79. Part4.Orientation = Vector3.new(-88.8899994, 180, -180)
  80. Part4.Color = Color3.new(0, 0.560784, 0.611765)
  81. SpecialMesh5.Parent = Part4
  82. SpecialMesh5.MeshId = "http://www.roblox.com/asset/?id=43996479"
  83. SpecialMesh5.Scale = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  84. SpecialMesh5.TextureId = "http://www.roblox.com/asset/?id=43997070"
  85. SpecialMesh5.MeshType = Enum.MeshType.FileMesh
  86. SpecialMesh5.Scale = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  87. for i,v in pairs(mas:GetChildren()) do
  88. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  89. pcall(function() v:MakeJoints() end)
  90. end
  91. mas:Destroy()
  92. for i,v in pairs(cors) do
  93. spawn(function()
  94. pcall(v)
  95. end)
  96. end
  97.  
  98. wait(1)
  99. Player = game:GetService("Players").LocalPlayer
  100. Character = Player.Character
  101. Mouse = Player:GetMouse()
  102. Player.Character.Humanoid.Health = math.huge
  103. Player.Character.Humanoid.MaxHealth = math.huge
  104. Player.Character.Head.face.Texture = "rbxassetid://185218622"
  105. Player.Character.Shirt.ShirtTemplate = "rbxassetid://798725808"
  106. Player.Character.Pants.PantsTemplate = "rbxassetid://798725808"
  107. Mouse.KeyDown:connect(function(key)
  108. Mouse = key:lower()
  109. if key == "z" then
  110. sound = Instance.new("Sound")
  111. sound.Name = "Laugh"
  112. sound.SoundId = "rbxassetid://176248551"
  113. sound.Parent = game.Workspace
  114. sound:Play()
  115. end
  116. end)
  117. Mouse.KeyDown:connect(function(key)
  118. if key == "x" then
  119. sound = Instance.new("Sound")
  120. sound.Name = "Scream"
  121. sound.SoundId = "rbxassetid://268116333"
  122. sound.Parent = game.Workspace
  123. sound:Play()
  124. end
  125. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement