Ad
Log in to vote
0

how to make part follow me im trying to make pet ?

Asked by 3 months ago
Edited 3 months ago

i dont know what is the problem in my script this is the script

game.Players.PlayerAdded:Connect(function(Player)   
local character = Player.Character
local humRootPart = character.HumanoidRootPart
local FirePet = game.ServerStorage.Pets.FirePet
local bodyPos = game.ServerStorage.Pets.FirePet.BodyPosition
local bodyGyro = game.ServerStorage.Pets.FirePet.BodyGyro   
                bodyPos.Position = humRootPart.Position + Vector3.new(2, 2, 3)
                bodyGyro.CFrame = humRootPart.CFrame

        FirePet.CanCollide = false  



end)

0
I don't know, look up a tutorial I guess. popsi_le 97 — 3mo
0
I think I got it, try to weld it to your character and see if that works, if you don't know how welding works look at this video: https://www.youtube.com/watch?v=LEy0po6sLso&list=PLhieaQmOk7nIoGnFoACf33M3o0BOqB38a&index=10 KixWater 111 — 3mo

Answer this question