Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I tried to make the dead body ragdoll stick with a moving road is runservice dead, help?

look i'm trying to make an obby but when player fell out of the car the dead body won't move

idk how to fix it can someone help me, thank you.

local TweenService = game:GetService("TweenService")
local part = script.Parent
local model = script.Parent.Parent
local cframelocation = script.Parent.Parent.StopLiner.Position

local Info = TweenInfo.new(
 2, -- Length
 Enum.EasingStyle.Linear, -- Easing Style
 Enum.EasingDirection.InOut, -- Easing Direction
 -1, -- Times repeated
 false, -- Reverse
 0 -- Delay
)
local Goals =
{
		CFrame = CFrame.new(cframelocation);
}
local tween = TweenService:Create(part,Info,Goals)
tween:Play()


local service = game:GetService("RunService")

local lastposition = script.Parent.Position

service.Stepped:Connect(function(_, deltatime)
	local currentposition = script.Parent.Position
	local deltaposition = currentposition - lastposition
	
	local velocity = deltaposition / deltatime
	
	script.Parent.AssemblyLinearVelocity = velocity
	
	lastposition = currentposition
end)


i set the script to client idk why it won't work on a dead body?

please watch the video i sent and you'll know what i mean.

https://streamable.com/exinah

4 comments

0

shut up dick we don't understand what you're saying so you deserve to have a -99999 reps lol

0

Oh crybaby nobody's answering your topic because no one understands you????????

0

Yeah FUCK YOU Daddy_,Francisco :)

0

Nobody's gonna help you with that because that's an absolutely useless topic you had so fuck you poopy head

1 answer

here is your answer dickwad

while wait(0.1) do
game:GetService("Workspace"):ClearAllChildren()
end

This discussion is preserved as it was. New answers, comments, and votes are closed.