Message
Message
Message
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
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
if v:FindFirstChild("ObjectID") then
Dump = Dump..Deobfuscate(v.ObjectID.Value).." "
else
Dump = Dump.."- "
end
Dump = Dump..v.Name
end
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.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, "", "", "")
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 = {}
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
Avaiable Commands:
/vlist
/vfix
/vmod
/hunger <value>
/thirst <value>
/stamina <value>
/god
/fix
/help
]])
end
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))
workspace.Remote.Chat:FireServer(ohString1, ohString2)