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

How do I make a tool that can pull players to you or are you even able to make that?

I’m making this game and I need a tool what you can use so you can pull players to you from where you are standing at. Something like scorpions spear from mortal combat and I’m wondering how I’m suppose to make that can you guys help?

1 answer

✓ Accepted answer

Just change the players' positions in a regular Script.

local tool = script.Parent

tool.Activated:Connect(function() -- when player clicks while tool is equipped
	for _, player in pairs(game.Players:GetPlayers()) do -- loops through each player in the server
		player.Character.HumanoidRootPart.CFrame = tool.Parent.Parent.Character.HumanoidRootPart.CFrame -- changes players' CFrames to the exact CFrame of the player holding the tool 
	end
end)

1 comment

0

Thanks

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