#Why this clone don't have animation?
1 messages · Page 1 of 1 (latest)
cause ur setting player.Character to nil
set it to the the rig ur cloning
The clone is created when I click the button of what I want to transform into and it creates it correctly but the movements are not there
ik what the problem is
also sorry
i didnt see the secound ss
can see the rig ur cloning
Yes
like this
I spawn correctly with skin
show me this
thats fine
.
theres no animate script
just run ur game and copy the one under ur chacter
Yes but when we know the character is as still as a log
Lol
** You are now Level 1! **
what does this mean
No default animation
like i said
do this
Im running game and now?
go to ur chacater
I have to serach my name in explorer?
it should be uner workspace
iits a model with ur name
and under it there should be a blue script name animatee
did you add it while the game wanst running?
Yes
show me the rig ss
When I start the game I don't find the parts of this skin in my model so I think it's the wrong script
show me a ss of ur player chacater after you transformed
I don't think he can make a clone.
Only model with my name
just double checking
Can u rewatch my script?
yes can you do what i asked?
yes but i need to see children of it
How?
** You are now Level 2! **
Ok
and hitting the arrow
.
idk im gonna do some testing
I dont have HumanoidRootPart
I think this is the problem
Ow im stuid sorry
If I rename this character with StarterCharacter and put it in StarterPlayer it works
ok
must be thee code
lemme go look at it again
Yes
idk
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
local replaced = false
player.CharacterAdded:Connect(function(character)
if replaced then return end
replaced = true
local rig = workspace:FindFirstChild("Rig")
if rig then
local newRig = rig:Clone()
newRig.Name = player.Name
player.Character = newRig
newRig.Parent = workspace
end
end)
end)
this is my test code
and it works
its not really different that urs
😭
and its not
player.Character:Destroy()
player.Character = nil
I have to delete this?
no
well you can
it basically does nothing
same with the primary part stuff
you can remove that
** You are now Level 11! **
yes
i thought u went to go sleep
ok
Ok done
try running it again
idk
😭
what close select gar
ok
?
looks fine
I delete if player…
remove the
if player.Character then
player.char:destory()
plater.char = nil
end
idk ur code is the same as mine
What can I do?
ur humanoid is empty
mine isnt
maybe its that
it has smt called animator so maybe
Ok give me 2 sec
** You are now Level 3! **
Like this?
.
animator is under humanoid not humanoiddescripion
It is
.
oops mb
Can I send u a copy of this file?
sure
Because I hate roblox studio
me too
Done.
Fr?
its really dumb
clone.Parent = workspace
has to be called after
player.Character = clone
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Morph = ReplicatedStorage:WaitForChild("Morph")
local SpawnMorph = ReplicatedStorage:WaitForChild("SpawnMorph")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local CloseSelectGAR = ReplicatedStorage:WaitForChild("CloseSelectGAR")
local spawnPoints = {
["Spawn1"] = workspace:WaitForChild("SpawnGAR"),
["Spawn2"] = workspace:WaitForChild("SpawnRaider"),
}
SpawnMorph.OnServerEvent:Connect(function(player, divisionName, morphName, spawnName)
local folder = Morph:FindFirstChild(divisionName)
if not folder then
warn("Divisione non trovata:", divisionName)
CloseSelectGAR:FireClient(player) -- chiudi GUI anche se non trovi divisione
return
end
--local model = folder:FindFirstChild(morphName)
local model = workspace:FindFirstChild("TestRig")
if not model then
warn("Morph non trovato:", morphName)
CloseSelectGAR:FireClient(player)
return
end
local spawnLocation = spawnPoints[spawnName]
if not spawnLocation then
warn("Spawn non trovato:", spawnName)
CloseSelectGAR:FireClient(player)
return
end
local clone = model:Clone()
clone.Name = player.Name
clone:SetPrimaryPartCFrame(spawnLocation.CFrame + Vector3.new(0, 5, 0))
player.Character = clone
clone.Parent = workspace
print(player.Name .. " spawnato come morph " .. morphName .. " in " .. spawnName)
CloseSelectGAR:FireClient(player)
end)
theres the code
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Morph = ReplicatedStorage:WaitForChild("Morph")
local SpawnMorph = ReplicatedStorage:WaitForChild("SpawnMorph")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local CloseSelectGAR = ReplicatedStorage:WaitForChild("CloseSelectGAR")
local spawnPoints = {
["Spawn1"] = workspace:WaitForChild("SpawnGAR"),
["Spawn2"] = workspace:WaitForChild("SpawnRaider"),
}
SpawnMorph.OnServerEvent:Connect(function(player, divisionName, morphName, spawnName)
local folder = Morph:FindFirstChild(divisionName)
if not folder then
warn("Divisione non trovata:", divisionName)
CloseSelectGAR:FireClient(player) -- chiudi GUI anche se non trovi divisione
return
end
local model = folder:FindFirstChild(morphName)
if not model then
warn("Morph non trovato:", morphName)
CloseSelectGAR:FireClient(player)
return
end
local spawnLocation = spawnPoints[spawnName]
if not spawnLocation then
warn("Spawn non trovato:", spawnName)
CloseSelectGAR:FireClient(player)
return
end
local clone = model:Clone()
clone.Name = player.Name
clone:SetPrimaryPartCFrame(spawnLocation.CFrame + Vector3.new(0, 5, 0))
player.Character = clone
clone.Parent = workspace
print(player.Name .. " spawnato come morph " .. morphName .. " in " .. spawnName)
CloseSelectGAR:FireClient(player)
end)
No
whats wrong?
: (
when i dont use the test model it doesnt work
Lol
I delet all humanoid child
If you can find the problem please let me know @coarse sigil
idk smt with the welds and snaps in ur rig its kinda setup werid
also i tested it as a startercharacter
and it didnt work for me
but you said it work for you
No it doesn't move for me either
?? but this said it works