So I’m creating classes for a game that I’m a dev for. I’ve never done this before and I’m wondering where to start. This is extremely useful information that can be used on things other than class selection, so please, no work arounds.
-- Do not touch. Control's classes and their functions. ask crolaa for permission to change
local classes = game.ServerStorage.Classes
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local event = ReplicatedStorage.classes
local function giorno(player)
local plr = player
local model = classes.Giorno.StarterCharacter
model.Parent = player.StarterPlayer
end
So i want to be able to fire a remote event like this classevent:FireServer(giorno)
Giorno is where i put the class name to choose. so if i wanted a different class classevent:FireServer(bruno)
Thank you for reading!