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

how would I fix I've remade it several times? '<eof>' line 64

-- Variables
local UIS = game:GetService('UserInputService')
local player = game.Players.LocalPlayer
local character = player.Character
local start = game.ServerStorage:GetChildren()
local torso = character.HumanoidRootPart
local mouse = player:GetMouse()
player = game.Players.LocalPlayer
tool = script.Parent.Parent.Parent.Yoru

--

--Debounce
lag = true
--
 
-- Animation

	
	--
	
--Charge
ButtonDown = true
--
if tool.Equipped:connect(function(mouse)  
	


if lag == false
	then return
end

UIS.InputBegan:connect(function(input)

if input.KeyCode == Enum.KeyCode.X then
ButtonDown = true	
	
	
end

while ButtonDown == true do
	
	start.Size = start.Size+Vector3.new(1,1,1)
	
	wait(.1)
end	
	

end)	
	

	
	
	
	UIS.InputEnded:connect(function(input)
	if input.Keycode == Enum.KeyCode.x then
		print'hi'
		ButtonDown = false
	end		
		
end)
end)







1 comment

0

Is filtering enabled?

1 answer

Format your spacing correctly so you can spot these errors. looks like the last line is unnecessary.

1 comment

0

I was about to down vote lmao

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