-- all made by AurexScripts
-- join our discord server!
-- https://discord.gg/F3QzKxpZrA
local TAMPER_MSG = "Tamper Detected"
local detected = false
local checks = {}
checks[1] = {
name = "game_instance",
run = function()
if typeof(game) ~= "Instance" then return false end
if typeof(workspace) ~= "Instance" then return false end
return true
end
}
checks[2] = {
name = "script_valid",
run = function()
if typeof(script) ~= "Instance" then return false end
if not script:IsA("LuaSourceContainer") then return false end
return true
end
}
checks[3] = {
name = "game_props",
run = function()
if type(game.PlaceId) ~= "number" then return false end
if type(game.JobId) ~= "string" then return false end
if #game.JobId == 0 then return false end
return true
end
}
checks[4] = {
name = "local_player",
run = function()
local ok, Players = pcall(game.GetService, game, "Players")
if not ok or typeof(Players) ~= "Instance" then return false end
local lp = Players.LocalPlayer
if not lp or not lp:IsA("Player") then return false end
return true
end
}
checks[5] = {
name = "character",
run = function()
local Players = game:GetService("Players")
local lp = Players.LocalPlayer
if not lp then return false end
local char = lp.Character or lp.CharacterAdded:Wait(5)
if not char then return false end
local hrp = char:FindFirstChild("HumanoidRootPart")
if not hrp or not hrp:IsA("BasePart") then return false end
return true
end
}
checks[6] = {
name = "services",
run = function()
local needed = {"RunService", "ReplicatedStorage", "UserInputService", "TweenService"}
for _, name in ipairs(needed) do
local ok, s = pcall(game.GetService, game, name)
if not ok or typeof(s) ~= "Instance" then return false end
end
return true
end
}
checks[7] = {
name = "data_types",
run = function()
if typeof(Vector3.new(0, 0, 0)) ~= "Vector3" then return false end
if typeof(CFrame.new()) ~= "CFrame" then return false end
if typeof(Color3.new()) ~= "Color3" then return false end
if typeof(UDim2.new()) ~= "UDim2" then return false end
if typeof(Vector2.new()) ~= "Vector2" then return false end
return true
end
}
checks[8] = {
name = "getfenv_check",
run = function()
local ok1, env1 = pcall(getfenv, 0)
if not ok1 or type(env1) ~= "table" then return false end
local ok2, env2 = pcall(getfenv, 1)
if not ok2 or type(env2) ~= "table" then return false end
if env1["game"] == nil and env2["game"] == nil then return false end
if env1["workspace"] == nil and env2["workspace"] == nil then return false end
return true
end
}
checks[9] = {
name = "getenv_check",
run = function()
local env = getfenv(0)
if type(env) ~= "table" then return false end
if type(env["print"]) ~= "function" then return false end
if type(env["pcall"]) ~= "function" then return false end
if type(env["typeof"]) ~= "function" then return false end
if type(env["tick"]) ~= "function" then return false end
return true
end
}
checks[10] = {
name = "runservice",
run = function()
local ok, RS = pcall(game.GetService, game, "RunService")
if not ok or typeof(RS) ~= "Instance" then return false end
local ok2 = pcall(function() return RS:IsClient() end)
local ok3 = pcall(function() return RS:IsServer() end)
if not ok2 and not ok3 then return false end
return true
end
}
local function runChecks()
for i = 1, #checks do
local ok, result = pcall(checks[i].run)
if not ok or not result then
detected = true
return
end
end
end
runChecks()
if detected then
print(TAMPER_MSG)
return
end
local RS = game:GetService("RunService")
local last = tick()
RS.Heartbeat:Connect(function()
local now = tick()
if now - last >= 0.5 then
last = now
runChecks()
if detected then
print(TAMPER_MSG)
end
end
end)
-- MAKE SURE TO OBFUSCATE THE WHOLE CODE AFTER YOU
-- PASTE YOUR SCRIPT BELOW THIS LINEProtect You're Script from skidders :>
make sure you obfuscated the whole script after pasted ur code at the bottom
No comments yet. Be the first to comment!
1-- all made by AurexScripts
2-- join our discord server!
3-- https://discord.gg/F3QzKxpZrA
4
5local TAMPER_MSG = "Tamper Detected"
6local detected = false
7local checks = {}
8
9checks[1] = {
10 name = "game_instance",
11 run = function()
12 if typeof(game) ~= "Instance" then return false end
13 if typeof(workspace) ~= "Instance" then return false end
14 return true
15 end
16}
17
18checks[2] = {
19 name = "script_valid",
20 run = function()
21 if typeof(script) ~= "Instance" then return false end
22 if not script:IsA("LuaSourceContainer") then return false end
23 return true
24 end
25}
26
27checks[3] = {
28 name = "game_props",
29 run = function()
30 if type(game.PlaceId) ~= "number" then return false end
31 if type(game.JobId) ~= "string" then return false end
32 if #game.JobId == 0 then return false end
33 return true
34 end
35}
36
37checks[4] = {
38 name = "local_player",
39 run = function()
40 local ok, Players = pcall(game.GetService, game, "Players")
41 if not ok or typeof(Players) ~= "Instance" then return false end
42 local lp = Players.LocalPlayer
43 if not lp or not lp:IsA("Player") then return false end
44 return true
45 end
46}
47
48checks[5] = {
49 name = "character",
50 run = function()
51 local Players = game:GetService("Players")
52 local lp = Players.LocalPlayer
53 if not lp then return false end
54 local char = lp.Character or lp.CharacterAdded:Wait(5)
55 if not char then return false end
56 local hrp = char:FindFirstChild("HumanoidRootPart")
57 if not hrp or not hrp:IsA("BasePart") then return false end
58 return true
59 end
60}
61
62checks[6] = {
63 name = "services",
64 run = function()
65 local needed = {"RunService", "ReplicatedStorage", "UserInputService", "TweenService"}
66 for _, name in ipairs(needed) do
67 local ok, s = pcall(game.GetService, game, name)
68 if not ok or typeof(s) ~= "Instance" then return false end
69 end
70 return true
71 end
72}
73
74checks[7] = {
75 name = "data_types",
76 run = function()
77 if typeof(Vector3.new(0, 0, 0)) ~= "Vector3" then return false end
78 if typeof(CFrame.new()) ~= "CFrame" then return false end
79 if typeof(Color3.new()) ~= "Color3" then return false end
80 if typeof(UDim2.new()) ~= "UDim2" then return false end
81 if typeof(Vector2.new()) ~= "Vector2" then return false end
82 return true
83 end
84}
85
86checks[8] = {
87 name = "getfenv_check",
88 run = function()
89 local ok1, env1 = pcall(getfenv, 0)
90 if not ok1 or type(env1) ~= "table" then return false end
91 local ok2, env2 = pcall(getfenv, 1)
92 if not ok2 or type(env2) ~= "table" then return false end
93 if env1["game"] == nil and env2["game"] == nil then return false end
94 if env1["workspace"] == nil and env2["workspace"] == nil then return false end
95 return true
96 end
97}
98
99checks[9] = {
100 name = "getenv_check",
101 run = function()
102 local env = getfenv(0)
103 if type(env) ~= "table" then return false end
104 if type(env["print"]) ~= "function" then return false end
105 if type(env["pcall"]) ~= "function" then return false end
106 if type(env["typeof"]) ~= "function" then return false end
107 if type(env["tick"]) ~= "function" then return false end
108 return true
109 end
110}
111
112checks[10] = {
113 name = "runservice",
114 run = function()
115 local ok, RS = pcall(game.GetService, game, "RunService")
116 if not ok or typeof(RS) ~= "Instance" then return false end
117 local ok2 = pcall(function() return RS:IsClient() end)
118 local ok3 = pcall(function() return RS:IsServer() end)
119 if not ok2 and not ok3 then return false end
120 return true
121 end
122}
123
124local function runChecks()
125 for i = 1, #checks do
126 local ok, result = pcall(checks[i].run)
127 if not ok or not result then
128 detected = true
129 return
130 end
131 end
132end
133
134runChecks()
135
136if detected then
137 print(TAMPER_MSG)
138 return
139end
140
141local RS = game:GetService("RunService")
142local last = tick()
143
144RS.Heartbeat:Connect(function()
145 local now = tick()
146 if now - last >= 0.5 then
147 last = now
148 runChecks()
149 if detected then
150 print(TAMPER_MSG)
151 end
152 end
153end)
154
155-- MAKE SURE TO OBFUSCATE THE WHOLE CODE AFTER YOU
156-- PASTE YOUR SCRIPT BELOW THIS LINE