UserInputService = game:GetService("UserInputService")
local Spawn1 = game.Workspace.SpawnLocation
UserInputService.InputBegan:Connect(function(input, GameProcessedEvent)
if input.KeyCode == Enum.KeyCode.A then
Spawn1.Position = Vector3.new(50,50,50)
end)
Hello! Well, this error has happened many times and I still do not know why two things:
- Why is there a syntax error at the parenthesis of the final "end**)**"?
- Would the script work if the syntax error disappeared?
Thank you, I am still a beginner!
