I made a health potion script but it won't work the title is weird cuz bot is calling my title spam
script:
local heal = game.ReplicatedStorage.ShootingStuff.HealPotion
local tool = script.Parent.Handle
local cap = script.Parent.Cap
script.Parent.Equipped:Connect(function(mouse)
mouse.Button1Down:Connect(function()
local throw = heal:Clone()
throw.Parent = workspace
throw.PrimaryPart.Position = tool.Position
throw.Juice.Position = tool.Position
throw.Cap.Position = cap.Position
script.Parent.Handle:Destroy()
script.Parent.Cap:Destroy()
script.Parent.Juice:Destroy()
wait(0.25)
local h = script.Parent.Parent:FindFirstChild("Humanoid")
if h then
if h.Health > 0 then
h.Health = h.Health + 50
end
end
local particles = game.ReplicatedStorage.Particles["Heal Effect"]
particles.Parent = workspace.HealPotion.Juice
wait(3.5)
throw:Destroy()
script.Parent:Destroy()
end)
end)

7 comments
there's no ui
I'm saying make one
I'm not cloning the tool I'm cloning a model
same thing did it work?
oh I get it I'll make a other script
ya but a local script in a text button
please help its me Cats767_99 and I'm suspended :(