Hello Developers!
I've added a Module Script called: "GladiatorNoob" (The module script for a morph with the same name) Inside of ReplicatedStorage In a folder called: "CharacterStatueModule". This Is the Module Script:
local GladiatorNoobStatus = { --HP-- MaxHP = 250; RageMaxHP = 250; --Speed and JumpPower-- Speed = 25; JumpPower = 60; RageSpeed = 25; RageJumpPower = 60; --Immunity-- IsImmuneToRagdoll = false; IsImmuneToFire = false; IsImmuneToFreeze = false; IsImmuneToSlowness = false; --AttackDamage-- PrimaryAttackDMG = 15; SpecialAttack1DMG = 25; SpecialAttack2DMG = 3; SpecialAttack3DMG = 35; --CoolDown-- PrimaryAttackCD = 1; SpecialAttack1CD = 3; SpecialAttack2CD = .05; SpecialAttack3CD = 5; --Animations-- SwordSlashAnimId = 0000000; --Settings-- HasRage = false; } return GladiatorNoobStatus
I am trying to Import every single status Into a local script In StarterCharacterScripts, this is the local script (Sorry If Empty lol):
--SERVICES-- local UIS = game:GetService("UserInputService") local RP = game:GetService("ReplicatedStorage") local Player = game:GetService("Players").LocalPlayer script.CurrentNoob.Value = Player.Character.Name --Combat-- UIS.InputBegan:Connect(function(Input) if Input.UserInputType == Enum.UserInputType.MouseButton1 then RP.Events.PrimaryPunch:FireServer(script.CurrentNoob.Value) end end)
The Issue Is that I don't know how to Import every stats and even change them If a player decided to charge there morph (E.g. Gladiator Noob to a Hulk Noob)