I was making Stands Rig’s for my jojo game and this has been bugging me for a long time and i can’t wrap my brain around it if anyone needs to see he script to find the problem tell me in the comments and i will post images of script if needed.
And if you don’t understand what i mean the link to my game is below the summon button is Q
Instead of an image of the code, why don’t you post in code blocks?
-- this is a code block
For reference:
https://devforum.roblox.com/raw/910999/3
The code would be necessary if you want help with that, otherwise we’ll be beating about a bush and find little to no results.
local rp = game:GetService(“ReplicatedStorage”)
local Stand = rp:WaitForChild(“Stand”)
Stand.OnServerEvent:Connect(function(player,active)
if active == false then
local Character = player.Character
local HumanoidRP = Character:WaitForChild(“HumanoidRootPart”)
local Folder = Instance.new("Folder",workspace)
Folder.Name = player.Name.." Stand"
local Mystand = script:WaitForChild("Dummy"):Clone()
Mystand.Parent = Folder
Mystand:WaitForChild("HumanoidRootPart").CFrame = HumanoidRP.CFrame * CFrame.new(2,0,2)
local animControl = Mystand:WaitForChild("AnimControl")
local idle = animControl:LoadAnimation(script:WaitForChild("Idle"))
idle:Play()
local weld = Instance.new("ManualWeld")
weld.Name = "Stand Weld"
weld.Part0 = Mystand:WaitForChild("HumanoidRootPart")
weld.Part1 = HumanoidRP
weld.C0 = Mystand:WaitForChild("HumanoidRootPart").CFrame:inverse() * HumanoidRP.CFrame
weld.Parent = weld.Part0
end
end)
Stand.OnServerEvent:Connect(function(player,active)
if active == true then
local Character = player.Character
local HumanoidRP = Character:WaitForChild(“HumanoidRootPart”)
local myStand = workspace:WaitForChild(player.Name.." Stand")
myStand:Destroy()
Stand:FireClient(player)
end
end)
this if i remember correctly is what make the dummy follow behind

