For some reason, this happens, I don’t think it’s an error, but well, this doesn’t works
function Cooking:End()
if self.Cooking then
self.Cooking = false
end
self.GrabAnimation:Stop()
self.Step = 0
self.Ingredients = {}
self.StepInformation = nil
for i,v in ipairs(self.GuiConnections) do
v:Disconnect()
end
self:GrabIngredient(nil)
local Thingy = game.ReplicatedStorage.CookingSystem.Ingredients:FindFirstChild(self.CookingWhat)
if Thingy then
Thingy:Clone()
Thingy.Handle.Anchored = true
Thingy:SetPrimaryPartCFrame(self.SomethingGrilling.Handle)
self.SomethingGrilling:Destroy()
local ClickDetector = Instance.new('ClickDetector',Thingy)
self.GuiConnections['ClickDetector'] = ClickDetector.MouseClick:Connect(function()
for i,v in ipairs(Thingy) do
v.CanCollide = false
self:GrabIngredient(Thingy)
end
self.GuiConnections['ClickDetector']:Disconnect()
end)
end
end
If I recall correctly, pressing Shift + Enter tells the word to only go down one line instead of creating a gap like when pressing Enter . Pressing Shift + Enter does not create a paragraph while Enter does, which explains the bug and the unicode error.