local pet = game.ReplicatedStorage.Model
local clonedpet = pet:Clone()
script.Parent.Parent.Visible = true
script.Parent.FocusLost:Connect(function(enter)
if enter then
script.Parent.Parent.Visible = false
clonedpet.Parent = game.Workspace
clonedpet.Position = Vector3.new(-35.4, 1.9, 8.85)
pet.Body.BillboardGui.TextLabel.Text = (script.Parent.Text)
end
end)
COMMUNITY QUESTION
I want to make Gui to name a pet and pet spawns but his name is Label?
2 answers
Get rid of the brackets
I noticed you are trying to change the text of the pet in Replicated storage. You cloned “pet”. So correct me if I’m wrong, you should be saying clonedpet.Body.BillboardGui.TextLabel.Text = script.parent.Text
This discussion is preserved as it was. New answers, comments, and votes are closed.
