View difference between Paste ID: 3SwCQ8ez and yBB0EMDG
SHOW: | | - or go back to the newest paste.
1
warn("Powerfull Insta Destroy Script loaded! Press q where your mouse is to use it!")
2
warn("Level Farm Script loaded! Press e (you can't stop it after started by the way!)")
3
warn("Kill Aura Script loaded! Press v, you're in a range of 200 blocks.")
4
warn("Bypassed again by Hamii")
5
warn("Made by Hamii/Tritium and Floof <3")
6
7
local Player = game:GetService("Players").LocalPlayer
8
local Mouse = Player:GetMouse()
9
local Folder = workspace.Critters
10
local Aura_Range = 250
11
12
local Damage = function(Part)
13
pcall(function()
14
    local A = Part
15
    local B = Part.Position
16
    local C = {
17
        owned = true,
18
        origin = Player.Character.Head.Position,
19
        position = Part.Position,
20
        velocity = Player.Character.Head.CFrame.lookVector * Vector3.new(500, 100, 500),
21
        acceleration = Vector3.new(0, -156.2, 0),
22
        age = os.time(),
23
        toolFrom = "Magnetite Crossbow",
24
        object = game:GetService("ReplicatedStorage").Projectiles:findFirstChild("Bolt")
25
    }
26
    local D = (Player.Character.Head.Position - Part.Position).magnitude
27
    game:GetService("ReplicatedStorage").Events.DequipCosmetic:FireServer(A, B, C, D)
28
end)
29
end
30
31
Mouse.KeyUp:connect(function(key)
32
    if key == "q" then
33
	warn("Pressed q, Insta Destroy made by Hamii/Tritium and Floof")
34
        for i = 1, 250 do
35
            if Mouse.Target and Mouse.Target.ClassName ~= "Terrain" then
36
                Damage(Mouse.Target)
37
            end
38
        end
39
    end
40
end)
41
42
Mouse.KeyUp:connect(function(key)
43
    if key == "e" then
44
	warn("Pressed e, Level Farm made by Hamii/Tritium and Floof")       
45
		while wait() do
46
		    for i,v in pairs(workspace:GetChildren()) do
47
		        if string.find(v.Name:lower(), "bush") or string.find(v.Name:lower(), "tree") or string.find(v.Name:lower(), "ice") or string.find(v.Name:lower(), "rock") then
48
		            for i,v in pairs(v:GetChildren()) do
49
		                if v.ClassName == "Part" or v.ClassName == "Union" then
50
		                    spawn(function()
51
		                    for i = 1, 50 do
52
		                        Damage(v)
53
		                        wait()
54
		                    end
55
		                    end)
56
		                end
57
		            end
58
		        elseif v:findFirstChild("PrimaryPart") then
59
		            spawn(function()
60
		                for i = 1, 50 do
61
		                    Damage(v.PrimaryPart)
62
		                    wait()
63
		                end
64
		            end)
65
		        elseif game:GetService("Players"):GetPlayerFromCharacter(v) then
66
		            spawn(function()
67
		            for i = 1, 50 do
68
		                Damage(v.Head)
69
		                wait()
70
		            end
71
		            end)
72
		        end
73
		    end
74
		end
75
	end
76
end)
77
78
local orange = function(part, strength)
79
	if part:IsDescendantOf(Player.Character) then return nil end
80
	if part and part.Parent and part.Parent.Parent then
81
		if part.Parent:findFirstChild("Head") then
82
			for i = 1, 5 * strength do
83
				Damage(part.Parent.Head)
84
			end
85
		elseif part.Parent.Parent:findFirstChild("Head") then
86
			for i = 1, 5 * strength do
87
				Damage(part.Parent.Parent.Head)
88
			end
89
		else
90
			if part.Parent ~= workspace then
91
				for i,v in pairs(part.Parent:GetChildren()) do
92
					if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
93
						for i = 1, 2.5 * strength do
94
							Damage(v)
95
						end
96
					end
97
				end
98
			end
99
		end
100
		for i = 1, 2.5 * strength do
101
			Damage(part)
102
		end
103
	end
104
end
105
106
local myPos = function()
107
	return Player.Character.HumanoidRootPart.Position
108
end
109
110
Mouse.KeyDown:connect(function(key)
111
	if key == "v" then
112
warn("Pressed v, Kill Aura made by Floof and bypassed by Hamii!")
113
		for i, v in pairs(workspace.Critters:GetChildren()) do
114
			if v:findFirstChild("HumanoidRootPart") then
115
				local Pos = v.HumanoidRootPart.Position
116
				local Distance = (Pos - myPos()).magnitude
117
				if Distance <= Aura_Range then
118
					orange(v.HumanoidRootPart, 8)
119
				end
120
			elseif v:findFirstChild("Torso")  then
121
				local Pos = v.Torso.Position
122
				local Distance = (Pos - myPos()).magnitude
123
				if Distance <= Aura_Range then
124
					orange(v.Torso, 8)
125
				end
126
			else
127
				local Part = nil
128
				for i,v in pairs(v:GetChildren()) do
129
					if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
130
						Part = v
131
					end
132
				end
133
				if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
134
					Part = v
135
				end
136
				if Part then
137
					orange(Part, 14)
138
				end
139
			end
140
		end
141
		wait()
142
		for i,v in pairs(game:GetService("Players"):GetPlayers()) do
143
			if v ~= Player and v.Character then
144
				local HRP = v.Character:findFirstChild("HumanoidRootPart")
145
				if HRP then
146
					local Distance = (HRP.Position - myPos()).magnitude
147
					if Distance <= Aura_Range then
148
						orange(HRP, 15)
149
					end
150
				end
151
			end
152
		end
153
		wait()
154
		for i,v in pairs(workspace:GetChildren()) do
155
			if string.find(v.Name:lower(), "bush") or string.find(v.Name:lower(), "ice") or string.find(v.Name:lower(), "tree") or string.find(v.Name:lower(), "node") or string.find(v.Name:lower(), "wall") or string.find(v.Name:lower(), "stone") or string.find(v.Name:lower(), "mound") or string.find(v.Name:lower(), "rope") or v:findFirstChild("PrimaryPart") or v:findFirstChild("Health") or v:findFirstChild("Torso") or v:findFirstChild("HitShell")  then
156
				local Part = nil
157
				for i,v in pairs(v:GetChildren()) do
158
					if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
159
						Part = v
160
					end
161
				end
162
				if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
163
					Part = v
164
				end
165
				if Part then
166
					local Distance = (Part.Position - myPos()).magnitude
167
					if Distance <= Aura_Range then
168
						orange(Part, 7)
169
					end
170
				end
171
			end
172
		end
173
		for i,v in pairs(workspace.Deployables:GetChildren()) do
174
			if string.find(v.Name:lower(), "wall") or string.find(v.Name:lower(), "gate") or string.find(v.Name:lower(), "raft") or string.find(v.Name:lower(), "boat") or string.find(v.Name:lower(), "hut") or string.find(v.Name:lower(), "Health") or v:findFirstChild("PrimaryPart") or v:findFirstChild("Torso") then
175
				local Part = nil
176
				for i,v in pairs(v:GetChildren()) do
177
					if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
178
						Part = v
179
					end
180
				end
181
				if string.find(v.ClassName:lower(), "part") or v.ClassName == "Union" then
182
					Part = v
183
				end
184
				if Part then
185
					local Distance = (Part.Position - myPos()).magnitude
186
					if Distance <= Aura_Range then
187
						orange(Part, 7)
188
					end
189
				end
190
			end
191
		end
192
	end
193
end)