Message

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 7

local Players = game:GetService("Players")

local LocalPlayer = Players.LocalPlayer


local Mouse = LocalPlayer:GetMouse()

local UserInputService = game:GetService("UserInputService")


local InsertService = game:GetService("InsertService")

local Obfuscate = getrenv()._G.Obfuscate


local Deobfuscate = getrenv()._G.Deobfuscate
local Encrypt = getupvalue(getupvalue(getrawmetatable(getrenv().shared).__index,
3), 6)
local GetKey = getupvalue(getupvalue(getrawmetatable(getrenv().shared).__index, 3),
7)
local Client = {}

function Client:Send(mode, ...)


workspace.Remote[mode]:FireServer(Encrypt({...}, GetKey()))
end

function Client:SpawnVehicle(name, amount, pos)


local oldVehicle = workspace.Vehicles[name]

if oldVehicle.PrimaryPart then
Client:Send("ChangeParent", oldVehicle, game.Lighting.Materials)

for i=1,amount do
workspace.Remote.PlaceMaterial:FireServer(oldVehicle.Name, pos -
oldVehicle.PrimaryPart.Position + Vector3.new(math.random(-20, 0), 0, math.random(-
20, 0)))
end

Client:Send("ChangeParent", oldVehicle, workspace.Vehicles)


Client:Send("ChangeParent", workspace:WaitForChild(oldVehicle.Name),
workspace.Vehicles)
end
end

function Client:SpawnItem(name, amount, pos)


local dataItem = game.Lighting.LootDrops[name]

if dataItem.PrimaryPart then
Client:Send("ChangeParent", dataItem, game.Lighting.Materials)

for i=1,amount do
workspace.Remote.PlaceMaterial:FireServer(dataItem.Name, pos -
dataItem.PrimaryPart.Position + Vector3.new(math.random(-4, 4), 0, math.random(-4,
4)))
end

Client:Send("ChangeParent", dataItem, game.Lighting.LootDrops)


end
end
--[[
UserInputService.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 and
UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) and Mouse.Target then
print("yes")
Client:Send("ChangeParent", Mouse.Target, InsertService)
elseif input.KeyCode == Enum.KeyCode.Z and
UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then
for i,v in pairs(InsertService:GetChildren()) do
Client:Send("ChangeParent", v, workspace)
end
end
end)
--]]

-- Client:Send("AddObject", LocalPlayer.playerstats.slots.slot20, 35)


-- Client:Send("ChangeValue", LocalPlayer.playerstats.skins.skin1, 9)
-- Client:Send("ChangeValue", LocalPlayer.playerstats.skins.skin1.material, 8)
--[[
for i,v in pairs(game.Players:GetPlayers()) do
if v.AccountAge < 10 then
Client:Send("ChangeParent", v, nil)
end
end
--]]
--[[
local Obfuscate = getrenv()._G.Obfuscate
local Deobfuscate = getrenv()._G.Deobfuscate

local Dump = "Apocalypse Rising Items Dump\n\n"

for i,v in pairs(game.Lighting.LootDrops:GetChildren()) do


Dump = Dump.."\n"

if v:FindFirstChild("ObjectID") then
Dump = Dump..Deobfuscate(v.ObjectID.Value).." "
else
Dump = Dump.."- "
end

Dump = Dump..v.Name

end

writefile("Apocalypse Rising Items Dump.txt", Dump)


print("Dump Finished")
]]
workspace.Remote.Chat.OnClientEvent:Connect(function(chatted)
local msg = string.split(chatted.Message, " ")
local plr = chatted.Speaker

spawn(function()
if msg[1] == "/spawn" then
msg[2] = msg[2] or "MRE"
msg[3] = (msg[3] and math.clamp(msg[3], 1, 100)) or 1

if game.Lighting.LootDrops:FindFirstChild(msg[2]) then
Client:SpawnItem(msg[2], msg[3],
plr.Character.HumanoidRootPart.Position)
end
elseif msg[1] == "/spawnid" then
msg[2] = msg[2] or 10
msg[3] = (msg[3] and math.clamp(msg[3], 1, 100)) or 1

itemID = Obfuscate(msg[2])
for i,v in pairs(game.Lighting.LootDrops:GetChildren()) do
if v:FindFirstChild("ObjectID") and
tostring(v.ObjectID.Value) == tostring(itemID) then
item = v
end
end

if item then
Client:SpawnItem(item, msg[3],
plr.Character.HumanoidRootPart.Position)
end
elseif msg[1] == "/kick" then
msg[2] = msg[2]

if game.Players:FindFirstChild(msg[2]) then
local tplr = game.Players:FindFirstChild(msg[2])

if plr == LocalPlayer or
LocalPlayer:IsFriendsWith(plr.UserId) then
warn("good kick request", plr.Name, msg[2])
Client:Send("ChangeParent", tplr, nil)
else
warn("invalid kick request", plr.Name, msg[2])
end
end
elseif msg[1] == "/hunger" then
msg[2] = msg[2] or 100

Client:Send("ChangeValue", plr.playerstats.Hunger, msg[2])


elseif msg[1] == "/thirst" then
msg[2] = msg[2] or 100

Client:Send("ChangeValue", plr.playerstats.Thirst, msg[2])


elseif msg[1] == "/stamina" then
msg[2] = msg[2] or 100

Client:Send("ChangeValue", plr.Backpack.GlobalFunctions.Stamina,
msg[2])
elseif msg[1] == "/god" then
Client:Send("Damage", plr.Character:FindFirstChild("Humanoid"),
math.huge)
--[[ kicks
elseif msg[1] == "/bring" then
msg[2] = msg[2]

if game.Players:FindFirstChild(msg[2]) then

workspace.Remote.AddClothing:FireServer("IsBuildingMaterial",
game.Players:FindFirstChild(msg[2]).Character.HumanoidRootPart, "", "", "")

repeat wait() until


game.Players:FindFirstChild(msg[2]).Character.HumanoidRootPart:FindFirstChild("IsBu
ildingMaterial")

spawn(function() Client:Send("ChangeValue",
game.Players:FindFirstChild(msg[2]).playerstats.position.vec1,
plr.Character.HumanoidRootPart.Position.X) end)
spawn(function() Client:Send("ChangeValue",
game.Players:FindFirstChild(msg[2]).playerstats.position.vec2,
plr.Character.HumanoidRootPart.Position.Y + 10) end)
spawn(function() Client:Send("ChangeValue",
game.Players:FindFirstChild(msg[2]).playerstats.position.vec3,
plr.Character.HumanoidRootPart.Position.Z) end)

workspace.Remote.ReplicatePart:FireServer(game.Players:FindFirstChild(msg[2]).Chara
cter.HumanoidRootPart, plr.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10,
0))
end
--]]
elseif msg[1] == "/test" then
print("Alive players:")
for i,v in pairs(game.Players:GetPlayers()) do
if v.Character and v.Character:FindFirstChild("Humanoid")
and v.Character.Humanoid.Health > 0 then
print(v.Name)
end
end
print("=========")
elseif msg[1] == "/vlist" then
vhcls = {}

for i,v in pairs(workspace.Vehicles:GetChildren()) do


if not table.find(vhcls, v.Name) then
table.insert(vhcls, v.Name)
end
end

workspace.Remote.Chat:FireServer("Global", [[

Avaiable Vehicles:

]].
.table.concat(vhcls, "\n
"))
elseif msg[1] == "/vspawn" then
msg[2] = msg[2] or
workspace.Vehicles:FindFirstChildOfClass("Model").Name
msg[3] = (msg[3] and math.clamp(msg[3], 1, 10)) or 1

if workspace.Vehicles:FindFirstChild(msg[2]) then
Client:SpawnVehicle(msg[2], 1,
plr.Character.HumanoidRootPart.Position)
end
elseif msg[1] == "/vfix" then
if plr.Character.Torso:FindFirstChild("SeatPoint") then
Vehicle =
plr.Character.Torso.SeatPoint.Value.Parent.Parent.Parent
for i,v in pairs(Vehicle.Stats:GetChildren()) do
if v:FindFirstChild("Max") then
Client:Send("ChangeValue", v, v.Max.Value)
end
end

for i,v in pairs(Vehicle.Wheels:GetChildren()) do


Client:Send("WheelVisibleSet", v, "Normal")
end
end
elseif msg[1] == "/vmod" then
if plr.Character.Torso:FindFirstChild("SeatPoint") then
Vehicle =
plr.Character.Torso.SeatPoint.Value.Parent.Parent.Parent

for i,v in pairs(Vehicle.Stats:GetChildren()) do


if v:FindFirstChild("Max") then
Client:Send("ChangeValue", v, 999999)
Client:Send("ChangeValue", v.Max, 999999)
elseif v:FindFirstChild("Offroad") then
Client:Send("ChangeValue", v, 150)
Client:Send("ChangeValue", v.Offroad, 150)
end
end

for i,v in pairs(Vehicle.Wheels:GetChildren()) do


Client:Send("WheelVisibleSet", v, "Normal")
end
end
elseif msg[1] == "/fix" then
for i,v in pairs(game.Lighting.Materials:GetChildren()) do
if v:FindFirstChild("LootCF") then
Client:Send("ChangeParent", v,
game.Lighting.LootDrops)
print("Fixed", v.Name, plr.Name)
end
end
elseif msg[1] == "/help" or msg[1] == "/cmds" then
workspace.Remote.Chat:FireServer("Global", [[

Avaiable Commands:

/spawn <item name> <amount>

/vspawn <vehicle name> <amount>

/vlist
/vfix

/vmod

/hunger <value>

/thirst <value>

/stamina <value>

/god

/fix

/help

Epic gamer admin

COMMANDS CASE SENSITIVE NOOBS

Items List: Pastebin 8NJK1S9p

]])
end
end)
end)

for i,v in pairs(game.Players:GetPlayers()) do


if v.Character and v.Character:FindFirstChild("HumanoidRootPart") then
--[[
Client:Send("Damage", v.Character:FindFirstChild("Humanoid"),
math.huge) -- Can't pick up stuff
--]]
Client:Send("ChangeValue",
LocalPlayer.Backpack.GlobalFunctions.Stamina, 100)
Client:Send("ChangeValue", LocalPlayer.playerstats.Hunger, math.huge)
Client:Send("ChangeValue", LocalPlayer.playerstats.Thirst, math.huge)

for i,v in pairs(v.playerstats.slots:GetChildren()) do


if v:FindFirstChild("ObjectID") and
v.ObjectID:FindFirstChild("Clip") and v.ObjectID.Clip:FindFirstChild("MaxClip")
then
Client:Send("ChangeValue", v.ObjectID.Clip, Obfuscate(999))
Client:Send("ChangeValue", v.ObjectID.Clip.MaxClip, 999)
end
end

Client:SpawnItem("MRE", 5, v.Character.HumanoidRootPart.Position +
Vector3.new(0, -2.5, 0))
Client:SpawnItem("SodaCoke", 5, v.Character.HumanoidRootPart.Position +
Vector3.new(0, -2.5, 0))
Client:SpawnItem("BloodBag", 5, v.Character.HumanoidRootPart.Position +
Vector3.new(0, -2.5, 0))

Client:SpawnItem("MilitaryPackBlack", 1,
v.Character.HumanoidRootPart.Position + Vector3.new(0, -2.5, 0))

Client:SpawnItem("Map", 1, v.Character.HumanoidRootPart.Position +
Vector3.new(0, -2.5, 0))
Client:SpawnItem("GPS", 1, v.Character.HumanoidRootPart.Position +
Vector3.new(0, -2.5, 0))
Client:SpawnItem("Compass", 1, v.Character.HumanoidRootPart.Position +
Vector3.new(0, -2.5, 0))

Client:SpawnItem("AK-74", 1, v.Character.HumanoidRootPart.Position +
Vector3.new(0, -2.5, 0))
Client:SpawnItem("AKAmmo30", 5, v.Character.HumanoidRootPart.Position +
Vector3.new(0, -2.5, 0))
end
end

-- Client:Send("AddDamageSelf", LocalPlayer.Character.Humanoid, 5)
-- Client:Send("ChangeParent", workspace.TerrainChunks, nil)
-- Client:Send("ChangeParent", game.Players.Devilish_Lady, nil)
-- Client:Send("AddHealth", LocalPlayer.Character.Humanoid.Health, 50)

--replicate:FireServer(v.Character.HumanoidRootPart, me.Character.Torso.CFrame +
Vector3.new(math.random(1,10),0,math.random(1,10)))
Client:Send("ReplicatePart", game.Players.LocalPlayer.Character.HumanoidRootPart,
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0, 0, 4))

for i,v in pairs(workspace:GetChildren()) do


if v.Name == "Corpse" then
v:SetPrimaryPartCFrame(LocalPlayer.Character.HumanoidRootPart.Position
+ Vector3.new(math.random(-4, 4), 0, math.random(-4, 4)))
end
end

-- This script was generated by Hydroxide's RemoteSpy:


https://github.com/Upbolt/Hydroxide

local ohString1 = "Global"


local ohString2 = "hi"

workspace.Remote.Chat:FireServer(ohString1, ohString2)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy