hi there, i was currently working on “Eletric Ball” and also “Eletric Orb”, let me Explain, Eletric Ball is an my main creation in Roblox i was created. it becomes Brighter the more faster Eletric ball goes, Then when Eletric Ball’s Velocity is high enough, it becomes white and turned Neon. and also when Eletric Ball’s Velocity is high enough and Touch NPC or Player, it will kill them instantly and loses shock health. second is “Eletric Orb”
it’s a Second Upcoming Creation of my Eletric Ball Creation, Eletric Balls Can Absorbs the Eletric Orbs and then has Shock Health Increases, it gets bigger the more Eletric Orbs Stacked, but i got a problem of sizing using script.
Here’s a Eletric Orb’s Script:
script.Parent.Touched:Connect(function(hit)
if hit.Name == "Eletric Ball" then
hit.ShockHealth.Value += math.random(2,10) * script.Parent.Stacked.Value
script.Parent:Destroy()
end
if hit.Name == "Eletric Orb" and script.Parent.Stacked.Value >= hit.Stacked.Value then
script.Parent.Stacked.Value += hit.Stacked.Value
hit:Destroy()
end
end)
while wait() do
script.Parent.Size = Vector3.new(4.25 * script.Parnet.Stacked.Value, 4.25 * script.Parnet.Stacked.Value, 4.25 * script.Parnet.Stacked.Value)
end
Here’s The Video For Example:
so, any clues?