Advertisement
Hellotop2

Untitled

Feb 23rd, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. local a=Instance.new("ScreenGui")local b=Instance.new("Frame")local c=Instance.new("Frame")local d=Instance.new("TextButton")local e=Instance.new("TextBox")local f=Instance.new("TextBox")a.Name="RagdollEngineKick"a.Parent=game.CoreGui;a.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;b.Name="Top"b.Parent=a;b.BackgroundColor3=Color3.new(1,1,1)b.BorderSizePixel=0;b.Position=UDim2.new(0.207994998,0,0.454433501,0)b.Size=UDim2.new(0,354,0,35)c.Name="Background"c.Parent=b;c.BackgroundColor3=Color3.new(0.247059,0.247059,0.247059)c.BorderSizePixel=0;c.Position=UDim2.new(0,0,0.983251095,0)c.Size=UDim2.new(0,353,0,87)d.Name="kb"d.Parent=c;d.BackgroundColor3=Color3.new(1,1,1)d.BorderSizePixel=0;d.Position=UDim2.new(0.703364968,0,0.310344845,0)d.Size=UDim2.new(0,92,0,33)d.Font=Enum.Font.SourceSansLight;d.Text="Kick"d.TextColor3=Color3.new(1,1,1)d.TextScaled=true;d.TextSize=14;d.TextWrapped=true;e.Name="rt"e.Parent=c;e.BackgroundColor3=Color3.new(1,1,1)e.BorderSizePixel=0;e.Position=UDim2.new(0.32861191,0,0.310344815,0)e.Size=UDim2.new(0,118,0,33)e.Font=Enum.Font.SourceSansLight;e.PlaceholderColor3=Color3.new(1,1,1)e.PlaceholderText="Reason"e.Text="Reason"e.TextColor3=Color3.new(1,1,1)e.TextScaled=true;e.TextSize=14;e.TextWrapped=true;f.Name="pn"f.Parent=c;f.BackgroundColor3=Color3.new(1,1,1)f.BorderSizePixel=0;f.Position=UDim2.new(0.033994332,0,0.310344815,0)f.Size=UDim2.new(0,89,0,33)f.Font=Enum.Font.SourceSansLight;f.PlaceholderColor3=Color3.new(1,1,1)f.PlaceholderText="Player"f.Text="Player"f.TextColor3=Color3.new(1,1,1)f.TextScaled=true;f.TextSize=14;f.TextWrapped=true;d.MouseButton1Click:Connect(function()local g=game.Players:FindFirstChild(f.Text)if g then local h=e.Text;game.ReplicatedStorage.Events.KickCommand:FireServer(g,h)end end)local i,j,k,l,m,n=game:GetService("UserInputService"),b;local function o(p)local q=p.Position-m;j.Position=UDim2.new(n.X.Scale,n.X.Offset+q.X,n.Y.Scale,n.Y.Offset+q.Y)end;j.InputBegan:Connect(function(p)if p.UserInputType==Enum.UserInputType.MouseButton1 or p.UserInputType==Enum.UserInputType.Touch then k=true;m=p.Position;n=j.Position;p.Changed:Connect(function()if p.UserInputState==Enum.UserInputState.End then k=false end end)end end)j.InputChanged:Connect(function(p)if p.UserInputType==Enum.UserInputType.MouseMovement or p.UserInputType==Enum.UserInputType.Touch then l=p end end)i.InputChanged:Connect(function(p)if p==l and k then o(p)end end)while wait()do local r=math.sin(workspace.DistributedGameTime/2)/2+0.5;local s=math.sin(workspace.DistributedGameTime)/2+0.5;local t=math.sin(workspace.DistributedGameTime*1.5)/2+0.5;local u=Color3.new(r,s,t)d.BackgroundColor3=u;f.BackgroundColor3=u;e.BackgroundColor3=u;b.BackgroundColor3=u end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement