#e

1 messages · Page 1 of 1 (latest)

slate sun
#

why tf does my script thinks that head and torso do NOT exists and errors that orientation is not part of them🤯

slate sun
#

local Part = script.Parent["Head"]
local TweenService = game:GetService("TweenService")

local TweenInfos = TweenInfo.new(.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0)
local Tween1 = TweenService:Create(Part, TweenInfos, {Position = workspace.Sprite1["Left Leg"].Position, Orientation = workspace.Sprite1["Left Leg"].Orientation})
local Tween2 = TweenService:Create(Part, TweenInfos, {Position = workspace.Sprite2["Left Leg"].Position, Orientation = workspace.Sprite2["Left Leg"].Orientation})
local Tween3 = TweenService:Create(Part, TweenInfos, {Position = workspace.Sprite3["Left Leg"].Position, Orientation = workspace.Sprite3["Left Leg"].Orientation})

wait()
Tween1:Play()
Tween1.Completed:Wait()

Tween2:Play()
Tween2.Completed:Wait()
Tween3:Play()
Tween3.Completed:Wait()
#

hold on

#

wrong code

#

local Part = script.Parent:WaitForChild("Torso")
local TweenService = game:GetService("TweenService")
local TweenInfos = TweenInfo.new(.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0)
local Tween1 = TweenService:Create(Part, TweenInfos, {Position = workspace.Sprite1.Torso.Position, Orientation = workspace.Sprite1.Torso.CFrame.Rotation})
local Tween2 = TweenService:Create(Part, TweenInfos, {Position = workspace.Sprite2.Torso.Position, Orientation = workspace.Sprite2.Torso.CFrame.Rotation})
local Tween3 = TweenService:Create(Part, TweenInfos, {Position = workspace.Sprite3.Torso.Position, Orientation = workspace.Sprite3.Torso.CFrame.Rotation})

wait()
Tween1:Play()
Tween1.Completed:Wait()

Tween2:Play()
Tween2.Completed:Wait()
Tween3:Play()
Tween3.Completed:Wait()
#

i putted head there to test if i was crazy

slate sun
#

and when its left leg or anything except head or torso it says its an part

slate sun
full ruin
#

like the character model?

slate sun
#

ye

full ruin
#

so it puts an infinate yield warn in the output?

#

infinite*

slate sun
#

no

full ruin
#

then whats in ur output

slate sun
full ruin
#

bingo

#

, Orientation = workspace.Sprite1.Torso.CFrame.Rotation})

#

there is no 'rotation'

slate sun
#

its bc i used that when it first outputed

full ruin
#

wait nbm

#

instead try

#

, Orientation = workspace.Sprite1.Torso.Orientation})

#

since u wrot orientation =

slate sun
#

that was the same thing when it first outputed

full ruin
slate sun
# full ruin this is the code ur using? i dont see any 'head' in this

local Part = script.Parent:WaitForChild("Head")
local TweenService = game:GetService("TweenService")

local TweenInfos = TweenInfo.new(.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 0)
local Tween1 = TweenService:Create(Part, TweenInfos, {Position = workspace.Sprite1.Head.Position, Orientation = workspace.Sprite1.Head.Orientation})
local Tween2 = TweenService:Create(Part, TweenInfos, {Position = workspace.Sprite2.Head.Position, Orientation = workspace.Sprite2.Head.Orientation})
local Tween3 = TweenService:Create(Part, TweenInfos, {Position = workspace.Sprite3.Head.Position, Orientation = workspace.Sprite3.Head.Orientation})
local Tween4 = TweenService:Create(Part, TweenInfos, {Position = workspace.Sprite1.Head1.Position, Orientation = workspace.Sprite1.Head1.Orientation})
wait()
workspace["Maxdef"]:Play()
workspace["Desolate_Underworld2.mp3"]:Stop()
Tween1:Play()
Tween1.Completed:Wait()
Tween4:Play()
Tween1.Completed:Wait()
Tween2:Play()
Tween2.Completed:Wait()
Tween3:Play()

full ruin
#

is this an r6?

slate sun
#

yes

#

btw it wasnt like that before

#

it functioned normally then out of nowhere it started to bug

#

wrong thing

#

this

#

go at the end of the video

#

not the very end

#

see

#

and when i try the torso and head js stay there

full ruin
#

i do not know the problem with this

#

mind sending a screenshot of everything inside the sprite model?

slate sun
#

the sprites

full ruin
#

no like the children in studio

slate sun
full ruin
#

im sorry idk how to fix this!

#

try asking one of the pro scripters

slate sun
#

beuh

slate sun
raw notch
#

or is head still not existing

#

cuz u need to set the CFrame property instead of orientation

raw notch
#

instead of {Position = ..., Orientation = ...}

#

@slate sun

cobalt spoke
#

what drastic said

desert root
safe lake
slate sun
slate sun
slate sun
#

I'm so fucking stupid dude

#

i realized the scripts have the same names

#

all that fixing for an small error

raw notch
slate sun