Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago
Edited 3 years 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. coolp_xels 105 — 3y
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 126 — 3y

Answer this question