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)

2 comments

0

I don't know, look up a tutorial I guess.

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