So I am making a M1 system for my RPG game and I wanted the players like Noob or Guest to have their own M1 the problem is when I become them the M1 system stops working here is a video on the problem. I am new to coding still so I am like 85% sure I am missing like a whole script for this to work but here is my explorer tab too.
#M1 system confusion/ help wanted
1 messages · Page 1 of 1 (latest)
show the script
assuming the M1 script so here you go (it is spanned on multiple scripts btw)
heres where they are located
show me the script that you use to replace the player's character, not the m1
I dont believe that's the correct way of applying a new charactermodel
Developer Forum | Roblox
local Character = — local ChangeInto =— local OldNeck = Character.Humanoid.RequiresNeck local OldJointsOnDeath = Character.Humanoid.BreakJointsOnDeath local OldPlatformStand = Character.Humanoid.PlatformStand local OldCFrame = Character.HumanoidRootPart.CFrame Character.Humanoid.RequiresNeck = false Character.Humanoid.BreakJointsOnDea...
try looking into this if it doesn't help let me know
Before I do will this screw up my roster page bc I have it so if it finds a image button with a character model with the same name and let me change it. Ps I just saw the message
dont put the script
in character scripts
put it in serverscripts
I assume you got this code from this one youtber
youtuber*
also
whenever u die
anything inside characterscipts resets
Yes it is somewhat temp till I can find a way around it but when I die it puts me as my actual avatar again
what is it?
you mean for the M1 script im assuming if so its 50/50 it only works before I change to like noob or someone else
like when u press m1 does the server script work
lemme js
read rq
can u just copy the scripts
and send here
like not the code
just the script itself
M1 script and InputManager
send me it as file
the morph script?
** You are now Level 3! **
here you go
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local animationsfolder = ReplicatedStorage:WaitForChild("Animations")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local char = script.Parent.Parent
local hum = char:WaitForChild("Humanoid")
local animator = hum:WaitForChild("Animator")
local m1sPerformed = 0
local currentM1 = 0
local m1Debounce = false
local comboEndCooldown = 1
local waitBeforeReset = 1
Bindfunc.OnInvoke = function()
if not m1Debounce then
m1Debounce = true
m1sPerformed += 1
currentM1 += 1
local correspondingM1anim = animationsfolder:FindFirstChild("Animation 1")
local m1Track = animator:LoadAnimation(correspondingM1anim)
m1Track:Play()
task.wait(m1Track.Length - 0.1)
task.spawn(function()
local oldM1sPerformed = m1sPerformed
task.wait(waitBeforeReset)
if oldM1sPerformed == m1sPerformed then
currentM1 = 0
end
end)
if currentM1 == 3 then
task.wait(comboEndCooldown)
currentM1 = 0
end
m1Debounce = false
end
end``` try this
this is the M1 script
It works on my main model but when I change to noob I get nothing happening
Any idea how to fix it?
I got it from a tut on yt
this one Im pretty sure
https://www.youtube.com/watch?v=8sdPq9mDLfE
Get Ludius as your scripting teacher (Scripter Accelerator): https://www.skool.com/scripting-accelerator-7217/about
Discord community: https://discord.gg/5Vf2mMWCd3
waht's that??
The M1 system they asked to see it
u can do combat systeme?
if u can come dms
That was my first and it doesnt work how i want it to here. Do you know how I can fix my problem?
show me u prob