#Attempted to grab Instance Value error

27 messages · Page 1 of 1 (latest)

plain ibex
#

I don't know how to fix this can y'all help [The error is on line 13]?

local leftDoor = script.Parent
local Prompt = game.Workspace.DoubleDoors1.KeyCardReader.RedPart.Attachment.ProximityPrompt
local TweenService = game:GetService("TweenService")
local TweenInfo = TweenInfo.new(1,Enum.EasingStyle.Exponential,Enum.EasingDirection.Out, 0, false, 0)
local Property1 = {

    CFrame = CFrame.new(36.461,9.95,11)
    --removed leftdoor as it is an entirely new cframe

}
Prompt.Triggered:Connect(function()
    print("Prompt Triggered")
    local tween = TweenService(leftDoor,TweenInfo,Property1)
    tween:Play()
end)
plain ibex
#

ah I got a friend to try fix it but I guess he forgot it

quiet shoal
#

also i dont recommend storing the properties in a separate variable

plain ibex
#

It works finally

#

but

#

i have another question

#

it kinda turns (Does a 180) to open

vital coyoteBOT
#

studio** You are now Level 2! **studio

plain ibex
#

but i want it to just slide

#

do you know how to do it?

spark lynx
quiet shoal
quiet shoal
spark lynx
plain ibex
#

yo @quiet shoal

#

Ill try send a videa

#

video*

#

It's just loading

#

I'll Dm you the video @quiet shoal

#

nvm

#

but

quiet shoal
#

just make sure its facing the right way so your door doesnt spin

#

since you are using cframe

plain ibex
#

@quiet shoal