Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Chat2 = function(Msg)
- if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
- --local tar = LocalPlayer.Character and LocalPlayer.Character:findFirstChild("Head") or Probe
- local Part = Instance.new("Part",LocalPlayer.Character)
- --local Part = Instance.new("Part",tar)
- Part.CanCollide = false
- Part.Transparency = 1
- Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
- Part:BreakJoints()
- local Pos = Instance.new("BodyPosition",Part)
- Pos.maxForce = Vector3.new(1/0,1/0,1/0)
- Pos.position = LocalPlayer.Character.Head.Position
- local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
- BBG.Adornee = Part
- --BBG.Size = UDim2.new(0,20*#Msg,0,30)
- BBG.Size = UDim2.new(1, 0, 1, 0)
- BBG.StudsOffset = Vector3.new(0,3,0)
- local Frame = Instance.new("Frame",BBG)
- Frame.Size = UDim2.new(1, 0, 1, 0)
- Frame.BackgroundTransparency = 1
- local Txt = Instance.new("TextLabel")
- Txt.Parent = Frame
- Txt.Text = Msg
- Txt.Size = UDim2.new(1,0,1,0)
- Txt.FontSize = "Size36"
- --Txt.TextColor3 = Color3.new(1,1,1)
- Txt.Font = 'ArialBold'
- Txt.TextStrokeTransparency = 0
- Txt.BackgroundTransparency = 1
- Txt.TextColor3 = Color3.new(2/3,2/3,2/3)
- wait()
- -- coroutine.wrap(function() while Txt.Parent ~= nil do for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end for i = 1, 0, -0.1 do text.TextColor3 = Color3.new(i,0,i) wait() end wait() end end)()
- Txt.BackgroundColor3 = Color3.new(0,0,0)
- --Txt.Size = UDim2.new(1,0,1,0)
- if #Msg < 50 then
- for i=1,#Msg do
- Txt.Text = Txt.Text .. Msg:sub(i,i)
- wait(0.09)
- end
- else
- Txt.Text = Msg
- if chattabs then
- Output(Msg,{Colors.Red},Localplayer)
- end
- end
- coroutine.wrap(function()
- for i=3,100 do
- BBG.StudsOffset = Vector3.new(0,i/10,0)
- Pos.position = LocalPlayer.Character.Head.Position
- Txt.TextTransparency = i / 100
- Txt.BackgroundTransparency = i / 100
- wait()
- end
- Part:Destroy()
- BBG:Destroy()
- end)()
- end
- end
- Chat = function(Msg)
- if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
- --local tar = LocalPlayer.Character and LocalPlayer.Character:findFirstChild("Head") or Probe
- local Part = Instance.new("Part",LocalPlayer.Character)
- --local Part = Instance.new("Part",tar)
- if chattabs then
- Output(Msg,{Colors.White},Localplayer)
- end
- Part.CanCollide = false
- Part.Transparency = 1
- Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
- Part:BreakJoints()
- local Pos = Instance.new("BodyPosition",Part)
- Pos.maxForce = Vector3.new(1/0,1/0,1/0)
- Pos.position = LocalPlayer.Character.Head.Position
- local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
- BBG.Adornee = Part
- --BBG.Size = UDim2.new(0,20*#Msg,0,30)
- BBG.Size = UDim2.new(1, 0, 1, 0)
- BBG.StudsOffset = Vector3.new(0,3,0)
- local Frame = Instance.new("Frame",BBG)
- Frame.Size = UDim2.new(1, 0, 1, 0)
- Frame.BackgroundTransparency = 1
- local Txt = Instance.new("TextLabel")
- Txt.Parent = Frame
- Txt.Text = Msg
- Txt.Size = UDim2.new(1,0,1,0)
- Txt.FontSize = "Size36"
- --Txt.TextColor3 = Color3.new(1,1,1)
- Txt.Font = 'ArialBold'
- Txt.TextStrokeTransparency = 0
- Txt.BackgroundTransparency = 1
- Txt.TextColor3 = Color3.new(2/3,2/3,2/3)
- wait()
- --coroutine.wrap(function() while Txt.Parent ~= nil do for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end for i = 1, 0, -0.1 do text.TextColor3 = Color3.new(i,0,i) wait() end wait() end end)()
- Txt.BackgroundColor3 = Color3.new(0,0,0)
- --Txt.Size = UDim2.new(1,0,1,0)
- coroutine.wrap(function()
- for i=3,100 do
- BBG.StudsOffset = Vector3.new(0,i/10,0)
- Pos.position = LocalPlayer.Character.Head.Position
- Txt.TextTransparency = i / 100
- --Txt.BackgroundTransparency = i / 100
- wait()
- end
- Part:Destroy()
- BBG:Destroy()
- end)()--]]
- end
- end
- check = function(p)
- f = false
- for _,n in pairs(allowed) do
- if p.Name == n then f = true end
- end
- return f
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement