Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Code Stops At A Point And Then Dosent Work?

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

What did you see on the output?

2 comments

0

nothing no output what so ever

0

So there's some sort of bug in the code if there's no error in the output

This discussion is preserved as it was. New answers, comments, and votes are closed.