Quick actions

cmd+k|ctrl+k

Navigation

Languages

boot

Snippet info

Language

Lua

Visibility

public

Author

lazarovalkyrie

Created

2024-08-01T18:43:41.308036Z

Updated

2024-08-01T18:46:47.234916Z

local plr = owner
local char = plr.Character
local torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")

Tool0 = Instance.new("Tool")
Part1 = Instance.new("Part")
SpecialMesh2 = Instance.new("SpecialMesh")
Tool0.Name = "Boot"
Tool0.Parent = plr.Backpack
Tool0.Grip = CFrame.new(0, -0.222201347, -0.905359745, -1, 0, 0, 0, 1, 0, 0, 0, -1)
Part1.Name = "Handle"
Part1.Parent = Tool0
Part1.CFrame = CFrame.new(-22.43046, 2.26852894, -68.1637268, -9.28728914e-05, -0.677499533, -0.735523343, 0.0380967073, 0.734986424, -0.677010179, 0.999273837, -0.0280841347, 0.0257421304)
Part1.Orientation = Vector3.new(42.6100006, -88, 2.97000003)
Part1.Position = Vector3.new(-22.43046, 2.26852894, -68.1637268)
Part1.Rotation = Vector3.new(87.8199997, -47.3499985, 90.0100021)
Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
Part1.Size = Vector3.new(1.7, 1.832, 2.676)
Part1.BottomSurface = Enum.SurfaceType.Smooth
Part1.BrickColor = BrickColor.new("Dark stone grey")
Part1.TopSurface = Enum.SurfaceType.Smooth
Part1.brickColor = BrickColor.new("Dark stone grey")
Part1.FormFactor = Enum.FormFactor.Plate
Part1.formFactor = Enum.FormFactor.Plate
SpecialMesh2.Parent = Part1
SpecialMesh2.MeshId = "rbxassetid://454371988"
SpecialMesh2.Scale = Vector3.new(0.002, 0.002, 0.002)
SpecialMesh2.TextureId = "rbxassetid://454371992"
SpecialMesh2.MeshType = Enum.MeshType.FileMesh

local handle = Tool0.Handle

local slap = Instance.new("Sound")
slap.Parent = Part1
slap.SoundId = "rbxassetid://173818824"
slap.Volume = 0.5

local equipped = false
local using = false

handle.Touched:Connect(function(obj)
	if using then else return end
	local targchar,targtorso,targhum
	pcall(function()
		targchar = obj.Parent
	end)
	pcall(function()
		targtorso = targchar:FindFirstChild("Torso") or targchar:FindFirstChild("HumanoidRootPart") or targchar:FindFirstChild("Head")
	end)
	pcall(function()
		targhum = targchar:FindFirstChildOfClass("Humanoid")
	end)
	if targchar and not obj:IsDescendantOf(char) and targtorso and targhum and not targhum:FindFirstChild("poopi") then
		local tempval = Instance.new("IntValue")
		tempval.Parent = targhum
		tempval.Name = "poopi"
		local force = Instance.new("BodyVelocity")
		force.Parent = targtorso
		force.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
		force.Velocity = torso.CFrame.lookVector*50+Vector3.new(0,10,0)
		local or_force = Instance.new("BodyAngularVelocity")
		or_force.Parent = targtorso
		or_force.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
		or_force.P = math.huge
		or_force.AngularVelocity = Vector3.new(math.random(-360,360),math.random(-360,360),math.random(-360,360)) --torso.CFrame.lookVector*1000+Vector3.new(0,100,0)
		game:GetService("Debris"):AddItem(force,0.5)
		game:GetService("Debris"):AddItem(tempval,0.5)
		game:GetService("Debris"):AddItem(or_force,0.5)
		slap:Play()
		if torso then
		    for i = 1,3,0.1 do
		        torso.Velocity = Vector3.new()
		    end
	    end
	end
end)

Tool0.Equipped:Connect(function()
	pcall(function()
		char = Tool0.Parent
	end)
	pcall(function()
		plr = game:GetService("Players"):GetPlayerFromCharacter(char)
	end)
	pcall(function()
		torso = char:FindFirstChild("Torso") or char:FindFirstChild("HumanoidRootPart")
	end)
	if plr and char and torso then else Tool0.Parent = workspace; return; end
	equipped = true
end)

Tool0.Unequipped:Connect(function()
	equipped = false
end)

Tool0.Activated:Connect(function()
	using = true
	game:GetService("TweenService"):Create(Tool0,TweenInfo.new(0.1),{Grip = CFrame.new(0, -0.222201347, -0.905359745, -1, 0, 0, 0, 0.455556929, 0.890206635, 0, 0.890206635, -0.455556929)}):Play()
	wait(0.3)
	game:GetService("TweenService"):Create(Tool0,TweenInfo.new(0.2),{Grip = CFrame.new(0, -0.222201347, -0.905359745, -1, 0, 0, 0, 1, 0, 0, 0, -1)}):Play()
	using = false
end)
INFO