#Tween Doesn't Work

74 messages · Page 1 of 1 (latest)

low seal
#

local TweenService = game:GetService("TweenService")

local TweenInfos = TweenInfo.new(
    1, 
    Enum.EasingStyle.Linear, 
    Enum.EasingDirection.Out, 
    1, 
    true, 
    3 
)

local Tween
local goal = {}

goal.Position = Vector3.new(OpenDoorPosition) -- this is a part above the door for it to move to
Tween = TweenService:Create(PromptObject.Parent, TweenInfos, goal)
Tween:Play()
#

it just doesn't work

#

nothing happens

#

i just want the part to move up

#

ITS JUST A PART

#

i have no idea why it ain't working

#

😐

worldly glacier
#

What is the open door position

#

Make sure it isn’t the position you alread have

#

At*

low seal
#

PromptObject is just the proximityprompt

#

i really just want the part to move up 12 studs

#

thats it

#

fixed it

#
    local tweenGoal = {Position = PromptObject.Parent.Position + Vector3.new(0, 8,0)}
    local tween = TweenService:Create(PromptObject.Parent,tweenInfo,tweenGoal)
    tween:Play()
#

I think I found a better way at determining a players distance from a part than using magnitude

#

Use the proximitypromptservice's promptshown (set the proximityprompt distance to whatever distance you want). Then have a local script that checks whenever it is shown and run a remoteevent.

low seal
#

it does

#

and you can also use prompthidden to check when they walk away

#

this is revolutionary

#

fuck magnitude

#

i hate it

#

this is wayy easier

#

wait how can i make sure the door goes to exactly that point

worldly glacier
#

Tween does that

low seal
#

like instead of relatively 8 studs higher

worldly glacier
low seal
#

cause like if a player runs back and forth it will mess the tweening up since its relative

#

nvm

worldly glacier
glacial sand
#

i forgot the name

low seal
#

I’m not copying any game

#

Also how could it look similar to anything

#

It’s barebones

#

The door sound is from SCP if you are thinking of that

narrow ginkgo
#

No u

low seal
#

I have your exact coordinates, say you’re sorry or I will have your house teleported to the void.

narrow ginkgo
#

I will steal ur bike

low seal
#

I’ll take one of your kidneys

glacial sand
#

Half Dead

#

thats the game

low seal
#

Wdym

#

Half dead

low seal
#

Ohhh

#

I know what it is

glacial sand
#

looks like you're making something similar

low seal
#

How did you get that from a single video with no context

#

The floor colors?

glacial sand
#

idk

#

yeah

#

that

#

that's what it was

low seal
#

Well I guess it is very similar

#

I’m making minesweeper

#

In roblox

glacial sand
#

oh

#

fp minesweeper

low seal
#

Yes

#

It’s gonna be crazy cool to script the bomb system

#

Basically you have a grid of 0s.

#

You place random bombs.

glacial sand
#

you can add a beeper as a game pass

low seal
#

Each bomb will increase the values around it by 1

#

Well it’s minesweeper so it’s totally skill based

#

Maybe I’ll add second chance

#

Or different map styles