Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- HMMMMm
- --]]
- -- Instances:
- local Antifling = Instance.new("ScreenGui")
- local Frame = Instance.new("ImageButton")
- local tggon = Instance.new("TextButton")
- local Tggoff = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local Exit = Instance.new("TextButton")
- --[[
- Properties:
- --]]
- Antifling.Name = "Antifling"
- Antifling.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Antifling.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Antifling.ResetOnSpawn = false
- Frame.Name = "Frame"
- Frame.Parent = Antifling
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BackgroundTransparency = 1
- Frame.Position = UDim2.new(0.423616856, 0, 0.3857494, 0)
- Frame.Size = UDim2.new(0, 184, 0, 154)
- Frame.Image = "rbxassetid://2790382281"
- Frame.ImageColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- Frame.ScaleType = Enum.ScaleType.Slice
- Frame.SliceCenter = Rect.new(4, 4, 252, 252)
- tggon.Name = "tggon"
- tggon.Parent = Frame
- tggon.BackgroundColor3 = Color3.new(1, 1, 1)
- tggon.BackgroundTransparency = 1
- tggon.Position = UDim2.new(0.070652172, 0, 0.422077924, 0)
- tggon.Size = UDim2.new(0, 65, 0, 24)
- tggon.Font = Enum.Font.Cartoon
- tggon.Text = "Toggle"
- tggon.TextColor3 = Color3.new(1, 1, 1)
- tggon.TextScaled = true
- tggon.TextSize = 14
- tggon.TextWrapped = true
- Tggoff.Name = "Tggoff"
- Tggoff.Parent = Frame
- Tggoff.BackgroundColor3 = Color3.new(1, 1, 1)
- Tggoff.BackgroundTransparency = 1
- Tggoff.Position = UDim2.new(0.5, 0, 0.422077924, 0)
- Tggoff.Size = UDim2.new(0, 74, 0, 24)
- Tggoff.Font = Enum.Font.Cartoon
- Tggoff.Text = "Untoggle"
- Tggoff.TextColor3 = Color3.new(1, 1, 1)
- Tggoff.TextScaled = true
- Tggoff.TextSize = 14
- Tggoff.TextWrapped = true
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.146739125, 0, 0.0389610417, 0)
- TextLabel.Size = UDim2.new(0, 131, 0, 35)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Anti Fling"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- Exit.Name = "Exit"
- Exit.Parent = Frame
- Exit.BackgroundColor3 = Color3.new(1, 1, 1)
- Exit.BackgroundTransparency = 1
- Exit.Position = UDim2.new(0.853260875, 0, 0.0389610529, 0)
- Exit.Size = UDim2.new(0, 27, 0, 24)
- Exit.Font = Enum.Font.Cartoon
- Exit.Text = "X"
- Exit.TextColor3 = Color3.new(1, 0, 0)
- Exit.TextScaled = true
- Exit.TextSize = 14
- Exit.TextWrapped = true
- --[[
- Scripts:
- --]]
- local function CAWIZMZ_fake_script() -- tggon.LocalScript
- local script = Instance.new('LocalScript', tggon)
- script.Parent.MouseButton1Click:Connect(function()
- local plr = game:GetService("Players").LocalPlayer
- local Char = plr.Character
- local Torso = Char:FindFirstChild("Torso")
- Torso.Anchored = true
- end)
- end
- coroutine.wrap(CAWIZMZ_fake_script)()
- local function STJYP_fake_script() -- Tggoff.LocalScript
- local script = Instance.new('LocalScript', Tggoff)
- script.Parent.MouseButton1Click:Connect(function()
- local plr = game:GetService("Players").LocalPlayer
- local Char = plr.Character
- local Torso = Char:FindFirstChild("Torso")
- Torso.Anchored = false
- end)
- end
- coroutine.wrap(STJYP_fake_script)()
- local function QEAX_fake_script() -- Exit.LocalScript
- local script = Instance.new('LocalScript', Exit)
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Parent:Destroy()
- end)
- end
- coroutine.wrap(QEAX_fake_script)()
- local function WOLEDJ_fake_script() -- Frame.LocalScript
- local script = Instance.new('LocalScript', Frame)
- local UserInputService,gui,dragging,dragInput,dragStart,startPos = game:GetService("UserInputService"),script.Parent
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- gui.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- gui.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement