Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Help with Interpolation?

Asked by 9 years ago

For some reason the camera goes inside the part,I want this camera to go oustside the part so you can see it,how would I do this? Please show how you manged to make it go out of the part.

local Player = game.Players.LocalPlayer
local Character = Player.Character
local Camera = game.Workspace.CurrentCamera
local Part = game.workspace.Part
local Frame = script.Parent
---------------------------
    Camera.CameraSubject = Part
    Camera.CameraType = "Scriptable"
    Camera:Interpolate(CFrame.new(Part.Position ),CFrame.new(Part.CFrame.lookVector),1)
    ---------------------------
        Frame.Visible = true
            Frame:TweenPosition(UDim2.new(0, 0,0.592, 0),"Out","Back",0.7)

Answer this question