Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove :cut command #1590

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 0 additions & 71 deletions MainModule/Server/Commands/Fun.luau
Original file line number Diff line number Diff line change
Expand Up @@ -2086,77 +2086,6 @@ return function(Vargs, env)
end
};

Cut = {
Prefix = Settings.Prefix;
Commands = {"cut", "stab", "shank", "bleed"};
Args = {"player"};
Description = "Make the target player(s) bleed";
Fun = true;
AdminLevel = "Moderators";
Function = function(plr: Player, args: {string})
for _, v in service.GetPlayers(plr, args[1]) do
task.spawn(Pcall, function()
if not v:IsA("Player") or not v or not v.Character or not v.Character:FindFirstChild("Head") or v.Character:FindFirstChild("ADONIS_BLEED") then return end
local run = true
local k = service.New("StringValue", v.Character)
k.Name = "ADONIS_BLEED"
Routine(function()
repeat
task.wait(0.15)
v.Character:FindFirstChildOfClass("Humanoid"):TakeDamage(1)
local p = service.New("Part", v.Character)
p.CanCollide = false
local color = math.random(1, 3)
local bcolor
if color == 1 or color == 3 then
bcolor = BrickColor.new(21)
elseif color == 2 then
bcolor = BrickColor.new(1004)
end
p.BrickColor = bcolor
local m=service.New("BlockMesh", p)
p.Size = Vector3.new(0.1, 0.1, 0.1)
m.Scale = Vector3.new(math.random()*0.9, math.random()*0.9, math.random()*0.9)
p.Locked = true
p.TopSurface = "Smooth"
p.BottomSurface = "Smooth"
p.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(Vector3.new(2, 0, 0))
p.AssemblyLinearVelocity = v.Character.Head.CFrame.lookVector * 1 + Vector3.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
p.Anchored = false
m.Name = "Blood Peice"
p.Name = "Blood Peice"
p.Touched:Connect(function(o)
if not o or not o.Parent then return end
if o and p and (not service.Players:FindFirstChild(o.Parent.Name)) and o.Name ~= "Blood Peice" and o.Name ~= "Puke Peice" and o.Name ~= "Puke Plate" and o.Name ~= "Blood Plate" and (o.Parent:IsA("Workspace") or o.Parent:IsA("Model")) and (o.Parent ~= p.Parent) and o:IsA("Part") and (o.Parent.Name~=v.Character.Name) and (not o.Parent:IsA("Accessory")) and (not o.Parent:IsA("Tool")) then
local cf = CFrame.new(p.CFrame.X, o.CFrame.Y+o.Size.Y/2, p.CFrame.Z)
p:Destroy()
local g = service.New("Part", workspace.Terrain)
g.Anchored = true
g.CanCollide = false
g.Size = Vector3.new(0.1, 0.1, 0.1)
g.Name = "Blood Plate"
g.CFrame = cf
g.BrickColor = BrickColor.new(21)
local c = service.New("CylinderMesh", g)
c.Scale = Vector3.new(1, 0.2, 1)
c.Name = "BloodMesh"
task.wait(10)
g:Destroy()
elseif o and o.Name == "Blood Plate" and p then
p:Destroy()
o.BloodMesh.Scale = o.BloodMesh.Scale+Vector3.new(0.5, 0, 0.5)
end
end)
until run == false or not k or not k.Parent or (not v) or (not v.Character) or (not v.Character:FindFirstChild("Head"))
end)
task.wait(10)
run = false
k:Destroy()
end)
end
end
};

Poison = {
Prefix = Settings.Prefix;
Commands = {"poison"};
Expand Down
Loading