of     1   

lavasuper90
#223587137Sunday, August 13, 2017 4:50 AM GMT

1 local TweenService = game.GetService("TweenService") 2 local door1 = script.Parent:WaitForChild("Door1") 3 local tweeningInformation = TweenInfo.new( 4 0.5, 5 Enum.EasingStyle.Linear, 6 Enum.EasingDirection.In, 7 0, 8 false, 9 0 10 ) 11 local door1Open = (CFrame = CFrame.new(8.5, -7.5, -20248.5)) 12 lo#####o########## (CFrame = CFrame.new(8.5, 7.5, -20248.5)) 13 local tween1open = TweenService:Create(door1,tweeningInformation,door1Open) 14 local tween1close = Tw#########################################################15 16 script.Parent.Detector1.Touched:Connect(function(hit) 17 tween1open:Play() 18 wait(5) 19 tween1close:Play() 20 end) 21 script.Parent.Detector2.Touched:Connect(function(hit) 22 tween1open:Play() 23 wait(5) 24 tween1close:Play() 25 end) Ok so I took this idea from AlvinBLOX, and every time he uses that CFrame it somehow works. Though when I use the CFrame = CFrame (line 11), it shows me a red line for equal (=) and I cant seem to figure out why that's happening. The model is a solo door (union, anchored, 4x15x5, collided, surrounded by a wall). Please help me figure out why my door won't go below the baseplate. PS: Dont mind the location Ik its weird but it's only because there was a water block that we couldn't delete...
BunnyBoy26
#223587500Sunday, August 13, 2017 4:59 AM GMT

Use curly braces {} on the outside instead of parentheses.
Moribash
#223587517Sunday, August 13, 2017 5:00 AM GMT

I didn't bother to read the script, but based on your explination try using ==
lavasuper90
#223859821Friday, August 18, 2017 7:08 AM GMT

I've done that but the code still acted like I didn't do anything to it, it seemed very annoying because there's no problem shown in the breakpoints.
JDLENL
#223859886Friday, August 18, 2017 7:10 AM GMT

11 local door1Open = {CFrame = ############### ##### ########## ## ##### ########## = {CFrame = CFrame.new(8.5, 7.5, -20248.5)} the final parameter of Create() needs to be a dictionary.

    of     1