You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
Inventory Pets with viewport frames -
What is the issue? Include screenshots / videos if possible!
The Pets are literally 1 pixel right now and i dont know why can someone help me -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Anything i can tink of
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
for i, v in Inv do
local NewTemplate = PetTemplate:Clone()
local PetModel = PetModels[v.Pet]:Clone()
local Cam = Instance.new("Camera")
NewTemplate.Name = v.ID
NewTemplate:AddTag(v.Pet)
NewTemplate.Parent = PetInv.Inv
ButtonAnimations.Create(NewTemplate)
Cam.Name = v.ID
NewTemplate.Display.CurrentCamera = Cam
PetModel.Parent = NewTemplate.Display
PetModel:PivotTo(CFrame.new(Vector3.new(0,0,0)) * CFrame.Angles(0, math.rad(180), 0))
Camera.CFrame = CFrame.new(Vector3.new(PetModel:GetExtentsSize().X * 1.5, 0, 1), PetModel:GetPivot().Position)
NewTemplate.MouseMoved:Connect(function()
task.spawn(PetHover,v.ID)
end)
end
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.