Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Code Stops At A Point And Then Dosent Work?

Asked by 2 years ago
Edited 2 years ago

When I Run It At A Point It Stops

game.Players.LocalPlayer.Character:WaitForChild("Humanoid").Died:Connect(function()
    script.Parent.D.BackgroundTransparency = 0
    game.Players.LocalPlayer.Character:WaitForChild("Humanoid").WalkSpeed = 0
    game.Workspace.CurrentCamera.CameraType = 'Scriptable'
    game.Workspace.CurrentCamera:Interpolate(game.Workspace.CameraF.LFD.CFrame, game.Workspace.CameraF.FD.CFrame, 0.05)
    wait(1)
    for i = 1, 10  do
        script.Parent.D.BackgroundTransparency = script.Parent.D.BackgroundTransparency + 0.1
        wait()
    end -- after this no response it wont work while i placed it in the correct area or smthing
wait(1)
        for i = 1, 10  do
        script.Parent.D.BackgroundTransparency = script.Parent.D.BackgroundTransparency - 0.1
        wait()
    end
    wait(2)
    game.Workspace.CurrentCamera.CameraType = 'Custom'
    game.Players.LocalPlayer.Character:WaitForChild("Humanoid").WalkSpeed = 16
end)

1 answer

Log in to vote
0
Answered by 2 years ago

What did you see on the output?

0
nothing no output what so ever kidsteve923 139 — 2y
0
So there's some sort of bug in the code if there's no error in the output ThemadestDooges2 0 — 2y
Ad

Answer this question