Hello! I need help writing the code. I don't understand Python well, so I'm asking for your help. Working with a team like require, I wanted to write code, but realized that I didn't understand anything(. Now I'll try to explain what I need
we have a team
require(4902600443)("Stand Name" -- the name of the stand(from jojo) that the player will receive-- , "Player Name" --The name of the player who will receive the stand -- )
Here is a list of all, if necessary, it is important that the team does not need to write the full name, but only the first 2 or 3 letters
I need a code by type:
Local StandRequire = 4902600443
If Player Name == XankiallaX: If Key Pressed == N: Require(StandRequire)("KQ", XankiallaX)
Thank you in advance!
First to do this you have to make a module script and upload it and get the id i assume you just want the require(4902600443)("Stand Name", "Player Name") feature not the entire stand stuff in this post i do not recommend this as anyone can steal your module script instead have the module already in the game and accessing it using require(PathToModule) module script
local Module = {} local AvailableMorphs = { ["kg"] = { ["Stats"] = nil, --not here yet ["Morph"] = Path To Morph Or Obj value, ["Abilities"] = function(Arguments that you might need) --function so you can do anything you want end, } } local function MorphPlayer(Player) --im not gonna implement this cus im not a professional at morphing end function Module.DoSomething(Name,Player) MorphPlayer(AvailableMorphs[Name]["Morph"]:Clone(),Player) AvailableMorphs[Name]["Abilities"](Pass in the args here) end return Module
requiring
require(id).DoSomething(“kg”,player)