01 | local Tool = script.Parent |
02 | local Baseball = Tool.Handle |
03 |
04 | function plant() |
05 | local baseball 2 = Baseball:Clone() |
06 | local spawnPos = Baseball.Position |
07 | baseball 2. Position = Vector 3. new(spawnPos.x, spawnPos.y, spawnPos.z) |
08 | baseball 2. Anchored = false |
09 | baseball 2. Parent = workspace |
10 | baseball 2. Size = Baseball.Size |
11 | baseball 2. Shape = 0 |
12 | baseball 2. BottomSurface = 0 |
13 | baseball 2. TopSurface = 0 |
14 | baseball 2. Reflectance = 0 |
15 | baseball 2. Name = "TimeBomb" |
16 | baseball 2. Locked = true |
17 | baseball 2. CanCollide = true |
18 | baseball 2. Transparency = 0 |
19 | -- How can I make the part go up in the air. |
20 | end |
1 | local Velocity = Instance.new( "BodyVelocity" , baseball 2 ) |
2 | Velocity.Velocity = Vector 3. new( 100 , 50 , 0 ) |