Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make sure the script is working properly?

Asked by 4 years ago

Please encode Lua code in the Lua block code tag (look for the Lua icon in the editor).

hello i am making a exploit for a game i had a friend test it out and he could change everything the just like i could do it in roblox studio the whole frame was there but some things are missing can anyone help?

-----------------------------------------------------------------------Legend the goat

--Functions

Blood.MouseButton1Click:connect(function() local placekey = "p" local plantkey = "[" local collectkey = "m" local amountofpots = 1

local Player = game:GetService("Players").LocalPlayer local Mouse = Player:GetMouse()

_G.plant = function() for _, v in pairs(workspace.Deployables:GetChildren()) do if v.Name == "Plant Box" and (Player.Character.Head.Position - v.PrimaryPart.Position).magnitude < 300000 then game.ReplicatedStorage.Events.InteractStructure:FireServer(v, "Bloodfruit") end end end

_G.collect = function() for _, v in pairs(workspace:GetChildren()) do if v.Name == "Bloodfruit Bush" and (Player.Character.Head.Position - v.PrimaryPart.Position).magnitude < 50 then game.ReplicatedStorage.Events.Pickup:FireServer(v) end end end

Mouse.KeyUp:connect(function(k) if k == placekey then for i = 1, amountofpots do game.ReplicatedStorage.Events.PlaceStructure:FireServer("Plant Box", Mouse.Hit, 0) end elseif k == plantkey then _G.plant() elseif k == collectkey then _G.collect() end end) end)

--Blue

Blue.MouseButton1Click:connect(function() local placekey = "p" local plantkey = "[" local collectkey = "m" local amountofpots = 1

local Player = game:GetService("Players").LocalPlayer local Mouse = Player:GetMouse()

_G.plant = function() for _, v in pairs(workspace.Deployables:GetChildren()) do if v.Name == "Plant Box" and (Player.Character.Head.Position - v.PrimaryPart.Position).magnitude < 300000 then game.ReplicatedStorage.Events.InteractStructure:FireServer(v, "Bloodfruit") end end end

_G.collect = function() for _, v in pairs(workspace:GetChildren()) do if v.Name == "Bluefruit Bush" and (Player.Character.Head.Position - v.PrimaryPart.Position).magnitude < 50 then game.ReplicatedStorage.Events.Pickup:FireServer(v) end end end

Mouse.KeyUp:connect(function(k) if k == placekey then for i = 1, amountofpots do game.ReplicatedStorage.Events.PlaceStructure:FireServer("Plant Box", Mouse.Hit, 0) end elseif k == plantkey then _G.plant() elseif k == collectkey then _G.collect() end end) end)

--Apples

Apples.MouseButton1Click:connect(function() local placekey = "p" local plantkey = "[" local collectkey = "m" local amountofpots = 1

local Player = game:GetService("Players").LocalPlayer local Mouse = Player:GetMouse()

_G.plant = function() for _, v in pairs(workspace.Deployables:GetChildren()) do if v.Name == "Plant Box" and (Player.Character.Head.Position - v.PrimaryPart.Position).magnitude < 300000 then game.ReplicatedStorage.Events.InteractStructure:FireServer(v, "Bloodfruit") end end end

_G.collect = function() for _, v in pairs(workspace:GetChildren()) do if v.Name == "Apple Tree" and (Player.Character.Head.Position - v.PrimaryPart.Position).magnitude < 50 then game.ReplicatedStorage.Events.Pickup:FireServer(v) end end end

Mouse.KeyUp:connect(function(k) if k == placekey then for i = 1, amountofpots do game.ReplicatedStorage.Events.PlaceStructure:FireServer("Plant Box", Mouse.Hit, 0) end elseif k == plantkey then _G.plant() elseif k == collectkey then _G.collect() end end) end)

--Berries

Berries.MouseButton1Click:connect(function() local placekey = "p" local plantkey = "[" local collectkey = "m" local amountofpots = 1

local Player = game:GetService("Players").LocalPlayer local Mouse = Player:GetMouse()

_G.plant = function() for _, v in pairs(workspace.Deployables:GetChildren()) do if v.Name == "Plant Box" and (Player.Character.Head.Position - v.PrimaryPart.Position).magnitude < 300000 then game.ReplicatedStorage.Events.InteractStructure:FireServer(v, "Bloodfruit") end end end

_G.collect = function() for _, v in pairs(workspace:GetChildren()) do if v.Name == "Berryfruit Bush" and (Player.Character.Head.Position - v.PrimaryPart.Position).magnitude < 50 then game.ReplicatedStorage.Events.Pickup:FireServer(v) end end end

Mouse.KeyUp:connect(function(k) if k == placekey then for i = 1, amountofpots do game.ReplicatedStorage.Events.PlaceStructure:FireServer("Plant Box", Mouse.Hit, 0) end elseif k == plantkey then _G.plant() elseif k == collectkey then _G.collect() end end) end)

--AutoPickup

AutoPickUp.MouseButton1Click:connect(function() local Objects; local Pickup = function(Character) local myPos = Character.HumanoidRootPart.Position local Objects = {} for i,v in pairs(workspace:GetChildren()) do if v:FindFirstChild("Pickup") ~= nil and v.ClassName == "Part" then local Pos = v.Position local Distance = (myPos - Pos).magnitude if Distance < 40 then table.insert(Objects, v) end elseif v:FindFirstChild("Pickup") ~= nil and v:FindFirstChild("Part") ~= nil and v.Part.ClassName == "Part" then local Pos = v.Part.Position local Distance = (myPos - Pos).magnitude if Distance < 40 then table.insert(Objects, v) end elseif v:FindFirstChild("Pickup") ~= nil and v.ClassName == "UnionOperation" then local Pos = v.Position local Distance = (myPos - Pos).magnitude if Distance < 40 then table.insert(Objects, v) end end end for i,v in pairs(Objects) do for i=1,10 do v.Position = myPos game:GetService("ReplicatedStorage").Events.Pickup:FireServer(v) end end end wait(1) local mouse = game:GetService("Players").LocalPlayer:GetMouse()

mouse.KeyDown:connect(function(key) if key == AutoPickUpBind.Text then print'AutoPicked-up YEET' Pickup(game.Players.LocalPlayer.Character) end end) end)

--ESP

ESP.MouseButton1Click:Connect(function() for i,v in pairs(Important.Players:GetChildren()) do

    CreateESP(v)      
end

end)

DropAllItemsbtn.MouseButton1Click:Connect(function()

Player = game.Players.LocalPlayer Mouse = Player:GetMouse()

function PressedE(key) Key = key:lower() if Key == DropAllItemskb.Text then for i=1, 100 do game.ReplicatedStorage.Events.DropBagItem:FireServer(DropAllItemsItemNamekb.Text) end end end Mouse.KeyDown:connect(PressedE) end)

--RevizAdmin

RevizAdmin.MouseButton1Click:connect(function() loadstring(game:HttpGet("https://pastebin.com/raw/8zh7FiHv"))() end)

--Voidtp

Voidtp.MouseButton1Down:connect(function() for i,v in pairs(game:GetService("Players"):GetChildren()) do if v.Name:lower():find(Voidtp.Text:lower()) then if v.Name == "Infinity_Chest" or v.Name == "BlueBearTimx" then print("Fools you cannot kill the devs") else player = game.Players.LocalPlayer.Character repeat player.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame wait(.001) until v.Character.Humanoid.Health <= 0 end end end end)

Important = {Players = game:GetService("Players"), Workspace = game:GetService("Workspace"), CoreGui = game:GetService("CoreGui")}

local enabledesp = false

function CreateESP(plr)

if plr ~= nil then

    local GetChar = plr.Character
    if not GetChar then return end

    local GetHead do

        repeat wait() until GetChar:FindFirstChild("Head")

    end
    GetHead = GetChar.Head        

    local bb = Instance.new("BillboardGui", Important.CoreGui)
    bb.Adornee = GetHead
    bb.ExtentsOffset = Vector3.new(0, 1, 0)
    bb.AlwaysOnTop = true
    bb.Size = UDim2.new(0, 5, 0, 5)
    bb.StudsOffset = Vector3.new(0, 3, 0)
    bb.Name = "ESP_PLAYER_" .. plr.Name

    local displayframe = Instance.new("Frame", bb)
    displayframe.ZIndex = 10
    displayframe.BackgroundTransparency = 1
    displayframe.Size = UDim2.new(1,0,1,0)

    local name = Instance.new("TextLabel", displayframe)
    name.Name = "Name"
    name.ZIndex = 10
    name.Text = plr.Name
    name.Visible = true
    name.TextColor3 = Color3.new(170,0,0)
    name.BackgroundTransparency = 1
    name.Size = UDim2.new(1,0,10,0)
    name.Font = Enum.Font.SourceSansLight
    name.TextSize = 20
    name.TextStrokeTransparency = .5

end

end

--Autoeat

Autoeat.MouseButton1Click:Connect(function() if game.PlaceId == 1262182609 or game.PlaceId == 2021740958 then local lol = 1 local plr = game:GetService("Players").LocalPlayer local mouse = plr:GetMouse() mouse.KeyDown:connect(function(key) if key == Autoeat.Text then lol = 0 while lol == 0 do wait() local Event = game:GetService("ReplicatedStorage").Events.UseBagItem Event:FireServer(Autoeat.Text) Event:FireServer(Autoeat.Text) Event:FireServer(Autoeat.Text) end end end) local plr = game:GetService("Players").LocalPlayer local mouse = plr:GetMouse() mouse.KeyUp:connect(function(key) if key == Autoeat.Text then lol = 1 end end) end end)

--BoogaBitches

BoogaBitches.MouseButton1Click:connect(function() loadstring(game:HttpGet("https://pastebin.com/raw/PkFJp9mR", true))() end)

0
Please elaborate and put he script properly in script blocjs Luka_Gaming07 534 — 4y
0
^ raid6n 2196 — 4y
0
I don't believe Scripting Helpers is the goto place for Exploiting support, and please but the script into script blocks, it is almost impossible to read as it is. AyeeItsSmithie -1 — 4y
0
this was a test im not really gonna give it to anyone im doing this so i can know what to patch if someone exploits on a game i make LEGEND9034 -47 — 4y

Answer this question