#Bobble Head not Bobblin'

18 messages · Page 1 of 1 (latest)

nocturne escarp
#

Hey everyone so,
Im making a bobble head and whenever you click the bobble it will bobble the head, pretty straight forward right?
Im using tweens to bobble the head.

local tweenService = game:GetService("TweenService")
local tweenInfo = TweenInfo.new(0.2,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false,0)

game.ReplicatedStorage.BobbleHead.OnClientEvent:Connect(function(bobble)
    local head = bobble.Head
    
    for i = 1, 1 do
        local tweenLeft = tweenService:Create(head,tweenInfo,{CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(-11.25))})
        tweenLeft:Play()
        print(tweenLeft.PlaybackState)
    end
end)

Thats a client script located in StarterPlayerScripts, I confirmed that the RemoteEvent does fire and the client does recieve it. Theres no errors, and it does say that the tween plays, but nothing happens visually.

opal dove
#

mhmmmmmmmm

lament stagBOT
#

studio** You are now Level 11! **studio

opal dove
#

the head will not bobble if its in a character

nocturne escarp
#

oh

opal dove
#

plus

nocturne escarp
#

should i just animate it?

opal dove
#

i dont think that you can um

#

i dont think that you can transport object values from server to client

#

or client to server

nocturne escarp
#

it did transport tho

opal dove
opal dove
nocturne escarp
#

yea ill animate it

opal dove
#

animate it

rare flower
#

uhhh

opal dove
#

why did u even add that