Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.PlayerAdded:Connect(function(plr)
- plr.CharacterAdded:Connect(function(char)
- local hrp = char:WaitForChild("HumanoidRootPart")
- local petClone = script.Pet:Clone()
- local bodyPos = Instance.new("BodyPosition")
- bodyPos.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bodyPos.Parent = petClone.MainPart
- local bodyGyro = Instance.new("BodyGyro")
- bodyGyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
- bodyGyro.Parent = petClone.MainPart
- petClone.Parent = char
- wait()
- petClone.MainPart:SetNetworkOwner(plr)
- end)
- end)
Add Comment
Please, Sign In to add comment