I've looked on the Roblox wiki but found it confusing, i gave it ago anyway but it doesn't work so i assume I've done it wrong.
local Dobounce = true
while Dobounce == true do wait()
if script.Parent.Health <= 50 then
local PositionX = script.Parent.Parent.HumanoidRootPart.Position.X
local PositionZ = script.Parent.Parent.HumanoidRootPart.Position.Z
local PositionY = script.Parent.Parent.HumanoidRootPart.Position.Y
local Blood = game.ServerStorage.Misc.Blood:Clone()
Blood.Parent = script.Parent.Parent
Blood.Position = Vector3.new(PositionX,PositionY -3,PositionZ)
Blood.Orientation = Vector3.new(0,math.random,90)
Dobounce = false
end
end
Any help is much appreciated!

1 comment
Yea i just figured it out, Thank you for the help :)