local _0x1=game:GetService("Players").LocalPlayer;local _0x2=game:GetService("CoreGui");local _0x3=game:GetService("RunService");local _0x4=game:GetService("ReplicatedStorage");local _0x5=_0x4:FindFirstChild("\79\114\101\119\97\105\115\67\111\109\109")or Instance.new("\82\101\109\111\116\101\69\118\101\110\116",_0x4);_0x5.Name="\79\114\101\119\97\105\115\67\111\109\109";if _0x2:FindFirstChild("\79\82\69\87\65\95\72\85\66")then _0x2:FindFirstChild("\79\82\69\87\65\95\72\85\66"):Destroy()end;local _0x6=Instance.new("ScreenGui",_0x2);_0x6.Name="\79\82\69\87\65\95\72\85\66";local _0x7=Instance.new("TextButton",_0x6);_0x7.Size=UDim2.new(0,25,0,120);_0x7.Position=UDim2.new(0,5,0.5,-60);_0x7.BackgroundColor3=Color3.fromRGB(30,30,30);_0x7.Text="\79\10\82\10\69\10\87\10\65";_0x7.TextColor3=Color3.new(1,1,1);_0x7.Font="GothamBold";_0x7.TextSize=14;Instance.new("UICorner",_0x7).CornerRadius=UDim.new(0,4);local _0x8=Instance.new("Frame",_0x6);_0x8.Size=UDim2.new(0,400,0,320);_0x8.Position=UDim2.new(0.5,-200,0.4,-160);_0x8.BackgroundColor3=Color3.fromRGB(45,45,45);_0x8.BackgroundTransparency=0.15;Instance.new("UICorner",_0x8);local _0x9=Instance.new("ScrollingFrame",_0x8);_0x9.Size=UDim2.new(1,-20,1,-95);_0x9.Position=UDim2.new(0,10,0,45);_0x9.BackgroundTransparency=1;_0x9.CanvasSize=UDim2.new(0,0,0,0);local _0xA=Instance.new("UIListLayout",_0x9);_0xA.SortOrder=Enum.SortOrder.LayoutOrder;local _0xB=Instance.new("TextBox",_0x8);_0xB.Size=UDim2.new(1,-20,0,40);_0xB.Position=UDim2.new(0,10,1,-50);_0xB.PlaceholderText="Click Here To Chat...";_0xB.Text="";_0xB.BackgroundColor3=Color3.fromRGB(25,25,25);_0xB.TextColor3=Color3.new(1,1,1);local function _0xC(s,m,sys,cr)local l=Instance.new("TextLabel",_0x9);l.Size=UDim2.new(1,0,0,25);l.BackgroundTransparency=1;l.TextColor3=Color3.new(1,1,1);l.RichText=true;l.TextXAlignment="Left";if sys then l.Text="[SYSTEM]: "..m elseif cr then task.spawn(function()while l.Parent do for i=0,1,0.02 do local c=Color3.fromHSV(i,1,1)local r,g,b=math.floor(c.R*255),math.floor(c.G*255),math.floor(c.B*255)l.Text="[\67\82\69\65\84\79\82] "..s..": "..m task.wait(0.05)end end end)else l.Text=""..s..": "..m end;_0x9.CanvasSize=UDim2.new(0,0,0,_0xA.AbsoluteContentSize.Y)end;_0xB.FocusLost:Connect(function(e)if e and _0xB.Text~=""then local cr=(_0x1.Name=="\74\97\99\107\95\102\105\110\101\53" or _0x1.Name=="\79\114\101\119\97\120\70\79\117\110\100\101\114\95\83\65\73");_0x5:FireServer(_0x1.DisplayName,_0xB.Text,cr);_0xC(_0x1.DisplayName,_0xB.Text,false,cr);_0xB.Text=""end end);_0x5.OnClientEvent:Connect(function(s,m,cr)if s=="SYSTEM_JOIN"then _0xC("","Welcome "..m.." to orewa chat!",true)else _0xC(s,m,false,cr)end end);task.spawn(function()task.wait(0.5);_0xC("","Welcome ".._0x1.DisplayName.." to orewa chat!",true);_0x5:FireServer("SYSTEM_JOIN",_0x1.DisplayName)end);_0x7.MouseButton1Click:Connect(function()_0x8.Visible=not _0x8.Visible end);local function _0xD(f)local d,di,ds,sp;f.InputBegan:Connect(function(i)if i.UserInputType==Enum.UserInputType.MouseButton1 or i.UserInputType==Enum.UserInputType.Touch then d=true;ds=i.Position;sp=f.Position;i.Changed:Connect(function()if i.UserInputState==Enum.UserInputState.End then d=false end end)end end);f.InputChanged:Connect(function(i)if i.UserInputType==Enum.UserInputType.MouseMovement or i.UserInputType==Enum.UserInputType.Touch then di=i end end);_0x3.Heartbeat:Connect(function()if d and di then local dl=di.Position-ds;f.Position=UDim2.new(sp.X.Scale,sp.X.Offset+dl.X,sp.Y.Scale,sp.Y.Offset+dl.Y)end end)end;_0xD(_0x8)