Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- spawn(function()
- while true do
- game:GetService("RunService").Heartbeat:Wait()
- game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.huge;
- setsimulationradius(math.huge);
- end
- end)
- local HAT = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local bar = Instance.new("Frame")
- local whitebaridk = Instance.new("Frame")
- local stuff = Instance.new("TextBox")
- local start = Instance.new("TextButton")
- local stop = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- --Properties:
- HAT.Name = "HAT"
- HAT.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- HAT.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = HAT
- Frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.334545463, 0, 0.326781332, 0)
- Frame.Size = UDim2.new(0, 228, 0, 184)
- bar.Name = "bar"
- bar.Parent = Frame
- bar.BackgroundColor3 = Color3.fromRGB(16, 16, 16)
- bar.BorderColor3 = Color3.fromRGB(53, 53, 53)
- bar.BorderSizePixel = 0
- bar.Size = UDim2.new(0, 228, 0, 30)
- whitebaridk.Name = "whitebaridk"
- whitebaridk.Parent = Frame
- whitebaridk.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- whitebaridk.BorderSizePixel = 0
- whitebaridk.Position = UDim2.new(0, 0, 0.162010416, 0)
- whitebaridk.Size = UDim2.new(0, 228, 0, 4)
- stuff.Name = "stuff"
- stuff.Parent = Frame
- stuff.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
- stuff.BorderColor3 = Color3.fromRGB(30, 30, 30)
- stuff.BorderSizePixel = 2
- stuff.Position = UDim2.new(0.0614035092, 0, 0.248562723, 0)
- stuff.Size = UDim2.new(0, 200, 0, 27)
- stuff.Font = Enum.Font.SourceSans
- stuff.Text = ""
- stuff.TextColor3 = Color3.fromRGB(0, 0, 0)
- stuff.TextSize = 14.000
- start.Name = "start"
- start.Parent = Frame
- start.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
- start.Position = UDim2.new(0.0614035092, 0, 0.451086968, 0)
- start.Size = UDim2.new(0, 200, 0, 26)
- start.Font = Enum.Font.SourceSans
- start.Text = "Start"
- start.TextColor3 = Color3.fromRGB(255, 255, 255)
- start.TextSize = 20.000
- stop.Name = "stop"
- stop.Parent = Frame
- stop.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
- stop.Position = UDim2.new(0.0614035092, 0, 0.652173936, 0)
- stop.Size = UDim2.new(0, 200, 0, 26)
- stop.Font = Enum.Font.SourceSans
- stop.Text = "Stop"
- stop.TextColor3 = Color3.fromRGB(255, 255, 255)
- stop.TextSize = 20.000
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.Position = UDim2.new(0.0614035092, 0, 0, 0)
- TextLabel.Size = UDim2.new(0, 200, 0, 29)
- TextLabel.Font = Enum.Font.GothamBold
- TextLabel.Text = "HAT POG"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextSize = 25.000
- local doing = false
- local rs = game:GetService("RunService")
- local bandage = game.Players.LocalPlayer.Character.MeshPartAccessory
- Frame.Active = true
- Frame.Draggable = true
- local function findPlayer(stringg)
- for _, v in pairs(game.Players:GetPlayers()) do
- if v ~= game.Players.LocalPlayer and v.Name:lower():find(stringg:lower()) and pcall(function() return v.Character.HumanoidRootPart end) then
- return v
- end
- end
- end
- start.MouseButton1Click:Connect(function()
- print'b'
- doing = true
- print("bruh")
- end)
- stop.MouseButton1Click:Connect(function()
- print'a'
- doing = false
- end)
- bandage.Handle.AccessoryWeld:Destroy()
- bandage.Handle.HatAttachment:Destroy()
- rs.RenderStepped:Connect(function()
- if doing == true and stuff.Text ~= nil then
- local plr = findPlayer(stuff.Text)
- bandage.Handle.Velocity = Vector3.new(0,0,0)
- bandage.Handle.CFrame = CFrame.new((plr.Character.Head.CFrame) * Vector3.new(0, 0.85, 0))
- else
- bandage.Handle.Velocity = Vector3.new(0,0,0)
- bandage.Handle.CFrame = CFrame.new((game.Players.LocalPlayer.Character.Head.CFrame) * Vector3.new(0, 0.85, 0))
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement