Man my sanity is drained, Im trying to make this stupid code work but it doesnt work, AFTER 2 HOURS STILL NO FIX CAUSE OF THIS ONE LINE OF CODE THAT BLOCKING EVERY SINGLE THING!!
local ts = game.TweenService
print("hi")
local ti = TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0)
print("test again")
local hum = game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
print("do you work")
hum.Anchored = true -- THIS LINE STOPS THE CODE
print("what")
wait(2)
print("hm")
ts:Create(script.Parent.Beat, TweenInfo.new(6, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {ImageTransparency = 0.6}):Play()
ts:Create(script.Parent.Ded, ti, {TextTransparency = 0}):Play()
ts:Create(script.Parent.Ded.UIStroke, ti, {Transparency = 0}):Play()
task.wait(4)
ts:Create(script.Parent.Ded, ti, {TextTransparency = 1}):Play()
ts:Create(script.Parent.Ded.UIStroke, ti, {Transparency = 1}):Play()
wait(1)
ts:Create(script.Parent.Stu, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {TextTransparency = 0}):Play()
ts:Create(script.Parent.Stu.UIStroke, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {Transparency = 0}):Play()
wait(1)
ts:Create(script.Parent.Stu, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {TextColor3 = Color3.fromRGB(255, 0, 0)}):Play()
wait(3)
ts:Create(script.Parent.Stu, ti, {TextTransparency = 1}):Play()
ts:Create(script.Parent.Stu.UIStroke, ti, {Transparency = 1}):Play()
ts:Create(script.Parent.Beat, TweenInfo.new(0.1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {ImageTransparency = 0.4}):Play()
wait(0.1)
ts:Create(script.Parent.Beat, TweenInfo.new(0.1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {ImageTransparency = 0.6}):Play()
wait(0.1)
ts:Create(script.Parent.Beat, TweenInfo.new(0.1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {ImageTransparency = 0.4}):Play()
wait(0.1)
ts:Create(script.Parent.Beat, TweenInfo.new(0.1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {ImageTransparency = 0.6}):Play()
wait(0.1)
ts:Create(script.Parent.Beat, TweenInfo.new(0.1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {ImageTransparency = 1}):Play()
wait(2)
script.Parent.Headphones:TweenPosition(script.Parent.HeadphonesTO.Position, Enum.EasingDirection.Out, Enum.EasingStyle.Back, 1, true)
wait(0.3)
ts:Create(script.Parent.Beat2, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {ImageTransparency = 0.5}):Play()
ts:Create(script.Parent.HeadPhones2, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {ImageTransparency = 0}):Play()
wait(4)
ts:Create(script.Parent.Beat2, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {ImageTransparency = 1}):Play()
ts:Create(script.Parent.HeadPhones2, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {ImageTransparency = 1}):Play()
ts:Create(script.Parent.Headphones, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {TextTransparency = 1}):Play()
ts:Create(script.Parent.Headphones.UIStroke, TweenInfo.new(1, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {Transparency = 1}):Play()
wait(2)
local finaltween = ts:Create(script.Parent, TweenInfo.new(2, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false, 0), {BackgroundTransparency = 1})
finaltween:Play()
finaltween.Completed:Connect(function()
game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Anchored = false
end)
THAT LINE STOPS EVERY SINGLE LINE OF CODE BELOW
AND IF I TRY TO MAKE :Wait() THAT ALSO DOESNT WORK, “attempt to index nil with anchored” ERROR!!! AND IF I MAKE PLRADDED OR CHARADDED THEN THAT LINE DOESNT EVEN EXECUTE