This Is A BRAND New Channel So If You Could Like And Subscribe It Would Mean The WORLD To Me, Thank You!
-------------------------------------------------------------
Pet Following Script:
local pet = script.Parent
function givepet(player)
if player then
local character = player.Character
if character then
local humanrootpart = character.HumanoidRootPart
local newpet = pet:Clone()
newpet.Parent = character
local BodyPos = Instance.new("BodyPosition", newpet)
BodyPos.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
local bodyGyro = Instance.new("BodyGyro", newpet)
bodyGyro.MaxTorque = Vector3.new (math.huge, math.huge, math.huge)
while wait() do
BodyPos.Position = humanrootpart.Position + Vector3.new(3,2,3)
bodyGyro.CFrame = humanrootpart.CFrame
end
end
end
end
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
givepet(player)
end)
end)
-------------------------------------------------------------
24 авг 2024