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

I was wondering how I could "Throw" a part. How can I do that?

local Tool = script.Parent
local Baseball = Tool.Handle

function plant()
	local baseball2 = Baseball:Clone() 
	local spawnPos = Baseball.Position
	baseball2.Position = Vector3.new(spawnPos.x, spawnPos.y, spawnPos.z)
	baseball2.Anchored = false
	baseball2.Parent = workspace
	baseball2.Size = Baseball.Size
	baseball2.Shape = 0
	baseball2.BottomSurface = 0
	baseball2.TopSurface = 0
	baseball2.Reflectance = 0
	baseball2.Name = "TimeBomb"
	baseball2.Locked = true
	baseball2.CanCollide = true
	baseball2.Transparency = 0
	 -- How can I make the part go up in the air.
end

3 comments

0

There are many ways (tweening, vectorforces, bodyforces, velocity) could you go into further detail on how it would ideally look?

0

Yes I can send a link to what it will look like. Just a sec. I will make a picture

0

1 answer

local Velocity = Instance.new("BodyVelocity", baseball2)
Velocity.Velocity = Vector3.new(100, 50, 0)

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