Message
Message
LocalPlayer
local chr = lp.Character
local mouse = lp:GetMouse()
local euler = CFrame.fromEulerAnglesXYZ
local rad = math.rad
local trso = chr.Torso
if chr:FindFirstChild("Shirt") then
chr.Shirt:destroy()
end
if chr:FindFirstChild("Pants") then
chr.Pants:destroy()
end
colors.HeadColor = BrickColor.new("Brown")
colors.TorsoColor = BrickColor.new("Brown")
colors.LeftArmColor = BrickColor.new("Brown")
colors.RightArmColor = BrickColor.new("Brown")
colors.LeftLegColor = BrickColor.new("Brown")
colors.RightLegColor = BrickColor.new("Brown")
if face then
face.Texture = "http://www.roblox.com/asset/?id=187990139"
end
Hat=function()
hat = Instance.new("Part", chr)
CreateMesh(hat, 1028713, 1, 1, 1)
hat.Name = "Top hat"
hat.Locked = true
hat.BrickColor = BrickColor.new("Really black")
hat.CanCollide=true
hat.Size=Vector3.new(1,1,1)
hatw = Instance.new("Weld",hat)
hatw.Part0=hat
hatw.Part1=chr['Head']
hatw.C0=CFrame.new(0,-0.7,0)
hatw.C1=euler(rad(0),rad(0),rad(0))
end
Hat()
function Chat(msg)
if hat.Parent then
pcall(function()
if hat:FindFirstChild("Golden Chat Gui") then
hat['Golden Chat Gui']:destroy()
end
local Gui = Instance.new('BillboardGui',hat)
Gui.Name = "Golden Chat Gui"
Gui.ExtentsOffset = Vector3.new(0,3,0)
Gui.Size = UDim2.new(0,200,0,300)
local Frame = Instance.new('Frame',Gui)
Frame.BackgroundTransparency = 1
Frame.Size = UDim2.new(1,0,1,0)
local Txt = Instance.new('TextLabel',Frame)
Txt.BackgroundTransparency = 1
Txt.Size = UDim2.new(1,0,1,0)
Txt.Font = 'ArialBold'
Txt.Name = "ChatGui"
Txt.FontSize = 'Size24'
Txt.Text = ''
Txt.TextColor3 = BrickColor.new("Reddish brown").Color
Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
Txt.TextStrokeTransparency = .5
Txt.TextWrapped = true
Txt.TextScaled = false
delay(wait(),function()
for v = 1, #msg do
Txt.Text=string.sub(msg,1,v)
wait(.07)
end;
wait(1)
Gui:remove()
end)
end)
else
end
end
function Name(msg)
if hat.Parent then
pcall(function()
local Gui = Instance.new('BillboardGui',hat)
Gui.ExtentsOffset = Vector3.new(0,1.5,0)
Gui.Size = UDim2.new(0,200,0,300)
local Frame = Instance.new('Frame',Gui)
Frame.BackgroundTransparency = 1
Frame.Size = UDim2.new(1,0,1,0)
local Txt = Instance.new('TextLabel',Frame)
Txt.BackgroundTransparency = 1
Txt.Size = UDim2.new(1,0,1,0)
Txt.Font = 'ArialBold'
Txt.FontSize = 'Size24'
Txt.Text = msg
Txt.TextColor3 = BrickColor.new("Reddish brown").Color
Txt.TextStrokeColor3 = Color3.new(0/255,0/255,0/255)
Txt.TextStrokeTransparency = .5
Txt.TextWrapped = true
Txt.TextScaled = false
end)
else
end
end
hum.WalkSpeed=50
hum.MaxHealth = math.huge
hum.Health = math.huge
lp.Chatted:connect(function(msg)
Chat(msg)
end)
goldie=true
function StopMusic()
out=false
for _,v in next,chr:children() do
if v.ClassName == "Sound" then
v.Volume=1
v.Pitch=10
v:Stop()
wait()
v.Volume=0
v:Stop()
wait()
v:Destroy()
end
end
end
Name("Freddy Fazbear")
local out=false
mouse.KeyDown:connect(function(key)
if key == "r" then -- Plays a song
StopMusic()
PlaySound(203654824, 1, true)
Chat("Now Playing: The Show Must Go On - FNAF | 203654824")
elseif key == "f" then -- Plays a song
StopMusic()
PlaySound(192187815, 1, true)
Chat("Now Playing: Fnaf 2: It's Been so Long | 192187815")
elseif key == 't' then
out=not out
if out==true then
Chat('The power is out!')
PlaySound(177966054, 1, true)
else
StopMusic()
end
elseif key == "l" then -- Plays a laugh
StopMusic()
PlaySound(179678714, 0.39, false)
Chat("*laugh*")
elseif key == "v" then -- Plays a scream
StopMusic()
PlaySound(193107910, 1, false)
Chat("*screams*")
elseif key == "q" then -- Stops any sound(s) playing from your torso
StopMusic()
Chat("All sounds stopped!")
end
end)
hum.Died:connect(function()
StopMusic()
end)
while wait() do
if out then
game:service'Lighting'.TimeOfDay = '00:00:00'
game:service'Lighting'.Ambient=Color3.new(0,0,0)
game:service'Lighting'.Brightness=-6
end
end