Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Wah = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- --Properties:
- Wah.Name = "Wah"
- Wah.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Wah.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Main.Name = "Main"
- Main.Parent = Wah
- Main.BackgroundColor3 = Color3.new(0, 0, 0)
- Main.Position = UDim2.new(0.453361124, 0, 0.498249203, 0)
- Main.Size = UDim2.new(0, 265, 0, 102)
- TextButton.Parent = Main
- TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton.Position = UDim2.new(0.120754719, 0, 0.246910825, 0)
- TextButton.Size = UDim2.new(0, 200, 0, 50)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.TextColor3 = Color3.new(1, 0, 0)
- TextButton.TextSize = 14
- -- Scripts:
- function SCRIPT_LUUV81_FAKESCRIPT() -- TextButton.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = TextButton
- script.Parent.MouseButton1Click:Connect(function()
- if game.Players.LocalPlayer:FindFirstChild("On") then
- game.Players.LocalPlayer.On.Name="Off"
- else
- game.Players.LocalPlayer.Off.Name="On"
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_LUUV81_FAKESCRIPT))
- function SCRIPT_WDKR84_FAKESCRIPT() -- Main.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = Main
- wait(1)
- _G.Enabled=true
- _G.Settings = { --Settings
- Mob = "X Fighter"; --Target
- Quest = "X Fighter Trainer"; --Quest
- Distance = -2; --TP Distance
- }
- --Variable
- local player = game:GetService("Players").LocalPlayer
- local events = game:GetService("ReplicatedStorage").Events
- --Get Settings
- local function settings()
- for i, v in pairs(_G.Settings) do
- if i == "Mob" then
- Mob = v
- elseif i == "Quest" then
- Quest = v
- elseif i == "Distance" then
- Distance = v
- end
- end
- end
- --NoClip
- Stepped = game:GetService('RunService').Stepped:Connect(function()
- if player.Character and player.Character:FindFirstChild("Humanoid") then
- player.Character.Humanoid:ChangeState(11)
- end
- if _G.Enabled == false then
- Stepped:Disconnect()
- end
- end)
- --Function
- local function quest()
- if game:GetService("ReplicatedStorage").Datas[player.UserId].Quest.Value ~= Quest then
- player.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Others.NPCs[Quest].HumanoidRootPart.CFrame
- repeat
- wait()
- events.Qaction:InvokeServer(game:GetService("Workspace").Others.NPCs[Quest])
- until game:GetService("ReplicatedStorage").Datas[player.UserId].Quest.Value == Quest
- end
- end
- --Start
- settings()
- quest()
- --Loop
- while true do
- if game.Players.LocalPlayer:FindFirstChild("On") then
- for i, v in ipairs(game:GetService("Workspace").Living:GetChildren()) do
- if v.Name:lower() == Mob:lower() and player.Character and player.Character:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") and v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
- repeat
- settings()
- player.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + v.HumanoidRootPart.CFrame.lookVector * Distance
- wait()
- events.p:InvokeServer(1)
- until not game.Players.LocalPlayer:FindFirstChild("On") or v == nil or v.Humanoid.Health <= 0
- quest()
- end
- end
- wait()
- end
- wait()
- end
- end
- coroutine.resume(coroutine.create(SCRIPT_WDKR84_FAKESCRIPT))
- function SCRIPT_MNEZ66_FAKESCRIPT() -- Main.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = Main
- wah = Instance.new("Part",game.Players.LocalPlayer)
- wah.Name="Off"
- end
- coroutine.resume(coroutine.create(SCRIPT_MNEZ66_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement