-- 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)
COMMUNITY QUESTION
how would I fix I've remade it several times? '<eof>' line 64
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.

1 comment
Is filtering enabled?