![]() No, the cloning doesn’t happen inside of the constructor of the ai, here is the constructor script (AI.new) local Players = game:GetService('Players') Game:GetService("RunService").Stepped:wait()ĪI.new(EnemyAI,'Punch')ĪI.new(FriendlyAI.Noob,'Punch')ĪI.new(FriendlyAI,'Sword',) Players.PlayerAdded:Connect(function(plr) Local EnemyAI = ReplicatedStorage.AI.Enemies Local FriendlyAI = ReplicatedStorage.AI.Allies Local ReplicatedStorage = game:GetService('ReplicatedStorage') Local PathfindingService = game:GetService('PathfindingService') ![]() Local Players = game:GetService('Players') Server script: local RunService = game:GetService('RunService') ![]() Hello, I made an enemy ai module script which I can edit to make different types of ai, but when I clone the ai from replicatedstorage, it doesn’t seem to do anything or even run the module script automatically at all? Do I need to use collectionservice for this or another method or can I somehow run the module script on all clones of a model? Please help. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |