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

Why is my game stuck in Edit mode?

My game is stuck in edit mode. If you don't know what I'm talking about play my game. It is really weird and none of the guis show up either. How do you fix this?

game.Players.PlayerAdded:connect(function()
	while wait(100) do
		local name = Instance.new("Model")
		name.Parent = game.Players.LocalPlayer.Character
		local human = Instance.new("Humanoid")
		human.Parent = name
		local head = Instance.new("Part")
		head.Parent = name
		-- That was just setting the parents
		name.Name = ""..game.StarterGui.ClickGui.TextLabel.Number.Value
		human.MaxHealth = 0
	end
end)

1 answer

It's not edit mode, what is happening is that the Player's character isn't being loaded, so the Parent is nil. Are there any scripts interfering with the spawning/loading of a Player or its character?

3 comments

0

Oh yeah. There is a script that is supposed to be like RAP but for the number of clicks you have in game and it is supposed to be on top of your head. And it messes around with the character.

0

I will put the script for the RAP above.

0

Can you fix this script. THe RAP is supposed to be like the RAP in trade hangout.

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