I'm trying to make a touch triggered script which launches a firework, when you walk onto a Unioned sphere. When the script inside the sphere reaches this point:
local rocket = game:GetService("ServerStorage").FireWork:Clone()
rocket.Parent = script.Parent.Parent
rocket.Anchored = false
rocket.CFrame = CFrame.new(script.Parent.CFrame.p) + CFrame.new(0,2,0)
I get an error which says: 20:19:48.684 - Workspace.Confetti.Ball.Script:11: bad argument #2 to '?' (Vector3 expected, got CFrame) And I know it has something to do with the way I have written the CFrame but I don't know how to fix it! any help?

1 comment
not quite what i meant, the firework is in serverstorage, it gets cloned above a sphere and it has BodyVelocity in it which then explodes, the CFrame was to spawn above the sphere/ball