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 3 years ago
Edited 3 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 3 years ago

What did you see on the output?

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

Answer this question