#How do hackers insert local scripts?
1 messages · Page 1 of 1 (latest)
Inside everywhere thats replicated to the client
Startergui, Startercharacterscripts, Replicatedfirst and more
they do it with dex
here is anti-cheat script
local Players = game:GetService("Players")
local StarterGui = game:GetService("StarterGui")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local CheatEvent = ReplicatedStorage.CheatEvent
Players.PlayerAdded:Connect(function(Player)
local Character = Player.Character
local Humanoid = Character:WaitForChild("Humanoid")
while wait(1) do
-- Basic Exploits
if Humanoid.WalkSpeed >= 17 then
local reason = "WalkSpeed exceeds 16"
CheatEvent:FireServer(reason)
task.wait(1)
Player:Kick("\nYou've been kicked from this server.\nReason: Potential Cheats\nIf there is a mistake, contact me on Roblox.")
end
if Humanoid.JumpPower >= 51 then
local reason = "Jump Power exceeds 50"
CheatEvent:FireServer(reason)
task.wait(1)
Player:Kick("\nYou've been kicked from this server.\nReason: Potential Cheats\nIf there is a mistake, contact me on Roblox.")
end
if Humanoid.MaxHealth > 100 then
local reason = "Extra Health"
CheatEvent:FireServer(reason)
task.wait(1)
Player:Kick("\nYou've been kicked from this server.\nReason: Potential Cheats\nIf there is a mistake, contact me on Roblox.")
end
-- AntiFly
if Character == false then continue end
if Humanoid == false then continue end
local HumanoidState = Humanoid:GetState()
if HumanoidState == Enum.HumanoidStateType.PlatformStanding then
local reason = "Flying"
CheatEvent:FireServer(reason)
task.wait(1)
Player:Kick("\nYou've been kicked from this server.\nReason: Potential Cheats\nIf there is a mistake, contact me on Roblox.")
end
end
end)
Ts is really bad anticheat💔
yes
Do you want to make a game?
I don’t know how to script but I know how to build without blender
please dont do this
this is not a good anticheat script
i dont think anybody should just copy down anticheat scripts