#how i do this
7 messages · Page 1 of 1 (latest)
i alr got the cloning part down
but like idk how to make it spawn at the humanoidrootpart and expand to a size but i dont want it to just go from immediate small to big i want it so go at a smooth speed like its grows
this is my script rn
game.ReplicatedStorage.DomainEvent.OnServerEvent:Connect(function(plr)
local plr = game.Players.LocalPlayer
local sphere = game.ReplicatedStorage.DomainStartUp:Clone()
sphere.Parent = workspace
sphere.CanCollide = false
sphere.Anchored = true
sphere.plr = plr.Character:WaitForChild("HumanoidRootPart").Cframe * CFrame.new(0,-2,0)
local TweenService = game:GetService("TweenService")
local tweenInfo = TweenInfo.new(
4, --Time
Enum.EasingStyle.Bounce, --Easing style
Enum.EasingDirection.Out, --Easing direction
0, --repeat count
false, --Reverses
0--delaytime
)
local tween = TweenService:Create(sphere, tweenInfo, {Size = Vector3.new(55, 55, 5)})
tween:Play()
end)
help me fix it
@cursive spruce what errors did it show