


Game:GetService("RunService").Heartbeat:Connect(function()Ītt0.Position = ĪlignPosition.Responsiveness = PetModel.Responsiveness Error loading script a in resource vRPTCG: vrp/lib/a:13: bad argument 1 to 'load' (function expected, got nil) stack traceback: C: in function 'load' vrp/lib/a:13: in function 'module' a:7: in main chunk Failed to load script a. You can even use the -p option to only perform a syntax checking, according to the linked man page : -p load files but do not generate any output file. Your program will also have the advantage the run faster if it is compiled. It will only compile your file to bytecode without executing it. Local AlignOrientation = Instance.new("AlignOrientation")ĪlignOrientation.MaxTorque = ĪlignOrientation.Responsiveness = ĪlignOrientation.Parent = PetModel.PrimaryPart 3 Answers Sorted by: 10 You can use the LUA Compiler. Local AlignPosition = Instance.new("AlignPosition")ĪlignPosition.MaxForce = ĪlignPosition.Responsiveness = ĪlignPosition.Parent = PetModel.PrimaryPart

Local PetAttachments = Character.HumanoidRootPart:FindFirstChild("PetAttachments")Ītt0.Position = PetModel:FindFirstChild("AttachmentPosition").Value PetAttachments.Parent = Character.HumanoidRootPart Local PetAttachments = Instance.new("Folder") If not Character.HumanoidRootPart:FindFirstChild("PetAttachments") then Lorem ipsum dolor sit amet, consectetur adipiscing elit. PetModel.Parent = workspace.Pet:FindFirstChild((Player.Name)) RAPPELZ BEST PRIVATE SERVER AVAILABLE FOR THE MOMENT TRY AND PLAY AN AMAZING ADVENTURE WITH US BEST PRIVATE SERVER AVAILABLE FOR THE MOMENT TRY AND PLAY AN AMAZING ADVENTURE WITH US. Local PetModel = Pet:FindFirstChild(PetName) Local ReplicatedStorage = game:GetService("ReplicatedStorage")įunction module.EquipPet(Player, PetName) Script: local PetModule = require(ServerModules.PetModule)
#Error on loading lua script files rappelz private server code
Yeah So, I'm coding a Roblox game and this script gets an error every time, I even restarted roblox studio to try fixing it but it didn't work and I tried messing around with the code but I couldn't figure it out, can someone please help?
