#i want to recreate a morph but i dont know how to do the light move left and right forever and the

1 messages · Page 1 of 1 (latest)

night sparrow
mossy crow
#

It's probably just a tween to rotate it

#

And loop

night sparrow
#

and thats thhe main problem

#

@mossy crow

mossy crow
#

Search up a tween tutorial

#

You need ur gui ur tweeninfo and what property u want to tween I think

night sparrow
#

cant even find a video

#

about a 2d billboardgui morph

mossy crow
#

Bro stop the 🧢

#

Just search tween service

#

That's not morphing

night sparrow
#

there is a tutorial

#

but

#

i need it as a morph

#

so when the player touch the morph button

#

the tweenservice should work

#

and i already tried a tutorial

#

and it doesnt work for some reasonj

mossy crow
#

Then just enable the gui when the player touches that part and if it touches the other morphs parts then disable ur gui

#

What is ur script?

night sparrow
#

local TweenService = game:GetService("TweenService")

local Tween = TweenService:Create(game.Workspace.monst.Character.o, TweenInfo.new(1), {CFrame = game.Workspace.monst.Character.o.CFrame * CFrame.new(-5, 0, 0)})
Tween:Play()

twin lion
#

You only need a Tween service for the light tho

night sparrow
#

main problem is that i dont know scripting

twin lion
mossy crow
night sparrow
twin lion
night sparrow
twin lion
mossy crow
night sparrow
mossy crow
#

Any errors in output?

night sparrow
mossy crow
#

Is ur light a gui or part?

night sparrow
mossy crow
#

OMFG

night sparrow
twin lion
mossy crow
#

There is no CFrame for that dumbie

night sparrow
twin lion
#

they are 2d

night sparrow
mossy crow
#

Tween ur image's rotation

night sparrow
#

should i make a another character but change it into the light and make the part tween

twin lion
#

there is no need for another character or part

mossy crow
night sparrow
prime egretBOT
#

studio** You are now Level 8! **studio

mossy crow
night sparrow
twin lion
#

Anyways i gotta go now. Ask Dani if you need help maybe he'll explain it to you

mossy crow
#

Get ur image label location and identify it. So like: local Image = ur image labels path

night sparrow
#

ok and where do i add the script into

mossy crow
night sparrow
#

no like in serverscriptservice or at the character

mossy crow
#

Identifiers usually go to the top

#

Local script in starter player

#

Oh or nvm actually server script

#

Cuz u want it to show for others as well

night sparrow
#

serverscriptservice

#

ok

#

yeah

#

also dont forget

#

when you touch the morph

#

the light should still loop even with the walkframes

#

and i want it to show for other too

mossy crow
#

Wdym by walk frames?

night sparrow
#

every 2d morph has a walkframe

mossy crow
#

What?

#

Ok idk what that is but it'll work

night sparrow
mossy crow
#

Oh U mean animation?

#

Just do the tween bro

night sparrow
#

but

#

will the tween for when the animation is running

mossy crow
#

JUST MAKE THE TWEEN

#

For Gods sake

night sparrow
#

ok fine

#

how should i start first

#

@mossy crow

mossy crow
#

local image = ur image path

#

local TS = game:GetService("TweenService")

night sparrow
#

alright i made it

#

now?

mossy crow
#

local tweeninfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)

night sparrow
#

done

mossy crow
#

local goal = {Rotation = how much u wanna rotate it}

night sparrow
#

just like in the video

mossy crow
#

And actually add ", -1, true" to ur tween info after easing direction

night sparrow
night sparrow
mossy crow
#

local tweenImage = TS:Create(image, tweeninfo, goal)

#

tweenImage:Play()

#

Show me ur script after this

night sparrow
#

local image = game.Workspace.monst.Character.o.ImageLabel
local TS = game:GetService("TweenService")
local tweeninfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
local goal = {Rotation = 1, -1, true}
local tweenImage = TS:Create(image, tweeninfo, goal)
tweenImage:Play()

mossy crow
#

Bro you should writr the -1, true to the tween info

#

Inside the tween info after easing direction

night sparrow
mossy crow
#

local tweeninfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, -1, true)
local goal = {Rotation = 45}

night sparrow
#

ooooohhhhh

#

alright

#

alright i did it

mossy crow
#

Try it now

#

Then

night sparrow
#

if it has any problems then tell me

#

also does it loops

#

@mossy crow

#

it works but

#

it only rotates on the right side

#

and the walkframes(aka animation) should rotate too

mossy crow
#

Ohh

night sparrow
#

also

#

at the top of the imagelabel

fallow wasp
night sparrow
#

it should be in place

mossy crow
#

Then so u wanna rotate the character image too

#

Right?

night sparrow
#

so if anyone equips the morph

#

the morph should rotate aswell

#

without the player rotating

mossy crow
#

Could u send a vid of the tween rn?

#

Do u want to flip the image or just rotate?

night sparrow
mossy crow
#

Oh yeah mb I forgot

#

Set the Rotate to 90 and add image.Rotation = -45 after local image = ...

night sparrow
#

can you make it as a script line

mossy crow
#

Bruh my fingers are crying I'm on phone rn. But OK

#

local image = game.Workspace.monst.Character.o.ImageLabel. image.Rotation = -45
local TS = game:GetService("TweenService")
local tweeninfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, -1, true)
local goal = {Rotation = 45}
local tweenImage = TS:Create(image, tweeninfo, goal)
tweenImage:Play()

night sparrow
#

ok ill copy and paste it

mossy crow
#

Oh wait rotation should stay 45

#

Mb

night sparrow
#

its ok

mossy crow
#

45 instead of 90

#

So is it working now? Like back and forth?

#

@night sparrow

#

I'ma have a shower rq now

night sparrow
night sparrow
#

local image = game.Workspace.monst.Character.o.y.Image.Rotation = -45
local TS = game:GetService("TweenService")
local tweeninfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, -1, true)
local goal = {Rotation = 45}
local tweenImage = TS:Create(image, tweeninfo, goal)
tweenImage:Play()

mossy crow
#

Bro wtf?

night sparrow
#

the imagelabel is y

mossy crow
#

image.Rotation = -45 should be in a new line

fallow wasp
night sparrow
mossy crow
mossy crow
night sparrow
#

alright

fallow wasp
# mossy crow Dw I'm done with it

i've seen this before, you'll be here for quite a while. this is to get one tween working once ... they've got a character morph to go yet which means swapping the player.character and applying this tween ... you'll be writing that for them too unfortunately

#

if you want to do that dont let me stop you tho dogepopcorn

mossy crow
#

Have Fun!

night sparrow
mossy crow
#

Nice

night sparrow
#

but it shouldnt bounce at the left side

fallow wasp
mossy crow
prime egretBOT
#

studio** You are now Level 16! **studio

mossy crow
night sparrow
#

like

mossy crow
#

Video maybe?

fallow wasp
#

anyway ima leave you to it since i don't have much constructive to say other than suggest learning to code, reading the docs, google, youtube tutorials etc, heck even ai should be able to help with this. good luck salute

mossy crow
night sparrow
fallow wasp
mossy crow
#

Oh I see ur problem

night sparrow
mossy crow
#

Try Enum.EasingDirection.InOut

night sparrow
#

and one more thing

#

the top shouldnt be moving

#

done

mossy crow
#

How's it now?

#

Wdym the top shouldn't be moving?

night sparrow
#

alright it isnt bouncing

night sparrow
#

and also it kinda waits a little bit on the left side and right side

mossy crow
#

Oh U can use Enum.EasingStyle.Sine for buttery smooth

#

I think

night sparrow
# mossy crow I think

cant you make the rotations slow and at the left side and right it should wait like 2 seconds

mossy crow
#

Oh ok you are going to need a new script then

#

So like u want it to stop on both sides for 2s?

night sparrow
#

just like the video

#

i think it doesnt use to stop on bothsides

#

i think the rotation should slow

#

can you do that?

#

@mossy crow

mossy crow
#

Oh u can just adjust the 1 to like 2 or 3

night sparrow
#

oh alright

#

alright i changed 1 and -1

mossy crow
#

local tweeninfo = TweenInfo.new(1, change this only

night sparrow
#

ok

mossy crow
#

So?

night sparrow
#

wait im testing

#

wait 3 is to slow

#

let me tes 2

novel harness
#

Hai

night sparrow
novel harness
#

Ur tryna recreate the anim with tween?

#

Ur using beams for the light right

night sparrow
#

then the tween should work when a player equips the 2d morph

novel harness
#

You don't need to make it work WHEN it gets equipped

#

Js disable the beam the animation can continue indefinetly

night sparrow
novel harness
#

?

#

Ur js recreating the tween not the light

#

?

night sparrow
#

i first recreate the tween on a image label

novel harness
#

I see

night sparrow
#

then when the player equips the morph

#

the tween should work even when the player equips the morph

novel harness
#

I see

#

Alr

#

I gtg

night sparrow
#

so the player can walk around with the 2d morph that got the tween

novel harness
#

Ok

night sparrow
#

@mossy crow

#

it freezed into one place for some reason

mossy crow
#

Lemme see ur script

night sparrow
prime egretBOT
#

studio** You are now Level 9! **studio

night sparrow
#

nvm i just did something wronh

mossy crow
#

So does it work?

#

As intended?

night sparrow
#

yes

#

now

#

the main problem is

#

the top of the image label aka the head should be in place

#

it shouldnt rotate the whole image label

#

the bottom should rotate left and right

mossy crow
#

Wdym?

night sparrow
#

let me find a example

mossy crow
#

Ok after that I gtg

night sparrow
#

like this but the top part shouldnt move

#

it should move but

night sparrow
#

@mossy crow

#

if you know what i mean

mossy crow
#

Idk but I think I know what u mean try setting ur image Labels anchor point to 0.5, 1

#

Or just try adjusting it

#

Idk exactly

night sparrow
#

the imagelabel is gone now

#

you can rest ill ask pyro fire

#

@fallow wasp

#

yo bro

#

can you help me

fallow wasp
night sparrow
fallow wasp
#

i will not be writing code for you

mossy crow
night sparrow
mossy crow
#

Just ask ai

fallow wasp
# night sparrow why

i've got enough code to write as it is i dont need to your stuff on top of that, i mostly just give general advice and techniques

#

-# not to mention, code aint free, i guess this is news for you

#

anyway i suggest you defer to ai

night sparrow
fallow wasp
#

i don't recommend it in most situations, but there are the occasional few where ai can do it.

mossy crow
#

Chat gpt 100% roblox ai suxks

fallow wasp
fallow wasp
mossy crow
night sparrow
#

then ill see what i can do

fallow wasp
#

since they all have training data from lua in general and roblox devforum+docs

night sparrow
#

@novel harness

#

ill just ask a friend

#

i can do that

mossy crow
#

Gn guys! 🫂 💤

night sparrow
fallow wasp
mossy crow
#

Wow, good morning!

fallow wasp
#

... and throughout all of it refused to consider doing anything (such as, y'know, learning how to code), instead opting to repeatedly beg for code.

#

wHeRe dO i PuT tHaT

#

... they still haven't made any real progress on their first ever tween.

fallow wasp
# brave peak

that should get you up to speed on the past 280+ messages 👍

brave peak
novel harness
#

Wha

prime egretBOT
#

studio** You are now Level 1! **studio

novel harness
#

Wh

#

Hi